如何用较小的字体写脚注?如何在脚注中写公式,并且字体大小与脚注正文相同?
例子:
\footnote{${}^1$}%
{\font\bigrm = cmr8 scaled \magstephalf {%
{\bigrm This gauge is always used .....etc....etc., %
so that we can write $h_{ij,j}\ (=h_{ij}k_j)\ =0$.%
}}}
脚注的字体还可以,但是中间的所有内容的$...$
字体/尺寸都与正文相同,这非常令人不快。
答案1
Plain TeX 没有提供更改脚注中字体大小的功能,因此必须手动进行更改。
这是一个例子,但您可能需要查看一些更高级别的宏包,例如 OPmac(与传统的纯 TeX 兼容)。
% borrow some code from manmac.tex
\catcode`@=11
\font\eightrm=cmr8 \font\sixrm=cmr6 %\font\fiverm=cmr5
\font\eighti=cmmi8 \font\sixi=cmmi6 %\font\fivei=cmmi5
\font\eightex=cmex8 \font\sixex=cmex7 at 6pt \font\fivex=cmex7 at 5pt
\font\eightsy=cmsy8 \font\sixsy=cmsy6 %\font\fivesy=cmsy5
\font\eightbf=cmbx8 \font\sixbf=cmbx6 %\font\fivebf=cmbx5
\font\eightsl=cmsl8
\font\eightit=cmti8
\font\eighttt=cmtt8
\font\sevenex=cmex7
\def\footnote#1{\edef\@sf{\spacefactor\the\spacefactor}#1\@sf
\insert\footins\bgroup\eightpoint
\interlinepenalty100 \let\par=\endgraf
\leftskip=\z@skip \rightskip=\z@skip
\splittopskip=10pt plus 1pt minus 1pt \floatingpenalty=20000
\smallskip\item{#1}\bgroup\strut\aftergroup\@foot\let\next}
\skip\footins=12pt plus 2pt minus 4pt % space added when footnote is present
%\count\footins=1000 % footnote magnification factor (1 to 1)
\dimen\footins=30pc % maximum footnotes per page
\newskip\ttglue
\def\tenpoint{\def\rm{\fam0\tenrm}%
\textfont0=\tenrm \scriptfont0=\sevenrm \scriptscriptfont0=\fiverm
\textfont1=\teni \scriptfont1=\seveni \scriptscriptfont1=\fivei
\textfont2=\tensy \scriptfont2=\sevensy \scriptscriptfont2=\fivesy
\textfont3=\tenex \scriptfont3=\sevenex \scriptscriptfont3=\fivex
\def\it{\fam\itfam\tenit}%
\textfont\itfam=\tenit
\def\sl{\fam\slfam\tensl}%
\textfont\slfam=\tensl
\def\bf{\fam\bffam\tenbf}%
\textfont\bffam=\tenbf \scriptfont\bffam=\sevenbf
\scriptscriptfont\bffam=\fivebf
\def\tt{\fam\ttfam\tentt}%
\textfont\ttfam=\tentt
\tt \ttglue=.5em plus.25em minus.15em
\normalbaselineskip=12pt
\def\MF{{\manual META}\-{\manual FONT}}%
\let\sc=\eightrm
\let\big=\tenbig
\setbox\strutbox=\hbox{\vrule height8.5pt depth3.5pt width\z@}%
\normalbaselines\rm}
\def\eightpoint{\def\rm{\fam0\eightrm}%
\textfont0=\eightrm \scriptfont0=\sixrm \scriptscriptfont0=\fiverm
\textfont1=\eighti \scriptfont1=\sixi \scriptscriptfont1=\fivei
\textfont2=\eightsy \scriptfont2=\sixsy \scriptscriptfont2=\fivesy
\textfont3=\eightex \scriptfont3=\sixex \scriptscriptfont3=\fivex
\def\it{\fam\itfam\eightit}%
\textfont\itfam=\eightit
\def\sl{\fam\slfam\eightsl}%
\textfont\slfam=\eightsl
\def\bf{\fam\bffam\eightbf}%
\textfont\bffam=\eightbf \scriptfont\bffam=\sixbf
\scriptscriptfont\bffam=\fivebf
\def\tt{\fam\ttfam\eighttt}%
\textfont\ttfam=\eighttt
\tt \ttglue=.5em plus.25em minus.15em
\normalbaselineskip=9pt
\def\MF{{\manual opqr}\-{\manual stuq}}%
\let\sc=\sixrm
\let\big=\eightbig
\setbox\strutbox=\hbox{\vrule height7pt depth2pt width\z@}%
\normalbaselines\rm}
\tenpoint
\catcode`@=12
\vsize=2cm % just for the example
Some text just to show the effect\footnote{${}^1$}{This gauge is always used so
that we can write $h_{ij,j}\ (=h_{ij}k_j)\ =0$.}
\bye