summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/parnotes/parnotes.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/parnotes/parnotes.tex')
-rw-r--r--Master/texmf-dist/doc/latex/parnotes/parnotes.tex73
1 files changed, 47 insertions, 26 deletions
diff --git a/Master/texmf-dist/doc/latex/parnotes/parnotes.tex b/Master/texmf-dist/doc/latex/parnotes/parnotes.tex
index 4d7964ac759..662dc1aa628 100644
--- a/Master/texmf-dist/doc/latex/parnotes/parnotes.tex
+++ b/Master/texmf-dist/doc/latex/parnotes/parnotes.tex
@@ -1,19 +1,28 @@
+
+%!TEX program = lualatex
+
\documentclass[10pt]{article}
-\usepackage[USenglish,english]{babel}
-\selectlanguage{USenglish}
-\usepackage[no-math]{fontspec}
-\defaultfontfeatures{Ligatures=TeX}
-\def\MinionDefaults{%
- SizeFeatures = {
- {Size = -8.41, OpticalSize = 8, Numbers = Lining},
- {Size = 8.41-13.1, OpticalSize = 11},
- {Size = 13.1-20.0, OpticalSize = 19},
- {Size = 20.0-, OpticalSize = 72}},
- Numbers = {OldStyle,Monospaced}}
-\setmainfont[\MinionDefaults,
- BoldFont = {Minion Pro Semibold}]{Minion Pro}
-\setsansfont[Scale=MatchLowercase, BoldFont = {Myriad Pro Semibold}]{Myriad Pro}
-\setmonofont[Scale=MatchLowercase]{Consolas}
+%\usepackage[USenglish,english]{babel}
+\usepackage[USenglish]{babel}
+%\selectlanguage{USenglish}
+%\usepackage[no-math]{fontspec}
+\usepackage[oldstyle]{Alegreya}
+\usepackage[]{AlegreyaSans}
+\setmonofont[Scale=MatchLowercase]{IBM Plex Mono}
+
+%\defaultfontfeatures{Ligatures=TeX}
+%\def\MinionDefaults{%
+% SizeFeatures = {
+% {Size = -8.41, OpticalSize = 8, Numbers = Lining},
+% {Size = 8.41-13.1, OpticalSize = 11},
+% {Size = 13.1-20.0, OpticalSize = 19},
+% {Size = 20.0-, OpticalSize = 72}},
+% Numbers = {OldStyle,Monospaced}}
+%\setmainfont[\MinionDefaults,
+% BoldFont = {Minion Pro Semibold}]{Minion Pro}
+%\setsansfont[Scale=MatchLowercase, BoldFont = {Myriad Pro Semibold}]{Myriad Pro}
+%\setmonofont[Scale=MatchLowercase]{Consolas}
+
\usepackage{amsmath}
\usepackage{parnotes}
\usepackage{xcolor}
@@ -21,28 +30,32 @@
\hypersetup{allcolors=blue}
\usepackage{varwidth}
\usepackage{accsupp}
-\DeclareRobustCommand\squelch[1]{%
- \BeginAccSupp{method=plain,ActualText={}}#1\EndAccSupp{}}
-\def\squelchstyle{%
- \BeginAccSupp{method=plain,ActualText={}}%
- \aftergroup\aftersquelchstyle}
-\def\aftersquelchstyle{\EndAccSupp{}}
+
+%\DeclareRobustCommand\squelch[1]{%
+% \BeginAccSupp{method=plain,ActualText={}}#1\EndAccSupp{}}
+%\def\squelchstyle{%
+% \BeginAccSupp{method=plain,ActualText={}}%
+% \aftergroup\aftersquelchstyle}
+%\def\aftersquelchstyle{\EndAccSupp{}}
+
\usepackage{fancyhdr}
\fancypagestyle{plain}{%
\fancyhf{}%
- \fancyfoot[C]{\squelch{\thepage}}%
+% \fancyfoot[C]{\squelch{\thepage}}%
+ \fancyfoot[C]{\thepage}%
\renewcommand{\headrulewidth}{0pt}%
\renewcommand{\footrulewidth}{0pt}%
}
\pagestyle{plain}
\usepackage{listings}
-\lstset{numbers=left,basicstyle={\small\ttfamily},numberstyle={\squelchstyle\color{gray}}}
+%\lstset{numbers=left,basicstyle={\small\ttfamily},numberstyle={\squelchstyle\color{gray}}}
+\lstset{numbers=left,basicstyle={\scriptsize\ttfamily},numberstyle={\color{gray}}}
\usepackage{booktabs}
\usepackage{microtype}
-\title{The \textsf{parnotes} package\parnote{This is rev.~3, last modified 8/15/2016.}}
-\author{Chelsea Hughes\parnote{See \texttt{parnotes.sty} for copyright and contact details.}}
-\date{August 15, 2016}
+\title{The \textsf{parnotes} package\parnote{This is rev.~3b, last modified 2019/07/23.}}
+\author{Chelsea Hughes\parnote{See \texttt{parnotes.sty} for copyright details. The package has currently no maintainer.}}
+\date{July 23, 2019}
\renewcommand{\parnotefmt}[1]{\centerline{\colorbox{black!10}{\parbox{0.82\textwidth}{\footnotesize\sffamily\noindent #1}}}}
@@ -104,8 +117,11 @@ The following options are provided:
\noindent\begin{tabbing}
\texttt{restart}\hspace{0.75in}\=Reset the parnote number each time parnotes are placed.\\
+\texttt{reset}\>Alias name for \texttt{restart} to match what other packages use.\\
\texttt{roman}\>Use lowercase Roman numerals instead of Arabic numerals for\\
\>parnote marks. Specify this if you mix parnotes with footnotes.\\
+\texttt{alph}\>Use lowercase alphabet characters instead.\\
+\texttt{symbol}\>Use footnote symbols instead instead.\\
\texttt{breakwithin}\>Place a line break after every parnote.\\
\texttt{indentafter}\>Allow indentation in the paragraph following a parnote.\\
\texttt{narrower}\>Give parnotes an increased margin, like block quotes.\\
@@ -189,6 +205,11 @@ instead, \verb+\narrower+ must be placed manually within the new definition for
\section{Changelog}
{\raggedright
+\noindent\textbf{Revision 3b, released on July 23, 2019 (Frank Mittelbach)}
+\begin{itemize}
+\item Added options \texttt{reset}, \texttt{alph} and \texttt{symbol}.
+\item Changed documentation to use feely available fonts only.
+\end{itemize}
\noindent\textbf{Revision 3, released on Aug 15, 2016}
\begin{itemize}
\item Bug fix: Use \verb+\protected@edef+ to expand the parnote counter (fixes incompatibility with \textsf{BiocStyle})