summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/ltxmisc
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-02-15 01:04:50 +0000
committerKarl Berry <karl@freefriends.org>2010-02-15 01:04:50 +0000
commite23c6cd5a754a8ef0f36eb716453d4c9b6ff0a11 (patch)
treea3d003f61e69e4c2eb29d6c94621c7f74558528d /Master/texmf-dist/tex/latex/ltxmisc
parent78935dd481aa1eb68f3b64ab5e490f57978dece4 (diff)
a5comb update to own dir (13feb10)
git-svn-id: svn://tug.org/texlive/trunk@17020 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/ltxmisc')
-rw-r--r--Master/texmf-dist/tex/latex/ltxmisc/a5comb.sty31
-rw-r--r--Master/texmf-dist/tex/latex/ltxmisc/acromake.sty112
2 files changed, 0 insertions, 143 deletions
diff --git a/Master/texmf-dist/tex/latex/ltxmisc/a5comb.sty b/Master/texmf-dist/tex/latex/ltxmisc/a5comb.sty
deleted file mode 100644
index 5053eeaf6b2..00000000000
--- a/Master/texmf-dist/tex/latex/ltxmisc/a5comb.sty
+++ /dev/null
@@ -1,31 +0,0 @@
-%%% ====================================================================
-%%% @LaTeX-style-file{
-%%% author = "Mario Wolczko",
-%%% version = "4",
-%%% date = "21 May 1992",
-%%% time = "20:50:55 BST",
-%%% filename = "a5comb.sty",
-%%% email = "mario@acm.org",
-%%% codetable = "ISO/ASCII",
-%%% keywords = "LaTeX, A5 page size, page layout",
-%%% supported = "no",
-%%% docstring = "Sets page layout to A5 size, with equal
-%%% spaces to left and right, and twice the amount of centre space
-%%% (for comb-bound documents) and top:side:bottom space = 2:2:4.
-%%% See also a5.sty, a4.sty",
-%%% }
-%%% ====================================================================
-%
-% This file is in the public domain
-%
-% based on ratios suggested by Dick Wakefield
-
-\headheight=12truept \headsep=18truept
-\topmargin= -35.62truept % Nominal distance from top of paper to top of page
-% top paper margin of 48.72pt
-% (between top of page and top of text, excluding header)
-\textwidth=313truept
-\evensidemargin=-18.12truept \oddsidemargin=-18.12truept
-\textheight=426truept % 10pt only (\baselineskip=12pt)
-%
-\footskip=36truept \footheight=12truept
diff --git a/Master/texmf-dist/tex/latex/ltxmisc/acromake.sty b/Master/texmf-dist/tex/latex/ltxmisc/acromake.sty
deleted file mode 100644
index 9056d3ff4d9..00000000000
--- a/Master/texmf-dist/tex/latex/ltxmisc/acromake.sty
+++ /dev/null
@@ -1,112 +0,0 @@
-%%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%%
-%% This is file `acromake.sty', written on
-%% on <1995/7/16> by Paul A. Thompson, Ph.D.
-%%
-%% Copyright (C) 1995 Paul A. Thompson
-%% All rights reserved.
-%%
-%% Advice and suggestions of D. Carlisle, D. Arseneau and P. Schmitt noted.
-%% Errors responsibility of author.
-%%
-%% This file requires LaTeX2e.
-%% ---------------------------
-%%
-%% No permission is granted to modify this file.
-%%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%%
-%% This algorithm is presented and discussed in TeX and TUG News, V4, #1.
-%% The algorithm as presented there has several small problems, which are
-%% solved here.
-%%
-%% This file generates acronyms. There are three parameters which may be
-%% set by the user
-%% 1. To generate an acronym
-%% \acromk{ANSA}{{\tt ANSA}}{another nasty stupid acronym}
-%%
-%% The first argument is the name used in text to implement the acronym.
-%% The second argument is the name printed in the text when the acronym
-%% is used. The final argument is the full, non-acronymized version.
-%%
-%% So, if there was an acronym
-%% \acromake{ANSA}{{\tt ANSA}}{another nasty stupid acronym}
-%% it could be used as
-%%
-%% \ANSA is a new approach to the use of \ANSA, where \ANSA is ...
-%%
-%% This would result in
-%%
-%% another nasty stupid acronym ({\tt ANSA}) is a new approach to
-%% the use of {\tt ANSA}, where {\tt ANSA} is ...
-%%
-%% 2. To use the acronym
-%% here \ANSA whatever {foo}lish use of acronym you wish
-%% This will generate the following:
-%% Usage number Resolved text
-%% 1 another nasty stupid acronym (ANSA)
-%% 2 ANSA (page 2)
-%% 3 (and beyond) ANSA
-%%
-%% 3. The following may be set by the user:
-%% ACRcnta - count of uses of acronym macro which will be in full form
-%% (default is 1)
-%% ACRcntb - count of uses of acronym macro which will include page of
-%% acronym def (default is 1 reference, or ACRcntb-ACRcnta)
-%% useACRlb - should the page reference be used - 1-yes, 0-no
-%%
-%% For every acronym, the macro generates the acronym macro and a macro which
-%% acts like a counter for acronym use. Since counters are quite rare, it is
-%% not responsible to use a counter for every acronym - rather, a macro is
-%% generated which fills this function. The acronym macro is called \foo,
-%% while the counter macro is called \fooz. Thus, I would avoid calling any
-%% acronym fooz, as this may be confoozing.
-%%
-%% The .sty file generates 1 counter if it is included. For each acronym
-%% specified, the .sty file generates two macros, 1 for the acronym, and 1 for
-%% the count of acronym use
-%%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%%
-\NeedsTeXFormat{LaTeX2e}% % 1
-\RequirePackage{xspace}
-\newcommand{\pv}{} \newcounter{util}
-\newcommand{\ACRcnta}{1}% full acronym generations
-\newcommand{\ACRcntb}{2}% ACRcntb - ACRcnta = acronym + page number
-\newcommand{\addtomacro}[2]{% % like \addtocounter, but for a macro
- \setcounter{util}{#1}\addtocounter{util}{#2}\xdef#1{\theutil}}%
-\newcommand{\acromake}[3]{%
- \ifnum\ACRcnta<1\renewcommand{\ACRcnta}{1}\fi%
- \expandafter\gdef\csname#1z\endcsname{0}% count occurrences
- \expandafter\newcommand\csname#1\endcsname{%
- \ifnum\csname#1z\endcsname=0\label{acro:#1}\fi%
- \expandafter\addtomacro\expandafter{\csname#1z\endcsname}{1}%
- #3 (#2)% expansion and acronym printed here
- \ifnum\csname#1z\endcsname=\ACRcnta%
- \expandafter\renewcommand\csname#1\endcsname{%
- \expandafter\addtomacro\expandafter{\csname#1z\endcsname}{1}%
- \renewcommand{\pv}{ (see Page \pageref{acro:#1})}%
- \ifnum\csname#1z\endcsname>\ACRcntb%
- \renewcommand{\pv}{#2}%
- \else%
- \ifnum\ACRcntb=0%
- \renewcommand{\pv}{#2}%
- \else%
- \ifnum\thepage=0\pageref{acro:#1}%
- \renewcommand{\pv}{#2}%
- \else%
- \renewcommand{\pv}{#2\ (see Page \pageref{acro:#1})}%
- \fi%
- \fi%
- \fi%
- \pv\xspace%
- }%
- \fi%
- \xspace}%
-}
-
-