summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/support/texcount/macros.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/support/texcount/macros.tex')
-rw-r--r--Master/texmf-dist/doc/support/texcount/macros.tex39
1 files changed, 39 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/support/texcount/macros.tex b/Master/texmf-dist/doc/support/texcount/macros.tex
new file mode 100644
index 00000000000..09e304c736f
--- /dev/null
+++ b/Master/texmf-dist/doc/support/texcount/macros.tex
@@ -0,0 +1,39 @@
+%% LaTeX macros
+
+%TC:macroword \TeXcount 1
+\newcommand\TeXcount{{\TeX}count}
+
+\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