diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/pgfornament/ornaments.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/pgfornament/ornaments.tex | 38 |
1 files changed, 29 insertions, 9 deletions
diff --git a/Master/texmf-dist/doc/latex/pgfornament/ornaments.tex b/Master/texmf-dist/doc/latex/pgfornament/ornaments.tex index c55750c9595..ed358262698 100644 --- a/Master/texmf-dist/doc/latex/pgfornament/ornaments.tex +++ b/Master/texmf-dist/doc/latex/pgfornament/ornaments.tex @@ -179,7 +179,7 @@ urlcolor=orange} \maketitle \begin{abstract} -\noindent\lefthand\ ((Version 0.2) +\noindent\lefthand\ ((Version 0.21) This document describes the \LaTeX\ package \emph{\docpkg{pgfornament}} and presents the syntax and parameters of the macro "pgfornament". It also provides examples and comments on the package's use. Firstly, I would like to thank {Till \textsc{Tantau}} for the beautiful \LaTeX\ package, namely \TIKZ. @@ -270,7 +270,7 @@ You only need to add \\ \begin{marginfigure}% \begin{center} \pgfornament[width = 2cm, - color = purple]{2} + color = red]{1} \end{center} \caption{Result of the minimal code} \end{marginfigure} @@ -968,7 +968,7 @@ Example with a pentagon \end{marginfigure} \newpage -\subsection{How to use the option \tkzname{at}} \index{at} % (fold) +\subsection{How to use the option \tkzname{ornament/at}} \index{ornament/at} % (fold) \label{sub:how_to_use_the_option_at} It's possible to move the ornament on the line AB. You only need to write \tkzname{at = number} where number is a percent like \tkzname{pos}. @@ -977,8 +977,8 @@ It's possible to move the ornament on the line AB. You only need to write \tkzna \node (A) at (0,0) {}; \node (B) at (4,0) {}; \draw [help lines,color=Maroon!60] (0,-1) grid (4,1); - \path (A.center) to [ornament=84,at=0] (B.center); - \path (A.center) to [ornament=84,at=1] (B.center); + \path (A.center) to [ornament=84,ornament/at=0] (B.center); + \path (A.center) to [ornament=84,ornament/at=1] (B.center); \end{tikzpicture} \end{tkzexample} @@ -988,8 +988,8 @@ It's possible to move the ornament on the line AB. You only need to write \tkzna \node (A) at (0,0) {}; \node (B) at (4,0) {}; \draw [help lines,color=Maroon!60] (0,-1) grid (4,1); - \path (A.center) to [ornament=84,at=0] (B.center); - \path (A.center) to [ornament=84,at=1] (B.center); + \path (A.center) to [ornament=84,ornament/at=0] (B.center); + \path (A.center) to [ornament=84,ornament/at=1] (B.center); \end{tikzpicture} \caption{at} \end{figure} @@ -1338,12 +1338,14 @@ The next list concerns symbols used to make a line. \addtocounter{compt}{1}% \hfill\small{\thecompt)}&\hfil\pgfornament[anchor=south,width=2cm]{\thecompt}\hfil\\ \end{tabular}\par\medskip -\ifnum\thecompt<154 \addtocounter{compt}{1} +\ifnum\thecompt<153 \addtocounter{compt}{1} \repeat \caption{A list of hands .} \label{tab:ornaments : hands } \end{table} +Remark : Ornaments 154 and 155 are identic but their sizes are smaller. + \section{Ornaments : Humans}\label{sec:humans } The next list concerns symbols used to make a line. @@ -1375,7 +1377,7 @@ The next list concerns symbols used to make a line. \addtocounter{compt}{1}% \hfill\small{\thecompt)}&\hfil\pgfornament[anchor=south,width=2cm]{\thecompt}\hfil\\ \end{tabular}\par\medskip -\ifnum\thecompt<145 \addtocounter{compt}{1} +\ifnum\thecompt<144 \addtocounter{compt}{1} \repeat \setcounter{compt}{160}% @@ -1391,6 +1393,8 @@ The next list concerns symbols used to make a line. \label{tab:ornaments : humans } \end{table} +Remark : Ornaments 143, 144 and 145, 146 are identic but their sizes are diffrent. + \newpage \section{Ornaments : Objects part 1}\label{sec:objects1 } The next list concerns symbols used to make a line. @@ -2167,6 +2171,22 @@ You modify the code like this : \sidenote{You can also modify all the coordinate % % subsection from_eps_or_mps_file (end) % \newpage +\section{Problem} % (fold) +\label{sec:problem} +If you got an error like "Package tikz Error: + or - expected.", perhaps there is a conflict with the babel package. +It's possible to resolve this type of conflict with \Verb|\shorthandoff{!}| just before your tikzpicture. You can also write in your preamble + +\begin{tkzexample}[code only,small] +\tikzset{every picture/.prefix style={% + execute at begin picture=\shorthandoff{!}}} +\end{tkzexample} \index{shorthandoff} + +and finally you can use \Verb|\usetikzlibrary{babel}| only with pgf 3.0 +In french, you can get an error with ! : , and ;. Babel makes these characters activ + +If you got a problem with the option \Verb|at| replace \Verb|at| by \Verb|ornament/at|. +% section problem (end) + \printindex \end{document} |