Debian Codegraph @

texmf-dist/doc/latex/guitlogo/guittest.tex

raw
1 %%
2 %% This is file `guittest.tex',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% guit.dtx (with options: `test')
8 %%
9 %% Copyright 2003-2006, 2009, 2012, 2019, 2020 Gruppo Utilizzatori Italiani
10 %% di TeX
11 %%
12 %% This work may be distributed and/or modified under the
13 %% conditions of the LaTeX Project Public License, either
14 %% version 1.3a of this license or (at your option) any
15 %% later version.
16 %% The latest version of the license is in
17 %% https://www.latex-project.org/lppl.txt
18 %%
19 %% Author: Emanuele Vicentini
20 %% (emanuelevicentini at yahoo dot it)
21 %%
22 %% This work has the LPPL maintenance status "maintained".
23 %%
24 %% The Current Maintainer of this work is Emanuele Vicentini.
25 %%
26 %% This work consists of the files: README, guit.dtx, guit.ins and the
27 %% derived files guit.sty, guit.cfg and guittest.tex
28 %%
29 \documentclass[11pt, a4paper]{article}
30 \usepackage[margin=1in, noheadfoot]{geometry}
31 \usepackage{booktabs, guit, rotating, hyperref}
32
33 \pagestyle{empty}
34 \setupguit[link]
35
36 \begin{document}
37 \section*{Piccolo test per \guit}
38 Vediamo un po' come si comporta in una footnote\footnote{\guit~\guit\ldots
39 direi che \`e passabile, no?}. Diamoci\footnote{Un'altra nota:
40 \fontfamily{pzc}\fontseries{mb}\fontshape{it}\selectfont\guittext} dentro
41 con qualche cosa\footnote{Un ultima nota: Copyright 2003-2006, 2009, 2012,
42 2019, 2020 \guittext} di ``strambo'':
43
44 \begin{center}
45 \itshape\guit~agus \TeX~go br\'ach!\\
46 $==$\\
47 \rmfamily\bfseries\guit~and \TeX~forever!
48 \end{center}
49
50 Una piccola ``spirale'' colorata e divertente:
51
52 \begingroup
53 \setupGuIT[color=yes]
54 \GuITcolor[rgb]{1, 0, 0}
55 \newcount\wang
56 \newsavebox{\wangtext}
57 \newdimen\wangspace
58 \def\wheel#1{\savebox{\wangtext}{#1}%
59 \wangspace\wd\wangtext
60 \advance\wangspace by 1cm%
61 \centerline{%
62 \rule{0pt}{\wangspace}%
63 \rule[-\wangspace]{0pt}{\wangspace}%
64 \wang=-180
65 \loop
66 \ifnum\wang<180
67 \rlap{\begin{rotate}{\the\wang}%
68 \rule{0.75cm}{0pt}#1
69 \end{rotate}}%
70 \advance\wang by 20
71 \space
72 \guitcolor*{coloredelGuIT!90!green}%
73 \repeat}}
74 \wheel{\guit}
75 \endgroup
76
77 Ed ora una tabella riepilogativa parziale dei font supportati dalla versione
78 attuale.
79
80 \begin{center}
81 \begin{tabular}{lc}
82 \toprule
83 Font & Logo \\
84 \midrule
85 Computer Modern Roman & \guit[family=cmr] \\
86 Latin Modern & \guit[family=lmr] \\
87 Times New Roman & \guit[family=ptm] \\
88 Palatino & \guit[family=ppl] \\
89 NewCentury Schoolbook & \guit[family=pnc] \\
90 Charter & \guit[family=bch] \\
91 Bookman & \guit[family=pbk] \\
92 \bottomrule
93 \end{tabular}
94 \end{center}
95
96 Per finire, un sfilza di \guit:
97
98 \begingroup
99 \let\pippo\par
100 \makeatletter
101 \@tfor\famiglia:={cmr}{lmr}{ptm}{ppl}{pnc}{bch}{pbk}\do{%
102 \noindent
103 \setupGuIT[family=\famiglia]
104 \@tfor\dimensione:=\tiny\scriptsize\footnotesize\small\normalsize
105 \large\Large\LARGE\huge\do{%
106 \dimensione\guit~}%
107 \Huge\guit\pippo}%
108 \endgroup
109
110 \begin{center}
111 \Huge Venite tutti al prossimo \guitmeeting[color]
112 \end{center}
113
114 \end{document}