Debian Codegraph @

texmf-dist/doc/latex/shadow/shadow-doc.tex

raw
1 \documentclass[pagesize=auto, fontsize=12pt, DIV=10, parskip=half]{scrartcl}
2
3 \usepackage{fixltx2e}
4 \usepackage{etex}
5 \usepackage{lmodern}
6 \usepackage[T1]{fontenc}
7 \usepackage{textcomp}
8 \usepackage{microtype}
9 \usepackage{hyperref}
10
11 \newcommand*{\mail}[1]{\href{mailto:#1}{\texttt{#1}}}
12 \newcommand*{\pkg}[1]{\textsf{#1}}
13 \newcommand*{\cs}[1]{\texttt{\textbackslash#1}}
14 \makeatletter
15 \newcommand*{\cmd}[1]{\cs{\expandafter\@gobble\string#1}}
16 \makeatother
17 \newcommand*{\meta}[1]{\textlangle\textsl{#1}\textrangle}
18 \newcommand*{\marg}[1]{\texttt{\{}\meta{#1}\texttt{\}}}
19
20 \addtokomafont{title}{\rmfamily}
21
22 \title{The \pkg{shadow} package\thanks{This manual corresponds to \pkg{shadow.sty}~v1.3, dated~19 February 2003.}}
23 \author{Mauro Orlandini\thanks{\mail{[email protected]}}}
24 \date{19 February 2003}
25
26
27 \begin{document}
28
29 \maketitle
30
31 \begin{abstract}
32 \noindent
33 The command \cmd{\shabox} has the same meaning of the
34 \LaTeX\ command \cmd{\fbox} except for the fact that a
35 ``shadow'' is added to the bottom and the right side
36 of the box. It computes the right dimension of the
37 box, even if the text spans over more than one
38 line; in this case a warning messagge is given.
39 \end{abstract}
40
41 There are three parameters governing:
42 %
43 \begin{enumerate}
44 \item the width of the lines delimiting the box:
45 \cmd{\sboxrule}
46 \item the separation between the edge of the box and
47 its contents: \cmd{\sboxsep}
48 \item the dimension of the shadow: \cmd{\sdim}
49 \end{enumerate}
50
51
52 \minisec{Sintax:}
53
54 \cmd{\shabox}\marg{text}\\
55 where \meta{text} is the text to be put in the
56 framed box. It can be an entire paragraph.
57
58 Adapted from the file \texttt{dropshadow.tex} by
59 \mail{[email protected]}.
60 %
61 \begin{labeling}{V1.1}
62 \item[V1.1] Works in a double column environment.
63 \item[V1.2] When there is an online shadow box, it
64 will be centered on the line (in V1.1 the
65 box was aligned with the baseline).
66 (Courtesy by Mike Piff)''
67 \item[V1.3] Added a number of missing \verb|%| signs\\
68 no other cleanup done (FMi)
69 \end{labeling}
70
71 \end{document}