doc: page de garde
authorMaxime Chupin (escudo) <chupin@fougeriens.org>
Thu, 24 Nov 2016 23:31:27 +0000 (00:31 +0100)
committerMaxime Chupin (escudo) <chupin@fougeriens.org>
Thu, 24 Nov 2016 23:31:27 +0000 (00:31 +0100)
doc/figure.pdf [new file with mode: 0644]
doc/fond.mp [new file with mode: 0644]
doc/fond.pdf [new file with mode: 0644]
doc/luamesh-doc.pdf
doc/luamesh-doc.tex
doc/luamesh.pdf [new file with mode: 0644]
doc/luamesh.w [new file with mode: 0644]
doc/meshgarde.txt [new file with mode: 0644]

diff --git a/doc/figure.pdf b/doc/figure.pdf
new file mode 100644 (file)
index 0000000..cc34c3c
Binary files /dev/null and b/doc/figure.pdf differ
diff --git a/doc/fond.mp b/doc/fond.mp
new file mode 100644 (file)
index 0000000..8f2ca64
--- /dev/null
@@ -0,0 +1,21 @@
+input svgnames;
+
+l = 596;
+h = 842;
+
+pair A, B, C, D;
+
+A = (0,0);
+B = (l,0);
+C = (l,h);
+D = (0,h);
+
+beginfig(1);
+
+  fill (A--B--D--cycle) withcolor Moccasin;
+  fill (A--C--D--cycle) withcolor Gainsboro;
+  
+
+endfig;
+
+end
diff --git a/doc/fond.pdf b/doc/fond.pdf
new file mode 100644 (file)
index 0000000..2221815
Binary files /dev/null and b/doc/fond.pdf differ
index 0212308..e016cff 100644 (file)
Binary files a/doc/luamesh-doc.pdf and b/doc/luamesh-doc.pdf differ
index e59f7fc..eb9d876 100644 (file)
@@ -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}
 \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}
 
diff --git a/doc/luamesh.pdf b/doc/luamesh.pdf
new file mode 100644 (file)
index 0000000..a212e93
Binary files /dev/null and b/doc/luamesh.pdf differ
diff --git a/doc/luamesh.w b/doc/luamesh.w
new file mode 100644 (file)
index 0000000..2e26513
--- /dev/null
@@ -0,0 +1,6 @@
+%@EXEC:pstopdftrim
+PATRON:texte-ombrage.ps
+FONT:CaslonECB
+TEXTE:mp-gdd
+MARGES:-1 12 8 8
+
diff --git a/doc/meshgarde.txt b/doc/meshgarde.txt
new file mode 100644 (file)
index 0000000..89e58d4
--- /dev/null
@@ -0,0 +1,9 @@
+0  0
+6  0
+2  4
+1.5  2
+2.  0.5
+3  2.6
+3.5  1
+5 3.
+0.3 3.2

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.