blob: f245510eb5716b8717e251de54f8ac1b9b091318 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
|
%%
%% This is file `paresse-ex-en.tex',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% paresse.dtx (with options: `exemple,lmodern,en')
%% This is a generated file.
%%
%% Copyright (C) 2003-2008 Y. Henel, le TeXnicien de surface
%% <le.texnicien.de.surface@wanadoo.fr>
%%
%% This file may be distributed and/or modified under the conditions of
%% the LaTeX Project Public License, either version 1.2 of this license
%% or (at your option) any later version. The latest version of this
%% license is in:
%%
%% http://www.latex-project.org/lppl.txt
%%
%% and version 1.2 or later is part of all distributions of LaTeX version
%% 1999/12/01 or later.
\documentclass[a4paper,12pt]{article}
\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[tame]{paresse}
\usepackage{amsmath,xspace,array,fancyvrb}
\usepackage[english]{babel}
\IfFileExists{lmodern.sty}{\usepackage{lmodern}}{}
\setlength{\parindent}{0pt}
\newcommand\BOP{\discretionary{}{}{}}
\begin{document}
\pagestyle{empty}
\begin{center}\large
Examples of \texttt{paresse} package usage.\\
le \TeX nicien de surface\\
2008-08-12
\end{center}
This file loads the \texttt{amsmath} package and,
if it locally exists, the \texttt{lmodern} package.
\textbf{Caution}: the \texttt{paresse} package is loaded with the
option \texttt{tame} to show the usage of macro
\verb!\ActiveLaParesse! and environment \verb!ParesseActive!.
\vspace{\baselineskip}
With the macro \verb!\ActiveLaParesse! to make the § character active.
\begin{Verbatim}[frame=single]
{\ActiveLaParesse
\(§a^{§b}_{§g}\) and also \(§D^§a_§d\)
}
\end{Verbatim}
to obtain:
{\ActiveLaParesse \(§a^{§b}_{§g}\) and also \(§D^§a_§d\)}
\vspace{\baselineskip}
With the environment \verb!ParesseActive!.
\begin{Verbatim}[frame=single]
\begin{ParesseActive}\large
\begin{tabular}{*4{||>{\ttfamily \§}c|c}||} \hline
a & §a & b & §b & g & §g & d & §d\\ \hline
e & §e & z & §z & h & §h & v & §v\\ \hline
...
X & §X & P & §P & S & §S & U & §U\\ \hline
F & §F & Q & §Q & W & §W &\multicolumn{1}{c|}{}& \\ \hline
\end{tabular}
\end{ParesseActive}
\end{Verbatim}
\medskip
\begin{center}
\begin{ParesseActive}\large
\begin{tabular}{*4{||>{\ttfamily \§}c|c}||} \hline
a & §a & b & §b & g & §g & d & §d\\ \hline
e & §e & z & §z & h & §h & v & §v\\ \hline
i & §i & k & §k & l & §l & m & §m\\ \hline
n & §n & x & §x & p & §p & r & §r\\ \hline
s & §s & y & §y & u & §u & f & §f\\ \hline
c & §c & q & §q & w & §w &\multicolumn{1}{c|}{}& \\ \hline\hline
G & §G & D & §D & V & §V & L & §L\\ \hline
X & §X & P & §P & S & §S & U & §U\\ \hline
F & §F & Q & §Q & W & §W &\multicolumn{1}{c|}{}& \\ \hline
\end{tabular}
\end{ParesseActive}
\end{center}
\end{document}
\endinput
%%
%% End of file `paresse-ex-en.tex'.
|