summaryrefslogtreecommitdiff
path: root/Master/texmf-dist
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-11-05 21:49:59 +0000
committerKarl Berry <karl@freefriends.org>2010-11-05 21:49:59 +0000
commitd048e25d167f778d70a15fdf151295b934a53d50 (patch)
tree354b12a84acda4089b8198cdd7cdc86fa33d4dc5 /Master/texmf-dist
parente598778ce75499a922bbf3401bacf30ad624a24d (diff)
showtags own pkg, license update (5nov10)
git-svn-id: svn://tug.org/texlive/trunk@20336 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r--Master/texmf-dist/doc/latex/showtags/showtags-doc.pdfbin0 -> 210340 bytes
-rw-r--r--Master/texmf-dist/doc/latex/showtags/showtags-doc.tex59
-rw-r--r--Master/texmf-dist/tex/latex/showtags/showtags.sty99
3 files changed, 158 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/showtags/showtags-doc.pdf b/Master/texmf-dist/doc/latex/showtags/showtags-doc.pdf
new file mode 100644
index 00000000000..a5cffc03302
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/showtags/showtags-doc.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/showtags/showtags-doc.tex b/Master/texmf-dist/doc/latex/showtags/showtags-doc.tex
new file mode 100644
index 00000000000..e4cf78d8931
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/showtags/showtags-doc.tex
@@ -0,0 +1,59 @@
+\documentclass[pagesize=auto, fontsize=12pt, DIV=10, parskip=half, headings=normal]{scrartcl}
+
+\usepackage{fixltx2e}
+\usepackage{etex}
+\usepackage{lmodern}
+\usepackage[T1]{fontenc}
+\usepackage{textcomp}
+\usepackage{microtype}
+\usepackage{hyperref}
+
+\newcommand*{\mail}[1]{\href{mailto:#1}{\texttt{#1}}}
+\newcommand*{\pkg}[1]{\textsf{#1}}
+
+\addtokomafont{title}{\rmfamily}
+
+\title{The \pkg{showtags} package\thanks{This manual corresponds to \pkg{showtags.sty}~v1.04, dated~06 September 1995.}}
+\author{Nelson H. F. Beebe\thanks{\mail{beebe@math.utah.edu}}}
+\date{06 September 1995}
+
+
+\begin{document}
+
+\maketitle
+
+This style file causes the bibliography
+citation tags to be displayed in boldface
+text in a right-adjusted framed box over
+each entry in a bibliography. This serves
+as a handy reference when the tags are
+needed for a \verb|\cite{}| macro.
+
+For flexibility, the user may redefine
+\verb|\thecitetag| to change the format. E.\,g.
+%
+\begin{verbatim}
+\renewcommand{\thecitetag}[1]{\fbox{\small\tt #1}}
+\end{verbatim}
+%
+would typeset the tag in small typewriter
+text in a box.
+
+The \texttt{checksum} field in the \texttt{showtags.sty} file contains a CRC-16
+checksum as the first value, followed by the
+equivalent of the standard UNIX \texttt{wc} (word
+count) utility output of lines, words, and
+characters. This is produced by Robert
+Solovay's \texttt{checksum} utility.
+
+
+\section*{Revision history:}
+
+\begin{labeling}[\enskip]{1.04 [06-Sep-1995]}
+\item[{1.04 [06-Sep-1995]}] update for \LaTeXe\ support
+\item[{1.03 [12-Sep-1994]}] update file header, and add \verb|\strut| to label box
+\item[{1.02 [10-Sep-1991]}] update file header, trim trailing space
+\item[{1.01 [11-Jul-1990]}] almost original version
+\end{labeling}
+
+\end{document}
diff --git a/Master/texmf-dist/tex/latex/showtags/showtags.sty b/Master/texmf-dist/tex/latex/showtags/showtags.sty
new file mode 100644
index 00000000000..c26e487a574
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/showtags/showtags.sty
@@ -0,0 +1,99 @@
+%%% -*-LaTeX-*-
+%%% /u/sy/beebe/tex/bib/showtags.sty, Mon Sep 12 09:25:01 1994
+%%% Edit by Nelson H. F. Beebe <beebe@plot79.math.utah.edu>
+%%%
+%%% ====================================================================
+%%% @LaTeX-style-file{
+%%% author = "Nelson H. F. Beebe",
+%%% version = "1.05",
+%%% date = "06 September 1995",
+%%% time = "16:46:14 MDT",
+%%% filename = "showtags.sty",
+%%% address = "Department of Mathematics
+%%% University of Utah
+%%% Salt Lake City, UT 84112
+%%% USA",
+%%% telephone = "+1 801 581 5254",
+%%% FAX = "+1 801 581 4148",
+%%% checksum = "08345 99 459 4338",
+%%% email = "beebe@math.utah.edu (Internet)",
+%%% codetable = "ISO/ASCII",
+%%% keywords = "bibliography, citation label, citation tag",
+%%% license = "public domain",
+%%% supported = "yes",
+%%% docstring = "This style file causes the bibliography
+%%% citation tags to be displayed in boldface
+%%% text in a right-adjusted framed box over
+%%% each entry in a bibliography. This serves
+%%% as a handy reference when the tags are
+%%% needed for a \cite{} macro.
+%%%
+%%% For flexibility, the user may redefine
+%%% \thecitetag to change the format. E.g.
+%%%
+%%% \renewcommand{\thecitetag}[1]{\fbox{\small\tt #1}}
+%%%
+%%% would typeset the tag in small typewriter
+%%% text in a box.
+%%%
+%%% The checksum field above contains a CRC-16
+%%% checksum as the first value, followed by the
+%%% equivalent of the standard UNIX wc (word
+%%% count) utility output of lines, words, and
+%%% characters. This is produced by Robert
+%%% Solovay's checksum utility."
+%%% }
+%%% ====================================================================
+%
+%%% Revision history:
+%%%
+%%% 1.05 [04-Nov-2010] add license statement in comment header, but
+%%% preserve release date and time of 1.04
+%%% 1.04 [06-Sep-1995] update for LaTeX 2e support
+%%% 1.03 [12-Sep-1994] update file header, and add \strut to label box
+%%% 1.02 [10-Sep-1991] update file header, trim trailing space
+%%% 1.01 [11-Jul-1990] almost original version
+\ifx \DeclareRobustCommand \undefined% then assume LaTeX 2.09
+% \@bibitem and \@lbibitem definitions extracted from latex.tex
+% labelled ``LATEX VERSION 2.09 <24 May 1989>''. We add only the
+% \@showtag invocations.
+%
+ \def\@bibitem#1{\item\if@filesw \immediate\write\@auxout
+ {\string\bibcite{#1}{\the\c@enumi}}\fi\ignorespaces
+ \@showtag{#1}}
+%
+ \def\@lbibitem[#1]#2{\item[\@biblabel{#1}]\if@filesw
+ { \def\protect##1{\string ##1\space}\immediate
+ \write\@auxout{\string\bibcite{#2}{#1}}}\fi\ignorespaces
+ \@showtag{#2}}
+\else % must be LaTeX 2e
+% From latex.ltx <1994/12/18>:
+ \def\@bibitem#1{\item\if@filesw \immediate\write\@auxout
+ {\string\bibcite{#1}{\the\value{\@listctr}}}\fi\ignorespaces
+ \@showtag{#1}}
+%
+ \def\@lbibitem[#1]#2{\item[\@biblabel{#1}\hfill]\if@filesw
+ {\let\protect\noexpand
+ \immediate
+ \write\@auxout{\string\bibcite{#2}{#1}}}\fi\ignorespaces
+ \@showtag{#2}}
+\fi
+%
+% Here are the macros that actually set the tag. By default, we put it
+% in boldface type in a framed box that is right-adjusted in exactly the
+% width of the current line (and we handle both the one- and two-column
+% cases), and we ensure that a page break does not occur between the
+% tag-in-the-box and its bibliographic entry. For flexibility, the user
+% may redefine \thecitetag to change the format.
+%
+\newcommand{\thecitetag}[1]{\fbox{\bf #1}}
+%
+\def\@showtag#1{
+ \@tempdima=\textwidth
+ \if@twocolumn
+ \advance\@tempdima by -\columnsep
+ \divide\@tempdima by 2
+ \fi
+ \hbox to \@tempdima{\hfill\thecitetag{\strut#1}}\nobreak}
+%
+\endinput