Skip to content

Commit

Permalink
docs: Do not document the 'dots' pattern fill for rough boxes
Browse files Browse the repository at this point in the history
It might have a bug (though I don't see it when printing the
graphics path out), or just be too demanding: from time to time
it crashes my PDF viewer.
  • Loading branch information
Omikhleia authored and Didier Willis committed Feb 5, 2024
1 parent c885043 commit cf31e54
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packages/framebox/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -352,16 +352,15 @@ For instance, here is a single-stroked \roughbox[bordercolor=#59b24c, singlestro
and a cross-hatched \roughbox[border=false, fillcolor=#ecebbd, fillstyle=cross-hatch]{rough box.}
The last example also shows the \autodoc:parameter{fillstyle} option (defaults to “hachure”).
It can also be set to “solid”, “zigzag”, “cross-hatch”, “dashed”, “zigzag-line” or “dots”.
It can also be set to “solid”, “zigzag”, “cross-hatch”, “dashed” or “zigzag-line”.
\smallskip
\roughbox[bordercolor=150, fillcolor=#bcc6d7, singlestroke=true]{Hachure,}\kern[width=0.8em]
\roughbox[bordercolor=150, fillcolor=#bcc6d7, singlestroke=true, fillstyle=solid]{solid,}\kern[width=0.8em]
\roughbox[bordercolor=150, fillcolor=#bcc6d7, singlestroke=true, fillstyle=zigzag]{zigzag,}\kern[width=0.8em]
\roughbox[bordercolor=150, fillcolor=#bcc6d7, singlestroke=true, fillstyle=cross-hatch]{cross-hatch,}\kern[width=0.8em]
\roughbox[bordercolor=150, fillcolor=#bcc6d7, singlestroke=true, fillstyle=dashed]{dashed,}\kern[width=0.8em]
\roughbox[bordercolor=150, fillcolor=#bcc6d7, singlestroke=true, fillstyle=zigzag-line]{zigag-line.}\kern[width=0.8em]
\roughbox[bordercolor=150, fillcolor=#bcc6d7, singlestroke=true, fillstyle=dots]{and dots.}
\roughbox[bordercolor=150, fillcolor=#bcc6d7, singlestroke=true, fillstyle=zigzag-line]{zigag-line.}
\smallskip
The border width is actually the stroke width, also used for the hachures, etc.
Expand Down

0 comments on commit cf31e54

Please sign in to comment.