summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/ragged2e/test2.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-07-30 21:15:18 +0000
committerKarl Berry <karl@freefriends.org>2019-07-30 21:15:18 +0000
commite218d5026eb23c6fc1d9d81852c31de2f771bee1 (patch)
tree32077dfd4f9b025a9e101be5ca3bb0c820e79f30 /Master/texmf-dist/doc/latex/ragged2e/test2.tex
parent161fbf358154d8331102533f2502b0142508311c (diff)
ragged2e (30jul19)
git-svn-id: svn://tug.org/texlive/trunk@51780 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/ragged2e/test2.tex')
-rw-r--r--Master/texmf-dist/doc/latex/ragged2e/test2.tex61
1 files changed, 61 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/ragged2e/test2.tex b/Master/texmf-dist/doc/latex/ragged2e/test2.tex
new file mode 100644
index 00000000000..82c6c6590c6
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/ragged2e/test2.tex
@@ -0,0 +1,61 @@
+\nofiles
+\documentclass{article}
+
+\newcommand*{\Test}[1]{%
+ #1\\
+ \rmfamily
+ ``The purpose of this pronunciation exercise is to remind you that
+ \TeX{} is primarily concerned with high-quality technical
+ manuscripts: Its emphasis is on art and technology, as in the
+ underlying Greek word.
+ If you merely want to produce a passably good document ---
+ something acceptable and bascially readable but not really
+ beautiful --- a simpler system will usually suffice.
+ With \TeX{} the goal is to produce the \textsl{finest} quality:
+ this requires more attention to detail, but you will not find it
+ much harder to go the extra distance, and you'll be able to take
+ special pride in the finished product.''\par
+ \ttfamily
+ ``The purpose of this pronunciation exercise is to remind you that
+ \TeX{} is primarily concerned with high-quality technical
+ manuscripts: Its emphasis is on art and technology, as in the
+ underlying Greek word.
+ If you merely want to produce a passably good document ---
+ something acceptable and bascially readable but not really
+ beautiful --- a simpler system will usually suffice.
+ With \TeX{} the goal is to produce the \textsl{finest} quality:
+ this requires more attention to detail, but you will not find it
+ much harder to go the extra distance, and you'll be able to take
+ special pride in the finished product.''\par
+ \medskip
+ }
+\usepackage{multicol}
+\setcounter{collectmore}{2}
+\setcounter{columnbadness}{5000}
+
+\pagestyle{empty}
+
+\usepackage[OriginalParameters]{ragged2e}
+
+\begin{document}
+\begin{multicols}{3}
+\fussy
+{\centering\Test{centering}}
+{\Centering\Test{Centering}}
+\newpage
+{\raggedleft\Test{raggedleft}}
+{\RaggedLeft\Test{RaggedLeft}}
+\newpage
+{\raggedright\Test{raggedright}}
+{\RaggedRight\Test{RaggedRight}}
+\newpage
+\begin{center}\Test{center}\end{center}
+\begin{Center}\Test{Center}\end{Center}
+\newpage
+\begin{flushleft}\Test{flushleft}\end{flushleft}
+\begin{FlushLeft}\Test{FlushLeft}\end{FlushLeft}
+\newpage
+\begin{flushright}\Test{flushright}\end{flushright}
+\begin{FlushRight}\Test{Flushright}\end{FlushRight}
+\end{multicols}
+\end{document}