From ee5fc07f2f888967948c2f70ea5f37eda3aeea4c Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 13 Oct 2010 23:36:15 +0000 Subject: secdot own pkg (13oct10) git-svn-id: svn://tug.org/texlive/trunk@20086 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/secdot/secdot.ltx | 79 ++++++++++++++++++++++++++ Master/texmf-dist/doc/latex/secdot/secdot.pdf | Bin 0 -> 255759 bytes 2 files changed, 79 insertions(+) create mode 100644 Master/texmf-dist/doc/latex/secdot/secdot.ltx create mode 100644 Master/texmf-dist/doc/latex/secdot/secdot.pdf (limited to 'Master/texmf-dist/doc/latex/secdot') 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 Binary files /dev/null and b/Master/texmf-dist/doc/latex/secdot/secdot.pdf differ -- cgit v1.2.3