Debian Codegraph @

texmf-dist/doc/latex/turnthepage/turnthepage.tex

raw
1 \documentclass[12pt,a4paper,twoside]{article}
2 \usepackage[protrusion,final,verbose]{microtype}
3 \usepackage[english]{turnthepage}
4 \makeindex
5 \usepackage[bookmarks=true,bookmarksnumbered=true,bookmarksopen=true,bookmarksopenlevel=1,%
6 breaklinks=true,colorlinks=true,final,menucolor=red,pdfauthor={Merciadri Luca},%
7 pdfkeywords={math},pdftitle={The turnthepage package},pdfsubject={(La)TeX},pdftoolbar=true]{hyperref}
8 \hypersetup{urlcolor=red,linkcolor=blue,citecolor=blue,colorlinks=true}
9
10 \providecommand{\etex}{$\epsilon$-\TeX}
11
12 \title{The \textbf{turnthepage} package}
13 \author{Luca Merciadri, Marc van Dongen, H.-Martin M\"unch}
14 \date{2024-11-15 v2.0a}
15 \begin{document}
16 \maketitle
17 \tableofcontents
18 \newpage
19 \section{Introduction}
20 On some exams' sheets, some professors or lecturers like to indicate to the reader that the `page' can be turned.
21 That avoids oversights to the student, thereby avoiding them cold sweat at the end of the exam, realizing that
22 there were other questions they needed to answer. One might implement a \LaTeX{} mechanism so that each odd page
23 (except the last one, if the last page is odd) displays a message to turn the page. This mechanism can also
24 be useful for different kinds of documents.
25
26 This package can thus be used for exams, or special documents printed `twoside'.
27
28 \section{General Use}
29
30 \subsection{Loading the Package}
31 The general method to \textit{load the package} is to use
32 \begin{center}
33 \begin{verbatim}
34 \usepackage[option]{turnthepage}
35 \end{verbatim}
36 \end{center}
37
38 \subsection{Available Options\label{subsec:ao}}
39 The \textit{following options are available}:
40 \begin{itemize}
41 \item \verb|short|: will display `/\ldots' at the bottom of each odd page, in its right corner, \index{\texttt{short}}
42 \item \verb|english|: will display `\textit{Turn the page.}' at the bottom of each odd page, in its right corner, \index{\texttt{english}}
43 \item \verb|francais|: will display `\textit{Tournez la page.}' at the bottom of each odd page, in its right corner, \index{\texttt{francais}}
44 \item \verb|nederlands|: will display `\textit{Sla de pagina om.}' at the bottom of each odd page, in its right corner, \index{\texttt{nederlands}}
45 \item \verb|deutsch|: will display `\textit{Bitte wenden.}' at the bottom of each odd page, in its right corner, \index{\texttt{deutsch}}
46 \end{itemize}
47 As the package calls \verb|\turnthepage| where it needs to be placed, you can define \verb|\turnthepage| as you want.
48 For example, if you want a more polite way to say it, you can use
49 \begin{verbatim}
50 \renewcommand{\turnthepage}{\itshape Turn the page please.}
51 \end{verbatim}
52 after the preamble.
53
54 The package automatically detects \etex\ and recent ($\geq$ 2024-06-01) \LaTeX-format versions and loads \verb|\turnpageetex|,
55 for older versions it loads \verb|\turnpagewoetex|, which does not even use \etex!
56
57 \section{Version History\label{sec:vh}}
58 \begin{enumerate}
59 \addtocounter{enumi}{-1}
60 \item \verb|v1.0|: The package is introduced to the \LaTeX{} world (happy new 2011 year!).
61 \item \verb|v1.1|: New options are added thanks to Mr. van Dongen's suggestions:
62 \verb|english| now replaces \verb|long|, and \verb|francais|, \verb|nederlands|, \verb|deutsch|
63 are implemented as translations of `Turn the page.' in French, Dutch, and German.
64 \item \verb|v1.2|: In \verb|v1.1|, setting page numbering to `arabic' lead to errors. As a result, Mr. Philipp Stephani
65 proposed to use \verb|zref-abspage| and \verb|zref-lastpage| at the place of \verb|lastpage|.
66 After some slight modifications, one can now use any page numbering style.
67 \item \verb|v1.3a|: Mx. H.-Martin M\"unch told me (Merciadri Luca) by personal communication that the package
68 cannot be used on all \LaTeX{} distributions, when they are not \etex{} capable. Fortunately,
69 they had previously implemented the \verb|pagesLTS| package, which does not rely on \etex.
70 It allowed them to write three files:
71 \begin{itemize}
72 \item \verb|turnpageetex|: old \verb|turnthepage|'s equivalent (using \etex),
73 \item \verb|turnpagewoetex|: old \verb|turnthepage|'s equivalent using \verb|pagesLTS|,
74 \item \verb|turnthepage|: main file.
75 \end{itemize}
76 The package now works for users who do not have \etex: when invoking \verb|turnthepage|,
77 the \verb|turnthepage| package decides to use either \verb|turnpageetex| or \verb|turnpagewoetex|
78 depending on \etex{} availability. It is also possible to use e.g. the \verb|turnpagewoetex| package
79 independently. You simply need to replace
80 \begin{verbatim}
81 \usepackage[option]{turnthepage}
82 \end{verbatim}
83 by
84 \begin{verbatim}
85 \usepackage[option]{turnpagewoetex}
86 \end{verbatim}
87 and the same remark applies for \verb|turnpageetex|. Many thanks go to Mx. Martin M\"unch for this, who also added info messages depending on the package's status so that the user is now more aware about what's going on.
88 \item \verb|v2.0a|: The \verb|pagesLTS| package has been renamed \verb|pageslts| and since version~2.0a requires \etex.
89 The necessary code from the old \verb|pagesLTS| has been merged into the \verb|\turnpagewoetex| package,
90 so that \verb|pagesLTS| (or \verb|pageslts|) is no longer required.
91 \verb|turnpageetex| now uses the commands provided by modern \LaTeX-formats.
92 \end{enumerate}
93
94 \section{Thanks}
95 Many thanks go to
96 \begin{itemize}
97 \item Marc van Dongen for his help at \cite{mvd1},
98 \item Martin M\"unch for their personal communications and their version of \verb|turnthepage| without \etex,
99 \item Philipp Stephani at \cite{ps}.
100 \end{itemize}
101
102 \section{Contact}
103 If you have any question concerning this package (limitations, bugs, \ldots),
104 please contact Luca Merciadri at
105 \href{mailto:[email protected]}{[email protected]}.
106 If Luca Merciadri is not reachable, try
107 \href{mailto:[email protected]}{Marc van Dongen at [email protected]} or
108 \href{mailto:[email protected]}{H.-Martin M\"unch at [email protected]}.
109 \newpage
110 \phantomsection
111 \makeatletter\@input@{\jobname.ind}\makeatother
112 \newpage
113 \section{References}
114 \nocite{*}
115 \bibliographystyle{siam}
116 \label{biblio}
117 \bibliography{turnthepage-bib}
118 \end{document}