X-Git-Url: https://melusine.eu.org/syracuse/G/git/?p=delaunay.git;a=blobdiff_plain;f=doc%2Fluamesh-doc.tex;h=eb9d87611db1097d4ba8e9b922d06fdf2b50be47;hp=e59f7fc0889ea5a6618ae2beca1ffeb5807b5881;hb=dfc911e7011fbdbb073cd762e17b6a42058e0f33;hpb=5921eb363f3873328cc96cb4321b2f6387b8f3f5 diff --git a/doc/luamesh-doc.tex b/doc/luamesh-doc.tex index e59f7fc..eb9d876 100644 --- a/doc/luamesh-doc.tex +++ b/doc/luamesh-doc.tex @@ -11,8 +11,8 @@ \usepackage{tcolorbox} \usepackage{xargs} \usepackage{enumitem} - - +\usepackage[tikz]{bclogo} +\usepackage{wrapfig} \title{\Verb+luamesh+: compute and draw meshes with \lualatex} \author{Maxime Chupin \email{mc@melusine.eu.org}} \date{\today} @@ -100,10 +100,62 @@ \newcommand\luamesh{\Verb+luamesh+\xspace} \newenvironment{optionsenum}[1][] - {\begin{description}[font=\color{red}\ttfamily]} - {\end{description}} +{\begin{description}[font=\color{red}\ttfamily]} + {\end{description}} + +\newenvironment{warning}{% + \setlength{\logowidth}{24pt} + \tcbset{% + arc=0pt,outer arc=0pt,colback=gray!10!white,colframe=gray!60!white, + boxsep=0pt,left=5pt,right=5pt,top=5pt,bottom=5pt, bottomtitle = 3pt, toptitle=3pt, + boxrule=0pt,bottomrule=0.5pt,toprule=0.5pt} + \medskip + \begin{tcolorbox}% + \begin{wrapfigure}[2]{L}{17pt}% + % \raisebox{-5pt}{ + \vspace*{-0.55cm} + \bcinfo + % }% + \end{wrapfigure} + }% + {\end{tcolorbox}\medskip} + + \begin{document} +%% === Page de garde =================================================== +\thispagestyle{empty} +\begin{tikzpicture}[remember picture, overlay] + \node[below right, shift={(-4pt,4pt)}] at (current page.north west) {% + \includegraphics{fond.pdf}% + }; +\end{tikzpicture}% + +\noindent +\includegraphics{luamesh}\\ +{\large compute and draw meshes with \lualatex}\\[1cm] +\parbox{0.6\textwidth}{ + \meshAddPointBW[ + mode=ext,step=badtriangles, + colorNew =green!20!red, + colorBack=red!10, + colorCircle = blue, + bbox = show, + colorBbox = black!30 + ] + {meshgarde.txt}{7} +}\hfill +\parbox{0.4\textwidth}{\Large\raggedleft + \textbf{Contributor}\\ + Maxime \textsc{Chupin} +} +\vfill +\begin{center} + Version 0.1, 25 novembre 2016\\ + \url{http://melusine.eu.org/syracuse/G/delaunay/} +\end{center} +%% == Page de garde ==================================================== +\newpage \maketitle @@ -258,9 +310,17 @@ file \Verb+mesh.txt+: ]{mesh.txt} \end{Exemple} +\begin{warning} +The drawing engine is not here very relevant. But it is useful to +understand how the drawing is made. However, the engine will make sens +for the so called \emph{inc} macros (section~\ref{sec:inc}), where we +will be allowed to add code before and after the generated one by +\luamesh. +\end{warning} + \subsection{Draw the Set of Points} -\commande|\tracePointsMesh[«options»]{«list of points» or «file name»}| +\commande|\drawPointsMesh[«options»]{«list of points» or «file name»}| \subsection{Draw a Step of the Bowyer and Watson Algorithm} @@ -268,7 +328,7 @@ file \Verb+mesh.txt+: \commande|\meshAddPointBW[«options»]{«list of points» or «file name»}{«point» or «number of line»}| -\section{The \emph{inc} Macros} +\section{The \emph{inc} Macros}\label{sec:inc} \section{Gallery of Examples}