summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/fnpct/fnpct-manual.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/fnpct/fnpct-manual.tex')
-rw-r--r--macros/latex/contrib/fnpct/fnpct-manual.tex29
1 files changed, 28 insertions, 1 deletions
diff --git a/macros/latex/contrib/fnpct/fnpct-manual.tex b/macros/latex/contrib/fnpct/fnpct-manual.tex
index ceebe632fc..99968777c7 100644
--- a/macros/latex/contrib/fnpct/fnpct-manual.tex
+++ b/macros/latex/contrib/fnpct/fnpct-manual.tex
@@ -105,7 +105,8 @@ full stop. Additional punctuation marks can be added to the switching
behavior and the amount of kerning can be set for each punctuation mark
individually. This behavior can also be turned off.
-\subsection{Basics}
+\subsection{New Behavior of \cs*{footnote}}
+\subsubsection{Interaction With Punctuation}
The \fnpct\ package basically does two things to footnotes:
\begin{itemize}
\item if footnote marks are followed by a comma or a full stop\footnote{More
@@ -163,6 +164,20 @@ amount specified with the option \option{before-punct-space}.
\caption{The effect of \fnpct.}\label{fig:effects}
\end{figure}
+\subsubsection{Space Before Footnotes}\label{sec:space-before}
+\fnpct\sinceversion{1.1} tries to help you in one more way: it removes a
+possible space before a footnote command:
+
+\begin{example}
+ The three little pigs built their houses out of straw \footnote{not to be
+ confused with hay}, sticks \footnote{or lumber according to some sources}
+ and bricks \footnote{probably fired clay bricks}.
+\end{example}
+
+For this behavior it uses \pkg{biblatex}'s (or \pkg{csquotes}') command
+\cs{unspace} if available. Otherwise it defines the command for itself. This
+behavior can be turned off by an option.
+
\subsection{Temporarily disable (or enable) switching -- new syntax of the
\cs*{footnote} command}
One maybe want to put some footnote marks \emph{before} the punctuation and
@@ -209,6 +224,9 @@ In case you set \keyis{reverse}{true} the \sarg\ argument temporarily
Switches of \fnpct's mechanism.
\keybool{reverse}\Default{false}
This option reverses the behavior of starred and un-starred footnotes.
+ \keybool{unspace}\Default{true}
+ \sinceversion{1.1}This option turns the behavior described in
+ section~\ref{sec:space-before} off or on.
\keybool{ranges}\Default{false}
Activates ranges for multiple footnotes. This is not compatible with
\pkg{hyperref} and does not work for the marks of some packages.
@@ -356,6 +374,14 @@ reliable as it is now. For that reason it defined the following command:
confused with hay}, sticks\footnote{or lumber according to some sources}
and bricks\multfootnote{probably fired clay bricks;or something else}.
\end{example}
+\begin{options}
+ \keyval{mult-variant-prefix}{letters}\Default{mult}
+ \sinceversion{1.1}Determines how the variant commands created by the
+ \option{multiple} option are named. Choosing
+ \keyis{mult-variant-prefix}{m} would create \cs*{mfootnote} etc.\@ instead
+ of \cs{multfootnote}.
+\end{options}
+
This command splits its content at every occurrence of \code{;} and creates a
footnote for each. This delimiter can be changed:
\begin{options}
@@ -591,6 +617,7 @@ You could use another token for the star, though, if needed:
\IfNoValueTF{#2}
{#NOTE*{#4}}
{\IfNoValueTF{#3}{#NOTE*[#2]{#4}}{#NOTE*[#2][#3]{#4}}}%
+ }%
}
\end{sourcecode}
Testing showed no problems whatsoever but \fnpct\ does not adapt the command