summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/ragged2e/test2.tex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/contrib/ragged2e/test2.tex
Initial commit
Diffstat (limited to 'macros/latex/contrib/ragged2e/test2.tex')
-rw-r--r--macros/latex/contrib/ragged2e/test2.tex61
1 files changed, 61 insertions, 0 deletions
diff --git a/macros/latex/contrib/ragged2e/test2.tex b/macros/latex/contrib/ragged2e/test2.tex
new file mode 100644
index 0000000000..82c6c6590c
--- /dev/null
+++ b/macros/latex/contrib/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}