trace -> draw sur les macros LaTeX
[delaunay.git] / doc / luamesh-doc.tex
index d68baa3..d2477b8 100644 (file)
@@ -9,6 +9,10 @@
 
 \documentclass{lltxdoc}
 \usepackage{tcolorbox}
+\usepackage{xargs}
+\usepackage{enumitem}
+
+
 \title{\Verb+luamesh+: compute and draw meshes with \lualatex}
 \author{Maxime Chupin \email{mc@melusine.eu.org}}
 \date{\today}
@@ -19,7 +23,6 @@
   }%
   ]{Vitem}}
 
-\usepackage{xargs}
 \newcommand*\textme[1]{\color{black}{\rmfamily\textit{#1}}}
 \newcommand*\meta[1]{% % meta
   \textme{\ensuremath{\langle}#1\ensuremath{\rangle}}}
 
 \newcommand\luamesh{\Verb+luamesh+\xspace}
 
+\newenvironment{optionsenum}[1][]
+  {\begin{description}[font=\color{red}\ttfamily]}
+    {\end{description}}
+
 \begin{document}
 
 \maketitle
@@ -187,7 +194,7 @@ points must be given in the following way :
 \subsubsection{The Options}
 
 There are several options to customize the drawing.
-\begin{description}
+\begin{optionsenum}
 \item[\color{red}\texttt{mode = int (default) or ext}:] the mode option allow to
   use either the previously described set of point in the argument, or
   a file, containing, line by line (2 columns), the points. Such a
@@ -199,7 +206,7 @@ x3  y3
 ...
 xn yn
 \end{verbatim}
-\end{description}
+\end{optionsenum}
 
 \subsection{Draw the Set of Points}
 

Licence Creative Commons Les fichiers de Syracuse sont mis à disposition (sauf mention contraire) selon les termes de la
Licence Creative Commons Attribution - Pas d’Utilisation Commerciale - Partage dans les Mêmes Conditions 4.0 International.