summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/plain/gustlib/rbox-ex.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-01-12 23:46:46 +0000
committerKarl Berry <karl@freefriends.org>2006-01-12 23:46:46 +0000
commitb1c871653d37d9c6fd0f97b048dca051b5b1db27 (patch)
tree3f925e95aa3461b9ecb75df861259a7f71bc3f23 /Master/texmf-dist/tex/plain/gustlib/rbox-ex.tex
parent82770e7491344072d5dd54ce9a78546eebe99c3f (diff)
trunk/Master/texmf-dist/tex/plain
git-svn-id: svn://tug.org/texlive/trunk@621 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/plain/gustlib/rbox-ex.tex')
-rw-r--r--Master/texmf-dist/tex/plain/gustlib/rbox-ex.tex56
1 files changed, 56 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/plain/gustlib/rbox-ex.tex b/Master/texmf-dist/tex/plain/gustlib/rbox-ex.tex
new file mode 100644
index 00000000000..913f2a51b6e
--- /dev/null
+++ b/Master/texmf-dist/tex/plain/gustlib/rbox-ex.tex
@@ -0,0 +1,56 @@
+%% przyk/lad u/zycia ramek zaokr/aglonych | rounded frames example
+%% (opr. St. Wawrykiewicz)
+\input roundbox
+\def\bsl{{\tt\char'134}}
+\setcorners 2 %
+\roundbox width 9cm height 9cm {Some text}
+ % ramka o gr. linii 0.4pt | frame of 0.4pt thickness
+ % parametry: szer. i wys. {tekst} | parameters: width height {contents}
+ % tre/s/c umieszczona centralnie | the contents is centered in the frame
+ % w ramce |
+
+\def\\{\par}
+ % w parametrze makra nie mo/ze | in macro parameter \par or newline
+ % by/c \par b/ad/x wolnej linii!!! | is not allowed
+\Roundbox width 9cm {%ramka o gr. 0.8pt | 0.8pt thickness of the frame
+\vbox{\hsize=0.45\hsize \bf
+\parindent=0pt
+Some text in rounded frame, in the column of
+0.45 ({\tt \bsl hsize}).
+\\ \bigskip
+Next paragraph after {\tt\bsl bigskip}.
+All typeset in boldface.
+}}
+
+\vfill\eject
+\message{Next page}
+\roundbox width 9cm height 9cm {% %% wymiary ramki | frame dimensions
+\vbox to9cm{\hsize=9cm\parindent=0pt %% wymiary pude/lka| box dimensions
+ %% w ramce |
+\vss % \vss rozmieszcza tre/s/c
+\leftline{left} % r/ownomiernie
+\rightline{right} %
+\vss %
+\centerline{center} %
+\vss
+\leftline{left}
+\rightline{right}
+\vss}}
+
+\medskip
+
+\roundbox width 9cm height 9cm { % wymiary ramki | frame dimentions
+\vbox to9cm{\hsize=9cm\parindent=0pt % wymiary pude/lka | box dimentions
+\parskip=0pt
+Test of text. Test of text. Test of text. Test of text. Test of text.
+Test of text.\\
+\vbox to 3cm{%
+\vss
+\centerline{centered in 3cm height of space}
+\vss}
+Test of text. Test of text. Test of text. Test of text.
+Test of text. Test of text. Test of text. Test of text.
+Everything flushed from bottom.
+\vss}} % to w/la/snie dopych od do/lu!! |\vss flush from bottom
+
+\bye