Debian Codegraph @

texmf-dist/doc/latex/superiors/footsnippet4.tex

raw
1 % !TEX TS-program = lualatexmk
2 \def\zz{0}
3 \if1\zz\documentclass[11pt]{article}
4 \else\documentclass[11pt]{scrartcl}
5 \def\tt{\normalfont\ttfamily}
6 \fi
7 \usepackage{iftex}
8 %\iftutex
9 %\else
10 %\pdfmapfile{=newtx.map}
11 %\fi
12 %\usepackage{trace}
13 \usepackage[margin=1.1in]{geometry}
14 \usepackage[parfill]{parskip}
15 \usepackage[p]{newpx}
16 %\usepackage{textcomp}
17 \usepackage[npx,supscolor=red!70!black]{superiors}
18 \title{Footnote examples\footnote{with newpxtext}}
19 \author{Michael Sharpe\thanks{Thanks much.}}
20 \pagestyle{empty}
21 \begin{document}
22 %\traceon
23 \maketitle
24 %\traceoff
25 \thispagestyle{empty}
26 %In\footnote{Testing} this note...\textinf{12}
27 %
28 %X{\infstyle%\addfontfeatures{RawFeature=+subs}
29 %2}{\destyle4}
30 %X{\addfontfeatures{VerticalPosition=Denominator}2}
31
32 %X\textsuperscript{2}
33 %\end{document}
34
35 %\makeatletter
36 %{\sustyle8}\normalfont{\textsuperscript{8\textdagger}}In %
37 %{\addfontfeature{VerticalPosition=Superior}8\textdagger}\textdagger
38 %{\addfontfeature{RawFeature=+smcp}AzX}
39 %\makeatletter
40 %%\show\@makefntext
41 %\makeatother
42 %\traceon\textsuperscript{\textasteriskcentered} \traceoff
43
44 The standard LaTeX document classes {\tt article}, {\tt report} and {\tt book}, the macro \verb|\maketitle| \verb|\let|s \verb|\footnote| to \verb|\thanks| and footnote marks are taken from a specified list of symbols. (In the AMS classes\footnote{amsart, amsproc, amsbook} the title footnote marks will appear only in the footnote itself at the bottom of the page.)\\
45
46 \centerline{\fbox{\begin{minipage}{4in}
47 Footnotes after $\backslash$maketitle use by default numeric markers beginning at 1, in some form\footnote{Best not using scaled-down lining figures.} smaller than lining numbers. (Footnotes in minipages use lowercase letters\footnote{italic except in KOMA classes} as markers.)
48 \end{minipage}}
49 }
50 This footnote page snippet was prepared with {\tt lualatex} using the preamble:
51 \begin{verbatim}
52 \documentclass[11pt]{scrartcl}
53 \usepackage{trace}
54 \usepackage[margin=1.1in]{geometry}
55 \usepackage[parfill]{parskip}
56 \usepackage[p]{newpxtext}
57 \usepackage[npx,supscolor=red!70!black]{superiors}
58 \title{Footnote examples\footnote{with newpxtext}}
59 \author{Michael Sharpe\thanks{Thanks much.}}
60 \end{verbatim}
61
62 %As the {\tt defaultsups} option was not specified, footnote markers were drawn from the superior symbols and figures in the text font.
63
64 %By setting the options {\tt supscale} and {\tt supsraised}, the footnote markers were made a bit more prominent while keeping their tops about the same as without the options.
65 % (The superior numbers in this font have baseline at .350{\tt em} and top at .763{\tt em}. Scaling up by the factor 1.15 increases the top by 15\% of .763{\tt em} = .114{\tt em} and moves the baseline up to 1.15 \textasteriskcentered\ 350{\tt em} = 403{\tt em}.) It is not a good idea to use the {\tt supscolor} option if you are using {\tt hyperref}.
66
67 \end{document}