Debian Codegraph @

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