Deutsch English Français Italiano |
<6440bd71$0$31534$426a34cc@news.free.fr> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!news.mixmin.net!proxad.net!feeder1-2.proxad.net!cleanfeed3-b.proxad.net!nnrp1-1.free.fr!not-for-mail From: Michel <michel@domain.invalid> Newsgroups: fr.comp.text.tex Subject: Re: Utilisation de \def ... #{ ... } References: <cb87dfe8-22f2-4814-8b97-34b372b00b47n@googlegroups.com> User-Agent: Gnus Mail-Copies-To: never Date: Thu, 20 Apr 2023 06:16:40 +0200 Cancel-Lock: sha1:0Uv22RvHTZssf2zVI3Mxam39jcg= MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Lines: 33 Message-ID: <6440bd71$0$31534$426a34cc@news.free.fr> Organization: Guest of ProXad - France NNTP-Posting-Date: 20 Apr 2023 06:20:01 CEST NNTP-Posting-Host: 82.66.159.6 X-Trace: 1681964401 news-4.free.fr 31534 82.66.159.6:50042 X-Complaints-To: abuse@proxad.net Bytes: 1575 Le 19 avril 2023 projetmbc a =C3=A9crit : > "Bonjour". > > Quelqu'un pourrait-il me proposer un exemple d'utilisation de Utilisation= de \def ... #{ ... } ? un exemple simple : \def\innerwidth{63.5mm} un autre plus long avec param=C3=A8tres : \def\@part[#1]#2{% \ifnum \c@secnumdepth >-2\relax \refstepcounter{part}% \addcontentsline{toc}{part}{\thepart\hspace{1em}#1}% \else \addcontentsline{toc}{part}{#1}% \fi \markboth{}{}% {\centering \interlinepenalty \@M \normalfont \ifnum \c@secnumdepth >-2\relax \huge\scshape\bfseries \partname\nobreakspace\thepart \par \vskip 20\p@ \fi \Huge \scshape\bfseries #2\par \vspace{5em} \runes{#2}\par}% \@endpart}