%% %% 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-2010 Y. Henel, le TeXnicien de surface %% %% %% 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'.