summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/paresse/paresse-ex-en.tex
blob: ae5dc48f8dc25c03a09a2a42eaa1c858ae78985e (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 ^^a7 character active.
\begin{Verbatim}[frame=single]
{\ActiveLaParesse
\(^^a7a^{^^a7b}_{^^a7g}\) and also \(^^a7D^^^a7a_^^a7d\)
}
\end{Verbatim}
to obtain:
{\ActiveLaParesse \(^^a7a^{^^a7b}_{^^a7g}\) and also \(^^a7D^^^a7a_^^a7d\)}

\vspace{\baselineskip}

With the environment \verb!ParesseActive!.

\begin{Verbatim}[frame=single]
\begin{ParesseActive}\large
\begin{tabular}{*4{||>{\ttfamily \^^a7}c|c}||} \hline
a & ^^a7a & b & ^^a7b & g & ^^a7g & d & ^^a7d\\ \hline
e & ^^a7e & z & ^^a7z & h & ^^a7h & v & ^^a7v\\ \hline
...
X & ^^a7X & P & ^^a7P & S & ^^a7S & U & ^^a7U\\ \hline
F & ^^a7F & Q & ^^a7Q & W & ^^a7W &\multicolumn{1}{c|}{}& \\ \hline
\end{tabular}
\end{ParesseActive}
\end{Verbatim}

\medskip

\begin{center}
\begin{ParesseActive}\large
\begin{tabular}{*4{||>{\ttfamily \^^a7}c|c}||} \hline
a & ^^a7a & b & ^^a7b & g & ^^a7g & d & ^^a7d\\ \hline
e & ^^a7e & z & ^^a7z & h & ^^a7h & v & ^^a7v\\ \hline
i & ^^a7i & k & ^^a7k & l & ^^a7l & m & ^^a7m\\ \hline
n & ^^a7n & x & ^^a7x & p & ^^a7p & r & ^^a7r\\ \hline
s & ^^a7s & y & ^^a7y & u & ^^a7u & f & ^^a7f\\ \hline
c & ^^a7c & q & ^^a7q & w & ^^a7w &\multicolumn{1}{c|}{}& \\ \hline\hline
G & ^^a7G & D & ^^a7D & V & ^^a7V & L & ^^a7L\\ \hline
X & ^^a7X & P & ^^a7P & S & ^^a7S & U & ^^a7U\\ \hline
F & ^^a7F & Q & ^^a7Q & W & ^^a7W &\multicolumn{1}{c|}{}& \\ \hline
\end{tabular}
\end{ParesseActive}
\end{center}
\end{document}
\endinput
%%
%% End of file `paresse-ex-en.tex'.