summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/fncylab/fncylab.tex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-14 03:00:50 +0000
committerNorbert Preining <norbert@preining.info>2019-09-14 03:00:50 +0000
commit0eea86bf18826522b3686f54fc3afb8ddc31e62a (patch)
tree297ca130d9a87803b835596c3a194841045cce43 /macros/latex/contrib/fncylab/fncylab.tex
parent215532ea28200f7e90dd8339cf62a8d6dc746bc6 (diff)
CTAN sync 201909140300
Diffstat (limited to 'macros/latex/contrib/fncylab/fncylab.tex')
-rw-r--r--macros/latex/contrib/fncylab/fncylab.tex30
1 files changed, 25 insertions, 5 deletions
diff --git a/macros/latex/contrib/fncylab/fncylab.tex b/macros/latex/contrib/fncylab/fncylab.tex
index 1faab4c28f..271cc3029c 100644
--- a/macros/latex/contrib/fncylab/fncylab.tex
+++ b/macros/latex/contrib/fncylab/fncylab.tex
@@ -1,16 +1,36 @@
\documentclass[a4paper]{article}
\usepackage[a4paper]{geometry}
-\usepackage{miscdoc}
-\usepackage[scaled=0.85]{luximono}
+
+%\usepackage{miscdoc} % no idea where that package is (maybe just on Robin's home machine)
+%
+% so go manual ...
+
+\newcommand\Package[1]{\texttt{#1}}
+\newcommand\cs[1]{\texttt{\textbackslash#1}}
+\newcommand\meta[1]{$\langle$\textnormal{\itshape#1}$\rangle$}
+\newcommand\marg[1]{\texttt{\{\meta{#1}\}}}
+
+\usepackage[T1]{fontenc} % needed for \textbackslash
+
+%\usepackage[scaled=0.85]{luximono}
+
+\def\labelformat{} \usepackage{fncylab} % testing
+
\begin{document}
\title{The \Package{fncylab} package}
\author{Robin Fairbairns\thanks{Email:
- \emph{robin.fairbairns@cl.cam.ac.uk}}}
-\date{2003-08-13, version 1.0}
+ \emph{robin.fairbairns@cl.cam.ac.uk} --- no longer active}}
+\date{2019-08-23, version 1.1}
\maketitle
+As of 2019 the \LaTeX{} kernel already contains these extra commands
+and the modification to \cs{refstepcounter}. So on nevery kernels
+this package is no longer necessary and will silently exit.
+
+\section{Introduction}
+
The package provides support for arbitrary structuring of the way
-label references look. The command \cmdinvoke*{labelformat}{ctr}{defn}
+label references look. The command \cs{labelformat}\marg{ctr}\marg{defn}
specifies the structure of a label:
\begin{description}
\item[\emph{\texttt{ctr}}] the counter that will define the label