% -*- Mode: TeX -*- \ifx\thisfileis\anUndefinedMacro\input maybeload \fi \thisfileis{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?