Doc: compilation avec titre ombré et changement de couleur
[delaunay.git] / doc / luamesh-doc.tex
index 9a6e6ad..98701ec 100644 (file)
 \author{Maxime Chupin \email{mc@melusine.eu.org}}
 \date{\today}
 
+
+\definecolor{darkred}{rgb}{0.8,0.1,0.1}
+
+
 \newcommand*\commande{\noindent\hspace{-30pt}%
   \SaveVerb[aftersave={%
    \UseVerb{Vitem}
@@ -34,7 +38,7 @@
 \fvset{%
   codes={\catcode`\«\active \catcode`\×\active },
   defineactive={\makefancyog\makefancytimes},
-  formatcom=\color{red},
+  formatcom=\color{darkred},
   frame=single
 }
 % rendre «...» équivalent à \meta{...}
 \newcommand\luamesh{\Verb+luamesh+\xspace}
 
 \newenvironment{optionsenum}[1][]
-{\begin{description}[font=\color{red}\ttfamily]}
+{\begin{description}[font=\color{darkred}\ttfamily]}
   {\end{description}}
 
 \newenvironment{warning}{%
   {\end{tcolorbox}\medskip}
 
 
-
 \begin{document}
 %% === Page de garde ===================================================
 \thispagestyle{empty}
 \end{tikzpicture}%
 
 \noindent
-\includegraphics{luamesh}\\
+\includegraphics{luamesh-title}\\
 {\large compute and draw meshes with \lualatex}\\[1cm]
 \parbox{0.6\textwidth}{
   \meshAddPointBW[
@@ -184,8 +187,8 @@ with a git project on the \Verb+melusine+ machine:
 \begin{center}
   \url{https://melusine.eu.org/syracuse/G/delaunay/}
 \end{center}
-Then, I would like to thank the first user, and an intensive
-\emph{test} user: Nicole Spillane.
+Then, I would like to thank the first user, an intensive
+\emph{test} user, and a very kind English corrector: Nicole Spillane.
 
 \section{Installation}
 
@@ -532,23 +535,43 @@ We draw the addition of the 6th point. The 7th line will be ignored.
   tikz,
   mode = ext,
   color = blue!70,
-  meshpoint = x,
+  meshpoint = \alpha,
   newpoint = y,
   colorBack=red!10,
-  colorNew = green!20!red,
+  colorNew = green!50!red,
   colorCircle = blue,
   colorBbox = black!20,
   bbox = show,
   scale=1.4cm,
-  step=cavity]
+  step=badtriangles]
   {mesh.txt}{6}
 \end{Exemple}
 
 \section{The \emph{inc} Macros}\label{sec:inc}
 
+The three macros presented in the above sections have complementary
+macros, with the suffix \Verb+inc+ that allow the user to add code
+(MetaPost or \Verb+tikz+, depending of the drawing engine) before and
+after the code generated by \luamesh.
+
+The three macros are:
+
+\commande|\buildMeshBWinc[«options»]{«list of points» or «file name»}{«code before»}{«code after»}|\medskip
+
+\commande|\drawPointsMeshinc[«options»]{«list of points» or «file name»}{«code before»}{«code after»}|\medskip
+
+\commande|\meshAddPointBWinc[«options»]{«list of points» or «file  name»}%|
+
+\commande|                           {«point» or «number of line»}{«code before»}{«code after»}|\medskip
+
 \subsection{With MetaPost}
 
-%\subsection{With \Verb+tikz+}
+We consider the case where the drawing engine is MetaPost (through the
+\Verb+luamplib+ package).
+
+
+
+\subsection{With TikZ}
 
 \section{Gallery of Examples}
 

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.