summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/support/texcount/macros.tex
blob: b7f853f39adb2c87acf6e9d5871efccfb6464815 (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
46
47
48
%% LaTeX macros

% Set version number
\newcommand\version{$2.3$}

\newcommand\copyrightfootnote{
\footnotetext{Copyright (2008-2011) of Einar Andreas R{\o}dland, distributed
under the \LaTeX{} Project Public License (LPPL).}
}

%TC:macroword \TeXcount 1
\newcommand\TeXcount{{\TeX}count}

% Text formats
\newcommand\code[1]{\texttt{\small#1}}
\newcommand\bigcode[1]{\texttt{#1}}
\newcommand\codeline[1]{\begin{quote}\code{#1}\end{quote}}
\newcommand\bs[1]{\textbackslash#1}
\newcommand\URL[1]{\texttt{\small #1}}

%TC:macro NB 1
\newcommand\NB[1]{\marginpar{\textsf{\tiny#1}}}


\makeatletter

\renewcommand\@maketitle{%
\newpage\null\vskip 2em%
\begin{center}%
\let\footnote\thanks
{\LARGE \@title \par}%
\end{center}%
\par
\vskip 1.5em
}

\renewcommand\abstractname{ABSTRACT}
\renewenvironment{abstract}{%
  \begin{center}%
    {\bfseries\large\abstractname\vspace{-.5em}\vspace{\z@}}%
  \end{center}%
  \vskip 4pt
  \bfseries
}{
\vskip 0.5em
}

\makeatother