diff options
Diffstat (limited to 'Master/texmf-dist/doc/generic/xstring/test_latex.tex')
-rw-r--r-- | Master/texmf-dist/doc/generic/xstring/test_latex.tex | 25 |
1 files changed, 23 insertions, 2 deletions
diff --git a/Master/texmf-dist/doc/generic/xstring/test_latex.tex b/Master/texmf-dist/doc/generic/xstring/test_latex.tex index cccddd2cb24..e7f698e99ce 100644 --- a/Master/texmf-dist/doc/generic/xstring/test_latex.tex +++ b/Master/texmf-dist/doc/generic/xstring/test_latex.tex @@ -1,3 +1,20 @@ +% Ceci est test_latex.tex, le fichier de test de xstring à compiler avec LaTeX +% This is test_latex.tex, the test file of xstring to compile with LaTeX +% +% Christian Tellechea 2008 +% +% email : unbonpetit@gmail.com +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% This work may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.3 +% 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.3 or later is part of all distributions of LaTeX +% version 2005/12/01 or later. +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \documentclass[a4paper,10pt]{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} @@ -10,7 +27,7 @@ \newcommand*\exemple{\@ifstar{\def\frontiere{|}\@xs@MakeVerb}{\def\frontiere{}\@xs@MakeVerb}} \def\@xs@afterreadverb#1{% - \normalexpandarg + \noexpandarg \tokenize\cs@resultat{#1}% \fullexpandarg \leavevmode\hbox to0.7\linewidth{\hfil\tt#1}\quad\frontiere\cs@resultat\frontiere\hfil\par}% @@ -20,7 +37,7 @@ \def\delimiteur{|} \begin{document} -\setlength{\parindent}{0pt} +\parindent0pt \begin{center}\Large{Ceci est le fichier de test de xstring}.\end{center} \vspace{-1.8ex}\hrule\smallskip @@ -914,6 +931,8 @@ La commande \verb|\StrBetween| opère en mode \verb|\noexploregroups|, quelque s \exemple|\detokenize\expandafter{\cmd}|\smallskip \exemple|\StrSubstitute{\a1{2\a{3\a}4\a}\a5\a}{3\a}{XXX}[\cmd]| \exemple|\detokenize\expandafter{\cmd}|\smallskip +\exemple|\StrSubstitute{a1{b1\bgroup c1}\egroup d1}{1}{X}[\cmd]| +\exemple|\detokenize\expandafter{\cmd}|\smallskip \exemple|\exploregroups| \exemple|\StrSubstitute{\a1{2\a{3\a}4\a}\a5\a}{\a}{\X}[\cmd]| \exemple|\detokenize\expandafter{\cmd}|\smallskip @@ -925,6 +944,8 @@ La commande \verb|\StrBetween| opère en mode \verb|\noexploregroups|, quelque s \exemple|\detokenize\expandafter{\cmd}|\smallskip \exemple|\StrSubstitute{\a1{2\a{3\a}4\a}\a5\a}{3\a}{XXX}[\cmd]| \exemple|\detokenize\expandafter{\cmd}| +\exemple|\StrSubstitute{a1{b1\bgroup c1}\egroup d1}{1}{X}[\cmd]| +\exemple|\detokenize\expandafter{\cmd}| \chapitre{La macro}{StrDel} |