summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/tagpair/sample.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2015-05-14 21:26:34 +0000
committerKarl Berry <karl@freefriends.org>2015-05-14 21:26:34 +0000
commitb838c9c2b471f38d784e44638b063cc608894573 (patch)
tree213873c4335633cfe783d5aa40f042da6798ba68 /Master/texmf-dist/doc/latex/tagpair/sample.tex
parentc8bf4d6e3b7f242e8fe1b35af105823861abf303 (diff)
tagpair (14may15)
git-svn-id: svn://tug.org/texlive/trunk@37398 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/tagpair/sample.tex')
-rw-r--r--Master/texmf-dist/doc/latex/tagpair/sample.tex115
1 files changed, 115 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/tagpair/sample.tex b/Master/texmf-dist/doc/latex/tagpair/sample.tex
new file mode 100644
index 00000000000..fba1e56068e
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/tagpair/sample.tex
@@ -0,0 +1,115 @@
+\documentclass[a4paper]{ltxdoc}
+\usepackage{tagpair}
+\usepackage{hang}
+\usepackage[hidelinks]{hyperref}
+\usepackage{polyglossia}
+\setdefaultlanguage{english}
+\setotherlanguage{dutch}
+\setlength{\leftmargini}{2em}
+\frenchspacing
+\sloppy
+
+\begin{document}
+\title{Sample use of the \textsf{tagpair} package}
+\author{Andreas Nolda}
+\date{2015/05/14}
+\maketitle
+
+\section{Pairing lines}
+
+\begin{quote}
+\DescribeMacro{paringline}\begin{pairingline}
+\pairing{\textdutch{\textit{Dit}}}{this}
+\pairing{\textdutch{\textit{is}}}{is}
+\pairing{\textdutch{\textit{een}}}{a}
+\pairing{\textdutch{\textit{voorbeeldje}}}{little example}
+\pairing{\textdutch{\textit{in}}}{in}
+\pairing{\textdutch{\textit{het}}}{}
+\pairing{\textdutch{\textit{Nederlands.}}}{Dutch}
+\end{pairingline}
+\end{quote}
+
+\begin{quote}
+\DescribeMacro{paringline}\begin{pairingline}
+\pairing{\textdutch{\textit{Dit}}}{this}
+\pairing{\textdutch{\textit{is}}}{is}
+\pairing{\textdutch{\textit{een}}}{a}
+\pairing{\textdutch{\textit{voorbeeld.}}}{example}
+\pairing{\textdutch{\textit{Dit}}}{this}
+\pairing{\textdutch{\textit{is}}}{is}
+\pairing{\textdutch{\textit{een}}}{a}
+\pairing{\textdutch{\textit{lange}}}{long}
+\pairing{\textdutch{\textit{voorbeeld.}}}{example}
+\pairing{\textdutch{\textit{En}}}{and}
+\pairing{\textdutch{\textit{dit}}}{this}
+\pairing{\textdutch{\textit{is}}}{is}
+\pairing{\textdutch{\textit{een}}}{a}
+\pairing{\textdutch{\textit{zeer}}}{very}
+\pairing{\textdutch{\textit{lange}}}{long}
+\pairing{\textdutch{\textit{voorbeeld.}}}{example}
+\end{pairingline}
+\end{quote}
+
+\section{Bottom lines}
+
+\begin{quote}
+\textdutch{\textit{Dit is een voorbeeld.}}
+\bottomline{\DescribeMacro{\bottomline}`This is an example.'}
+\end{quote}
+
+\begin{quote}
+\textdutch{\textit{Dit is een voorbeeldje in het Nederlands.}}
+\bottomline{\DescribeMacro{\bottomline}`This is a short example in Dutch.'}
+\end{quote}
+
+\section{Tagged lines}
+
+\begin{quote}
+\DescribeMacro{taggedline}\begin{taggedline}{(Marcel R. van der Goot 1990)}
+\textdutch{\textit{Dit is een Nederlands voorbeeld.}}
+\end{taggedline}
+\end{quote}
+
+\begin{quote}
+\DescribeMacro{taggedline}\begin{taggedline}{(Marcel R. van der Goot 1990)}
+\textdutch{\textit{Dit is een voorbeeldje in het Nederlands.}}
+\end{taggedline}
+\end{quote}
+
+\section{Putting them all together}
+
+\begin{quote}
+\DescribeMacro{paringline}\DescribeMacro{taggedline}\begin{taggedline}{(my
+example)}
+\begin{pairingline}
+\pairing{\textdutch{\textit{Dit}}}{this}
+\pairing{\textdutch{\textit{is}}}{is}
+\pairing{\textdutch{\textit{een}}}{a}
+\pairing{\textdutch{\textit{voorbeeld.}}}{example}
+\end{pairingline}
+\bottomline{\DescribeMacro{\bottomline}`This is an example.'}
+\end{taggedline}
+\end{quote}
+
+\begin{quote}
+\DescribeMacro{paringline}\DescribeMacro{taggedline}\begin{taggedline}{(Marcel
+R. van der Goot 1990)}
+\begin{pairingline}
+\pairing{\textdutch{\textit{Dit}}}{this}
+\pairing{\textdutch{\textit{is}}}{is}
+\pairing{\textdutch{\textit{een}}}{a}
+\pairing{\textdutch{\textit{voorbeeldje}}}{little example}
+\pairing{\textdutch{\textit{in}}}{in}
+\pairing{\textdutch{\textit{het}}}{}
+\pairing{\textdutch{\textit{Nederlands.}}}{Dutch}
+\end{pairingline}
+\end{taggedline}
+\bottomline{\DescribeMacro{\bottomline}`This is a short example in Dutch.'}
+\end{quote}
+
+\section*{\refname}
+\begin{hangingpar}
+Marcel R. van der Goot (1990). Midnight Macros: \textsf{gloss.tex}.
+\url{http://mirrors.ctan.org/macros/generic/midnight/midnight.pdf}.
+\end{hangingpar}
+\end{document}