mirror of
https://git.savannah.gnu.org/git/make.git
synced 2024-11-24 20:20:35 +00:00
(\dots, \enddots): Use current font instead of always using math italic.
This commit is contained in:
parent
57ba55d08c
commit
7585dedefc
1 changed files with 22 additions and 7 deletions
29
texinfo.tex
29
texinfo.tex
|
@ -441,14 +441,11 @@
|
|||
% @. is an end-of-sentence period.
|
||||
\def\.{.\spacefactor=3000 }
|
||||
|
||||
% @enddots{} is an end-of-sentence ellipsis.
|
||||
\gdef\enddots{$\mathinner{\ldotp\ldotp\ldotp\ldotp}$\spacefactor=3000}
|
||||
|
||||
% @! is an end-of-sentence bang.
|
||||
\gdef\!{!\spacefactor=3000 }
|
||||
\def\!{!\spacefactor=3000 }
|
||||
|
||||
% @? is an end-of-sentence query.
|
||||
\gdef\?{?\spacefactor=3000 }
|
||||
\def\?{?\spacefactor=3000 }
|
||||
|
||||
% @w prevents a word break. Without the \leavevmode, @w at the
|
||||
% beginning of a paragraph, when TeX is still in vertical mode, would
|
||||
|
@ -573,9 +570,27 @@ where each line of input produces a line of output.}
|
|||
|
||||
\let\br = \par
|
||||
|
||||
% @dots{} output some dots
|
||||
% @dots{} output an ellipsis using the current font.
|
||||
% We do .5em per period so that it has the same spacing in a typewriter
|
||||
% font as three actual period characters.
|
||||
%
|
||||
\def\dots{\hbox to 1.5em{%
|
||||
\hskip 0pt plus 0.25fil minus 0.25fil
|
||||
.\hss.\hss.%
|
||||
\hskip 0pt plus 0.5fil minus 0.5fil
|
||||
}}
|
||||
|
||||
% @enddots{} is an end-of-sentence ellipsis.
|
||||
%
|
||||
\def\enddots{%
|
||||
\hbox to 2em{%
|
||||
\hskip 0pt plus 0.25fil minus 0.25fil
|
||||
.\hss.\hss.\hss.%
|
||||
\hskip 0pt plus 0.5fil minus 0.5fil
|
||||
}%
|
||||
\spacefactor=3000
|
||||
}
|
||||
|
||||
\def\dots{$\ldots$}
|
||||
|
||||
% @page forces the start of a new page
|
||||
|
||||
|
|
Loading…
Reference in a new issue