Skip to content

Commit

Permalink
doc: Add framebox-shadow example for path clipping
Browse files Browse the repository at this point in the history
It was forgotten when I implemented that feature #11
  • Loading branch information
Omikhleia authored and Didier Willis committed Jan 14, 2024
1 parent 42282e8 commit 05a1058
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions examples/framebox-shadow.sil
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
\begin[papersize=a5,class=plain]{document}
\neverindent
\nofolios
\use[module=packages.framebox]
\use[module=packages.background]
\language[main=en]
\font[family=Libertinus Serif, size=20pt]

\center{\font[weight=700]{Do Boxes Still Rock?}}

\bigskip

\background[color=antiquewhite]

\framebox{Lorem ipsum} \framebox[shadow=true]{Lorem ipsum} \framebox[shadow=true, borderwidth=0]{Lorem ipsum}

\framebox[fillcolor=pink]{Lorem ipsum} \framebox[fillcolor=pink, shadow=true]{Lorem ipsum} \framebox[fillcolor=pink, borderwidth=0, shadow=true]{Lorem ipsum}

\roundbox{Lorem ipsum} \roundbox[shadow=true]{Lorem ipsum} \roundbox[shadow=true, borderwidth=0]{Lorem ipsum}

\roundbox[fillcolor=pink]{Lorem ipsum} \roundbox[fillcolor=pink, shadow=true]{Lorem ipsum} \roundbox[fillcolor=pink, borderwidth=0, shadow=true]{Lorem ipsum}

\end{document}

0 comments on commit 05a1058

Please sign in to comment.