%% %% 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 %% %% %% 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'.