Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

2_programmation:macros:commande_etoilee3 [2018/12/03 23:24] – créée - modification externe 127.0.0.12_programmation:macros:commande_etoilee3 [2023/03/12 21:21] (Version actuelle) – Mise à jour de liens internes. Mots-clefs OpenGraph. jejust
Ligne 3: Ligne 3:
  
 LaTeX commands commonly have "versions" defined with an asterisk LaTeX commands commonly have "versions" defined with an asterisk
-tagged onto their name: for example ''\newcommand'' and +tagged onto their name: for example ''\newcommand'' and ''\newcommand*'' 
-''\newcommand*'' (the former defines a ''\long'' version of the +(the former defines a ''\long'' version of the command).
-command).+
  
 The simple-minded way for a user to write such a command involves use The simple-minded way for a user to write such a command involves use
Ligne 43: Ligne 42:
 The ''\@ifstar'' trick is all very well, is fast and efficient, but The ''\@ifstar'' trick is all very well, is fast and efficient, but
 it requires that the definition be  it requires that the definition be 
-[[FAQ-atsigns|''\makeatletter'' protected]].+[[2_programmation:macros:makeatletter_et_makeatother|''\makeatletter'' protected]].
  
-A pleasing alternative is the [[ctanpkg>suffix|suffix]] package.  This elegant +A pleasing alternative is the [[ctanpkg>suffix|suffix]] package. 
-piece of code allows you to define variants of your commands:+This elegant piece of code allows you to define variants of your commands:
  
 <code latex> <code latex>
Ligne 52: Ligne 51:
 \WithSuffix\newcommand\mycommand*{starred version} \WithSuffix\newcommand\mycommand*{starred version}
 </code> </code>
-The package needs [[FAQ-etex|e-LaTeX]], but any new enough+The package needs [[1_generalites:glossaire:qu_est_ce_que_etex|ε-LaTeX]], but any new enough
 distribution defines LaTeX as e-LaTeX by default.  Command distribution defines LaTeX as e-LaTeX by default.  Command
 arguments may be specified in the normal way, in both command arguments may be specified in the normal way, in both command
Ligne 86: Ligne 85:
 normal TeX-style mandatory argument, and appears as ''#2''. normal TeX-style mandatory argument, and appears as ''#2''.
  
-While [[ctanpkg>xparse|xparse]] provides pleasing command argument +While [[ctanpkg>xparse|xparse]] provides pleasing command argument specifications, 
-specifications, it //is// part of the  +it //is// part of the [[1_generalites:histoire:c_est_quoi_latex3|LaTeX 3 experimental harness]].
-[[FAQ-LaTeX3|LaTeX 3 experimental harness]].+
 Simply loading the package to provide ''\DeclareDocumentCommand'' Simply loading the package to provide ''\DeclareDocumentCommand''
 "pulls in" all of the LaTeX3 kernel (a large bunch of packages) "pulls in" all of the LaTeX3 kernel (a large bunch of packages)
Ligne 95: Ligne 93:
  
 ----- -----
- 
 //Source:// [[faquk>FAQ-cmdstar|Commands defined with * options]] //Source:// [[faquk>FAQ-cmdstar|Commands defined with * options]]
  
-{{htmlmetatags>metatag-keywords=(LaTeX,latex,macros,programming)+{{htmlmetatags>metatag-keywords=(LaTeX,latex,macros,programmation,étoile,commande étoilée)
 metatag-og:title=(Commands defined with * options) metatag-og:title=(Commands defined with * options)
 metatag-og:site_name=(FAQ LaTeX francophone) metatag-og:site_name=(FAQ LaTeX francophone)
 }} }}
  
2_programmation/macros/commande_etoilee3.1543879460.txt.gz · Dernière modification : 2018/12/03 23:24 de 127.0.0.1
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0