blob: d119a3817687491e62e964f987777ac74efe7c16 (
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
|
% -*- Mode: TeX -*-
\ifx\thisfileis\anUndefinedMacro\input maybeload \fi
\thisfileis{<eb.tex.texlocal>etcetera} % abort loading if we're already loaded
% This file defines a few abbreviations for convenience.
% Usage:
% \sectref{foo-section} % if you have \label{foo-section} somewhere;
% % inserts a section symbol and the section
% % number
% blah blah~$\threedots$
% blah blah~$\fourdots$
% $x_1 \spdots x_n$ % for a string; dots at the bottom
% $x_1+\spcdots+x_n$ % for a sum or whatever; dots in the middle
% \etc.
% \ie.
% \eg.
% \cf.
% \ibid.
% \opcit.
% \etal.
%
\input redefine % from texlocal
% You may want to redefine \sectref as follows:
% \renewcommand{\sectref}{section~\ref}
%
\newcommand{\sectref}{\S\ref}
\newcommand{\threedots}{\nolinebreak[4]\mathinner{\ldotp\ldotp\ldotp}}
\newcommand{\fourdots}{\nolinebreak[4]\mathinner{\ldotp\ldotp\ldotp\ldotp}}
\newcommand{\spdots}{\;\ldots\;}
\newcommand{\spcdots}{\;\cdots\;}
\newdef\etc.{\mbox{\it etc.}}
\newdef\ie.{\mbox{\it i.e.}}
\newdef\eg.{\mbox{\it e.g.}}
\newdef\cf.{\mbox{\it cf.}}
\newdef\ibid.{\mbox{\it ibid.}}
\newdef\opcit.{\mbox{\it op. cit.}}
\newdef\etal.{\mbox{\it et al.}}
\newdef\vs.{\mbox{vs.}} % perhaps not italic?
|