由买买提看人间百态

topics

全部话题 - 话题: edef
(共0页)
T*******n
发帖数: 493
1
来自主题: TeX版 - questions about evironment

\z@ means the null length 0pt or the integer value 0
\@svsec is defined to be the current value of the section
counter (the integer value of "section" at the time the
\@svsec macro is defined using \edef), formatted according
to the definition of \thesection. If \def were used
instead of \edef, the value of "section" when the macro
\@svsec is executed is used.
small caps
c*******h
发帖数: 1096
2
来自主题: TeX版 - footnote doublespacing
hack了一段代码
放在preamble
若与文档其他部分冲突,概不负责。。
\makeatletter
\long\def\@footnotetext#1{%
\insert\footins{%
\def\baselinestretch{2}%
\reset@font\footnotesize
\interlinepenalty\interfootnotelinepenalty
\splittopskip\footnotesep
\splitmaxdepth \dp\strutbox \floatingpenalty \@MM
\hsize\columnwidth
\@parboxrestore
\protected@edef\@currentlabel{%
\csname p@footnote\endcsname\@thefnmark
}%
\color@begingroup
\vskip .5\baselineskip
\@makefntext{%
e******d
发帖数: 310
3
来自主题: TeX版 - questions about evironment
%interline spaceing and title font for section
\def\section{\@startsection {section}{1}{\z@}{20pt plus 2pt minus 2pt}
{10pt plus 1pt minus 1pt}{\centering\normalsize\sc
\edef\@svsec{\thesection.\ }}}
能否解释一下各行的含义, 以及一些command的含义,如
\z@,
\@svsec
\sc,
谢谢
(共0页)