summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-10-13 23:36:15 +0000
committerKarl Berry <karl@freefriends.org>2010-10-13 23:36:15 +0000
commitee5fc07f2f888967948c2f70ea5f37eda3aeea4c (patch)
tree1b8d57eb06d604ecf8ff0d6354a0e645b890212f /Master/texmf-dist/doc/latex
parent1eb259f5d43280cf919c55a8cfb586f934fca662 (diff)
secdot own pkg (13oct10)
git-svn-id: svn://tug.org/texlive/trunk@20086 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex')
-rw-r--r--Master/texmf-dist/doc/latex/secdot/secdot.ltx79
-rw-r--r--Master/texmf-dist/doc/latex/secdot/secdot.pdfbin0 -> 255759 bytes
2 files changed, 79 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/secdot/secdot.ltx b/Master/texmf-dist/doc/latex/secdot/secdot.ltx
new file mode 100644
index 00000000000..87ed3f6d94d
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/secdot/secdot.ltx
@@ -0,0 +1,79 @@
+\documentclass[pagesize=auto, fontsize=12pt, DIV=10, parskip=half]{scrartcl}
+
+\usepackage{fixltx2e}
+\usepackage{etex}
+\usepackage{lmodern}
+\usepackage[T1]{fontenc}
+\usepackage{textcomp}
+\usepackage[svgnames]{xcolor}
+\usepackage{listings}
+\usepackage{microtype}
+\usepackage{hyperref}
+
+\newcommand*{\mail}[1]{\href{mailto:#1}{\texttt{#1}}}
+\newcommand*{\pkg}[1]{\textsf{#1}}
+\newcommand*{\cls}[1]{\textsf{#1}}
+\newcommand*{\cs}[1]{\texttt{\textbackslash#1}}
+\makeatletter
+\newcommand*{\cmd}[1]{\cs{\expandafter\@gobble\string#1}}
+\makeatother
+\newcommand*{\meta}[1]{\textlangle\textsl{#1}\textrangle}
+\newcommand*{\marg}[1]{\texttt{\{}\meta{#1}\texttt{\}}}
+
+\addtokomafont{title}{\rmfamily}
+
+\lstset{%
+ language=[LaTeX]TeX,%
+ columns=flexible,%
+ upquote=true,%
+ numbers=left,%
+ basicstyle=\ttfamily,%
+ keywordstyle=\color{Navy},%
+ commentstyle=\color{DimGray},%
+ stringstyle=\color{SeaGreen},%
+ numberstyle=\scriptsize\color{SlateGray},%
+ escapechar=\$%
+}
+
+\title{The \pkg{secdot} package\thanks{This manual corresponds to \pkg{secdot.sty}~v2.0, dated~July 2000.}}
+\subtitle{Define section numbers with dots}
+\author{%
+ Robin Fairbairns\thanks{\mail{rf10@cl.cam.ac.uk}}%
+ \and Steve Grathwohl\thanks{\mail{Duke University}}%
+}
+\date{July 2000}
+
+
+\begin{document}
+
+\maketitle
+
+the package as loaded causes section numbers to be output with a dot
+after them.
+
+the command \cmd{\sectiondot}\marg{level} will make `\meta{level}' sections also be
+output with a dot after them -- an example of use would be:
+%
+\begin{lstlisting}
+\sectiondot{subsection}
+\end{lstlisting}
+
+the command \cmd{\sectionpunct}\marg{level}\marg{punctuation} gives finer
+control. examples of use would be
+%
+\begin{lstlisting}
+\sectionpunct{section}{. } % \sectiondot places a \quad after the
+ % dot, which may look excessive
+\sectionpunct{section}{\quad} % restores default latex behaviour
+\end{lstlisting}
+
+other eccentricities of numbering could be coded by those with
+stronger stomachs, by defining the appropriate
+%
+\begin{lstlisting}
+\csname @seccntfmt@$\meta{level}$\endcsname
+\end{lstlisting}
+%
+which macro will take one argument, when invoked: the `\meta{level}' name
+
+\end{document}
diff --git a/Master/texmf-dist/doc/latex/secdot/secdot.pdf b/Master/texmf-dist/doc/latex/secdot/secdot.pdf
new file mode 100644
index 00000000000..ce641241def
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/secdot/secdot.pdf
Binary files differ