feature request: possibility to remove dotted lines #10
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hey,
First of all thanks a lot for
chronos
, it helps me a lot to write my courses intypst
, and the examples are perfect.However, I was asking myself if there's a way to remove the dotted line when calling
_par("Participant")
.I'm using a mock partipant "Charlie" as follows to express an insecure channel where an eavesdropper could be, and the dotted lines are mixed with the messages "Alice" and "Bob" are exchanging, thus reducing readability.
Maybe there's a workaround without using a mock participant ? Or maybe adding such a feature (removing dotted lines) could make
chronos
even better.Here's the
typst
code snippet showcasing my problem, with a screenshot of the compiled result.If adding such a feature sounds interesting to you, I would be pleased to have a look to the source code of
chronos
in order to implement it, if you give me pointers.Otherwise, I'm curious about workarounds, as I didn't find a suitable one when looking at the examples.
Cheers,
Thank you for using chronos and taking the time to open this issue !
Removing the dotted line is indeed not currently possible
Hereunder are some workarounds (including yours)
I will also look into adding an option to either style the line or remove it entirely (shouldn't be too complex)
If you have any other questions or feel like a feature is missing, don't hesitate to open a new issue
With #11, you should now be able to completely hide the line by setting its stroke to
none
As mentioned in the PR, I plan on adding more control over styling by using CeTZ' builting styles system, but this should already do the trick for the example you provided
Reusing the previous example:
Or even nicer:
Wow, thank you so much ! That was fast :)
I managed to install the
dev
branch locally, and it works like charm.Good job !
Great, I'll close this issue then
I don't plan on making a new release just now though, as there are other things I'd like to add