summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2011-12-18 23:05:31 +0000
committerKarl Berry <karl@freefriends.org>2011-12-18 23:05:31 +0000
commitba869cdd7651e89b0fc24a5f0555392369be2678 (patch)
treeb8ebf14d7c5bb4ec84d6975f93095322c68e7c83 /Master/texmf-dist/tex
parent675811396614fc0e05db547c2bde784807aa0b3d (diff)
chet
git-svn-id: svn://tug.org/texlive/trunk@24864 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/latex/chet/chet.sty88
1 files changed, 36 insertions, 52 deletions
diff --git a/Master/texmf-dist/tex/latex/chet/chet.sty b/Master/texmf-dist/tex/latex/chet/chet.sty
index bff7a35a392..d2fa5612e71 100644
--- a/Master/texmf-dist/tex/latex/chet/chet.sty
+++ b/Master/texmf-dist/tex/latex/chet/chet.sty
@@ -27,20 +27,20 @@
%% The original source files were:
%%
%% appendix.dtx (with options: `usc')
-%%
+%%
%% -----------------------------------------------------------------
%% Author: Peter Wilson, Herries Press
%% Maintainer: Will Robertson (will dot robertson at latex-project dot org)
%% Copyright 1998--2004 Peter R. Wilson
-%%
+%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either
%% version 1.3c of this license or (at your option) any
%% later version: <http://www.latex-project.org/lppl.txt>
-%%
+%%
%% This work has the LPPL maintenance status "maintained".
%% The Current Maintainer of this work is Will Robertson.
-%%
+%%
%% This work consists of the files listed in the README file.
%% -----------------------------------------------------------------
%%
@@ -338,7 +338,7 @@
\newcommand{\rcite}{\cite}
\newcommand{\rcitedraft}[1]{\cite{#1}$^{\normalfont\text{\textsf{#1}}}$}
-\newcommand{\draftmode}{\usepackage[notref,notcite]{showkeys}\renewcommand{\rcite}{\rcitedraft}}
+\newcommand{\draftmode}{\usepackage[notref,notcite]{showkeys}\renewcommand{\rcite}{\rcitedraft}\overfullrule=8pt}
\providecommand*\showkeyslabelformat[1]{\normalfont\sffamily\footnotesize#1}
% Table of contents formatting
@@ -402,28 +402,20 @@
{\subsubsection{#1}\label{#2}\expandafter\gdef\csname #2\endcsname{\ref{#2}\xspace}\ignorespaces}
}
-\makeatletter
-\renewcommand\section{\@startsection {section}{1}{\z@}%
-{-6ex \@plus -1ex \@minus -.2ex}%
-{2.3ex \@plus.2ex}%
+\renewcommand\section{\@startsection {section}{1}{\z@}%
+{-6ex \@plus -1ex \@minus -.2ex}%
+{2.3ex \@plus.2ex}%
{\bfseries}}
-\makeatother
-\makeatletter
\renewcommand\subsection{\@startsection{subsection}{2}{\z@}%
{-3.25ex\@plus -1ex \@minus -.2ex}%
{1.5ex \@plus .2ex}%
{\itshape}}
-\makeatother
-\makeatletter
\renewcommand\subsubsection{\@startsection{subsubsection}{3}{\z@}%
{-3.25ex\@plus -1ex \@minus -.2ex}%
{1.5ex \@plus .2ex}%
{\itshape}}
-\makeatother
% Dot after section number
-\makeatletter
-\def\@seccntformat#1{\csname the#1\endcsname.\hspace{4.6pt}}
-\makeatother
+\def\@seccntformat#1{\csname the#1\endcsname.\hspace{4.6pt}}
\renewcommand{\appendix}{\appendices}
@@ -471,45 +463,37 @@
\newcommand{\emails}[1]{\let\thefootnote\relax\footnotetext{{\texttt{#1}}}}
%Titlepage
-\makeatletter
- \renewcommand{\abstract}[1]{\def \@abstract {#1}}
- \newcommand{\affiliation}[1]{\def \@affiliation {#1}}
- \newcommand{\preprint}[1]{\def\@preprint {#1}}
- \abstract{}
- \affiliation{}
- \preprint{}
-\makeatother
-
-\makeatletter
-\def \maketitle {%
- \begin{titlepage}
- \begin{flushright}
- \@preprint
- \end{flushright}
- \vspace{2cm}
+\renewcommand{\abstract}[1]{\def \@abstract {#1}}
+\newcommand{\affiliation}[1]{\def \@affiliation {#1}}
+\newcommand{\preprint}[1]{\def\@preprint {#1}}
+\abstract{}
+\affiliation{}
+\preprint{}
+
+\def\maketitle{%
+ \begin{titlepage}
+ \begin{flushright}
+ \@preprint
+ \end{flushright}
+ \vspace{2cm}
\begin{center}
- {\Large\bfseries \@title}
-
- \bigskip\bigskip\bigskip
-
- \@author
-
- \bigskip
-
- \emph{\@affiliation}
-
- \end{center}
- \bigskip\bigskip
+ {\Large\bfseries \@title}
- \noindent\@abstract
+ \bigskip\bigskip\bigskip
+
+ \@author
+
+ \bigskip
- \vfill\vfill\vfill\vfill\vfill\vfill\vfill\vfill\vfill\vfill\vfill
- \vfill\vfill\vfill\vfill\vfill\vfill\vfill\vfill\vfill\vfill\vfill
-
- \noindent\@date
- \end{titlepage}
+ \emph{\@affiliation}
+ \end{center}
+ \bigskip\bigskip
+ \noindent\@abstract
+ \vfill\vfill\vfill\vfill\vfill\vfill\vfill\vfill\vfill\vfill\vfill
+ \vfill\vfill\vfill\vfill\vfill\vfill\vfill\vfill\vfill\vfill\vfill
+ \noindent\@date
+ \end{titlepage}
}
-\makeatother
\endinput
%