diff options
author | Karl Berry <karl@freefriends.org> | 2010-03-21 23:23:02 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-03-21 23:23:02 +0000 |
commit | 7bf8c88cd07f473b84d7f83b490350d433fed142 (patch) | |
tree | fcb311bf32de3c6013d11a915593aae9c8f46ef0 /Master/texmf-dist/doc/latex/vruler/vruler-example.tex | |
parent | a0c03e537743699342dde67831b72841dc537037 (diff) |
vruler doc update (21mar10)
git-svn-id: svn://tug.org/texlive/trunk@17523 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/vruler/vruler-example.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/vruler/vruler-example.tex | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/vruler/vruler-example.tex b/Master/texmf-dist/doc/latex/vruler/vruler-example.tex new file mode 100644 index 00000000000..75569d1566d --- /dev/null +++ b/Master/texmf-dist/doc/latex/vruler/vruler-example.tex @@ -0,0 +1,34 @@ +% Application example, for the use of vruler.sty + +\documentclass[twoside]{article} +\usepackage{vruler} + \setlength{\textwidth}{2.5in} + \setlength{\oddsidemargin}{3cm} + \setlength{\evensidemargin}{6cm} + \overfullrule=0pt \parindent=0pt +\begin{document} +\advance\textwidth 3cm %2cm is better for plain TeX +\setvruler [][][][][][\textwidth] + This is a simple example, in which we have + placed vertical rulers on the left for + odd numbered pages and on the right for + even numbered pages. \newpage + + This is the second page and is thus an even + numbered page. Please see that the vertical + ruler is now on the right, and is approximately + of the same distance from the text margin as + the vertical ruler on the first page from + the left margin there. \newpage +\unsetvruler + The following pages, in fact only this page, will + not be appended with the vertical rulers.\newpage +\setvruler[][\rulercount] + This page will be added with the vertical ruler again. + Here the numbering marking of the vertical ruler picks + up where it was left. Nevertheless, we may start with + any new number. \newpage + + This is another page. Please see that both this and + the previous pages have vruler on the left side. +\end{document} |