PGF/TikZ: Difference between revisions

From miki
Jump to navigation Jump to search
Line 7: Line 7:
** [http://www.ctan.org/tex-archive/graphics/pgf/base/doc/generic/pgf/pgfmanual.pdf {{pgftikz}} manual] (see also {{file|pgfmanual.pdf.gz}} in debian package {{deb|pgf}})
** [http://www.ctan.org/tex-archive/graphics/pgf/base/doc/generic/pgf/pgfmanual.pdf {{pgftikz}} manual] (see also {{file|pgfmanual.pdf.gz}} in debian package {{deb|pgf}})
* [http://www.texample.net/tikz/examples/ {{pgftikz}} gallery at TeXample.net] (impressive set of examples!!!)
* [http://www.texample.net/tikz/examples/ {{pgftikz}} gallery at TeXample.net] (impressive set of examples!!!)

;Packages
* [http://altermundus.fr/pages/download.html tkz-euclide] An extremely '''simple and powerful''' drawing package for drawing geometry figures.


== Reference ==
== Reference ==

Revision as of 22:56, 27 October 2014

PGF/TikZ is a powerful drawing package that can be used to produce professional-looking graphics. In particular PGF/TikZ interpreter can be used from LaTeX documents.

Links

Packages
  • tkz-euclide An extremely simple and powerful drawing package for drawing geometry figures.

Reference

To be completed.

Troubleshoot

markings decoration not show in curved path

Setting a decoration at position 1 does not work when using curved paths. An easy fix is to use 0.999 instead (see also bug, [1]).

\begin{tikzpicture}[node distance=1cm,
    decoration={markings, mark=at position 0.999 with {\arrow[scale=2]{stealth}}}]
  \node (c) {C};
  \node [below=5pt of c] (d) {D};
  \draw[postaction={decorate}] (c) to [out=0,in=0,looseness=3] (d);
\end{tikzpicture}
Trouble in labels

Better enclose label text in curly braces:

% ...
\node[mult]                   (m)   [label=right:{$\rsam$}] {};
% ...
\matrix [matrix of math nodes]
{
  |(m1) [label=left:{\dagnode_1=1}]| {} \\
};