Debian Codegraph @

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

raw
1 % !TEX TS-program = lualatexmk
2 \def\zz{1}
3 \if1\zz\documentclass[11pt]{article}
4 \else\documentclass[11pt]{scrartcl}
5 \def\tt{\normalfont\ttfamily}
6 \fi
7 \usepackage{iftex}
8 \usepackage[margin=1.1in]{geometry}
9 \usepackage[parfill]{parskip}
10 \usepackage[p]{newpxtext}
11 %\usepackage{textcomp}
12 \usepackage[npx,supscolor=red!70!black]{superiors}
13 %\usepackage[uprightGreek]{newpxmath}
14 %\usepackage[perpage
15 %%,flushmargin
16 %]{footmisc}
17 \title{Footnote examples\footnote{with newpxtext}}
18 \author{Michael Sharpe\thanks{Thanks much.}}
19 \pagestyle{empty}
20 \begin{document}
21 %\traceon
22 \maketitle
23 %\traceoff
24 \thispagestyle{empty}
25 %In\footnote{Testing} this note...\textinf{12}
26 %
27 %X{\infstyle%\addfontfeatures{RawFeature=+subs}
28 %2}{\destyle4}
29 %X{\addfontfeatures{VerticalPosition=Denominator}2}
30
31 %X\textsuperscript{2}
32 %\end{document}
33
34 %\makeatletter
35 %{\sustyle8}\normalfont{\textsuperscript{8\textdagger}}In %
36 %{\addfontfeature{VerticalPosition=Superior}8\textdagger}\textdagger
37 %{\addfontfeature{RawFeature=+smcp}AzX}
38 %\makeatletter
39 %%\show\@makefntext
40 %\makeatother
41 %\traceon\textsuperscript{\textasteriskcentered} \traceoff
42
43 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.)\\
44
45 \centerline{\fbox{\begin{minipage}{4in}
46 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.)
47 \end{minipage}}
48 }
49 This footnote page snippet was prepared with {\tt lualatex} using the preamble:
50 \begin{verbatim}
51 \documentclass[11pt]{article}
52 \usepackage{trace}
53 \usepackage[margin=1.1in]{geometry}
54 \usepackage[parfill]{parskip}
55 \usepackage[p]{newpxtext} % larger sups figures
56 \usepackage[npx,supscolor=red!70!black]{superiors}
57 \title{Footnote examples\footnote{with newpxtext}}
58 \author{Michael Sharpe\thanks{Thanks much.}}
59 \end{verbatim}
60
61 %As the {\tt defaultsups} option was not specified, footnote markers were drawn from the superior symbols and figures in the text font.
62
63 %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.
64 % (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}.
65
66 \end{document}