summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/superiors/doc/footsnippet1.tex
blob: 4ccb0e96bdf609436e56e31151ecf4ccd57eeb48 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
% !TEX TS-program = lualatexmk
\def\zz{1}
\if1\zz\documentclass[11pt]{article}  
\else\documentclass[11pt]{scrartcl}  
\def\tt{\normalfont\ttfamily}
\fi
\usepackage{iftex}
%\iftutex
%\else
%\pdfmapfile{=newtx.map}
%\fi
%\usepackage{trace}
\usepackage[margin=1.1in]{geometry}
\usepackage[parfill]{parskip}
\usepackage[newsu,%defaultsups,
p]{newtxtext}
%\usepackage{textcomp}
\usepackage[supscolor=red!70!black]{superiors}
%\usepackage[uprightGreek]{newpxmath}
%\usepackage[perpage
%%,flushmargin
%]{footmisc}
\title{Footnote examples\footnote{with newtxtext}}
\author{Michael Sharpe\thanks{Thanks much.}}
\pagestyle{empty}
\begin{document}
%\traceon
\maketitle
%\traceoff
\thispagestyle{empty}
%In\footnote{Testing} this note...\textinf{12}
%
%X{\infstyle%\addfontfeatures{RawFeature=+subs}
%2}{\destyle4}
%X{\addfontfeatures{VerticalPosition=Denominator}2}

%X\textsuperscript{2}
%\end{document}

%\makeatletter
%{\sustyle8}\normalfont{\textsuperscript{8\textdagger}}In %
%{\addfontfeature{VerticalPosition=Superior}8\textdagger}\textdagger  
%{\addfontfeature{RawFeature=+smcp}AzX}
%\makeatletter
%%\show\@makefntext
%\makeatother
%\traceon\textsuperscript{\textasteriskcentered} \traceoff

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.)\\

\centerline{\fbox{\begin{minipage}{4in}
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.)
\end{minipage}}
}
This footnote page snippet was prepared with {\tt lualatex} using the preamble:
\begin{verbatim}
\documentclass[11pt]{article}  
\usepackage{trace}
\usepackage[margin=1.1in]{geometry}
\usepackage[parfill]{parskip}
\usepackage[newsu,p]{newtxtext} % larger sups figures
\usepackage[supscolor=red!70!black]{superiors}
\title{Footnote examples\footnote{with newtxtext}}
\author{Michael Sharpe\thanks{Thanks much.}}
\end{verbatim}

%As the {\tt defaultsups} option was not specified, footnote markers were drawn from the superior symbols and figures in the text font.

%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.
% (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}.
 
\end{document}