Tagged Questions
8
votes
3answers
174 views
Parallel lines on a grid and circle best practices?
I am a TeX/LaTeX noob, but I am learning rapidly. I am about to attempt to draw the following figure using LaTeX/TeX/TikZ I already have a, (I think) good working knowledge of how to draw circles, ...
8
votes
2answers
124 views
How to make this pgfkeys code more compact and streamlined?
I have just managed to create my first command with pgfkeys. I defined a command \myset, whose purpose is to make (for example)
\myset[big]{abc}
correspond to
\bigl\{abc\bigr\}
Part of my goal ...
17
votes
2answers
200 views
Does a single \path for drawing a series of geometrical objects make the compilation more efficent?
The TikZ syntax is so liberal (as mentioned in the documentation) that makes me a bit confused with which I have to adopt. Best practice is really my main consideration in coding anything.
I have no ...
12
votes
2answers
199 views
How to avoid nesting of tikzpicture?
I have to draw the probability distribution function (PDF) in the following MWE multiple times in a figure as well as across multiple figures. I have read the following questions:
Problem with ...
13
votes
1answer
379 views
How to make TikZ faster?
I have a long document containing plenty of TikZ figures and it is painfully slow to compile it.
Is there any specific TikZ tips / good practices you could recommend me so that I can write figures ...
8
votes
1answer
133 views
Does a zero-length line with an arrow make sense? Is it a bug?
\documentclass[pstricks,border=12pt]{standalone}
\usepackage{pstricks-add}
\begin{document}
\multido{\i=0+30}{12}{%
\begin{pspicture}(-2,-2)(2,2)
\pscircle{1}
\pnode(1;\i){R}
...
2
votes
1answer
466 views
Update TikZ/PGF on mac
the TeXLive 2012 distribution on my Mac is shipped with TikZ version 2.10 - I want to use (try) the CVS (most updated beta(?) version). Here's what I've done so far:
Downloaded the the TDS package
...
10
votes
2answers
225 views
Difference between draw=none and draw opacity=0 (also for fill=none and fill opacity=0)?
What is the difference between the TikZ key-value pairs draw=none and draw opacity=0? Are they functionally equivalent, or are there situations in which one should be preferred over another? ...
2
votes
1answer
203 views
How to work with large projects
I am working on a project and i want to slim it down a litle so please help me with the
following. I have a document structure like this:
/DocumentRoot
|-main.tex
|-title.tex
|
|-/chapter-1
| ...
9
votes
2answers
566 views
How to draw automatically a filled wrapper around a node or a set of nodes?
The best way would be to use a style.
Manually there are at least three ways to get a filled wrapper :
\documentclass[11pt]{scrartcl}
\usepackage{tikz}
\usetikzlibrary{ fit,backgrounds, calc,scopes}
...
42
votes
2answers
5k views
Should \tikzset or \tikzstyle be used to define TikZ styles?
The PGF/TikZ manual states in section 12.4 Using Graphic Options, page 120 (v2.10), that TikZ styles can be set using:
\tikzset{my style/.style={<tikz options>},...}
However, in several ...
6
votes
2answers
630 views
Figures in Latex: TikZ vs. eps
I usually use TikZ to generate graphics in LaTeX, but a new coauthor suggested to use Inkscape and EPS files for our graphics. He thinks that we should avoid using additional packages. I never thought ...
10
votes
2answers
1k views
What is the preferred way of defining a TikZ constant?
I'm drawing a TikZ figure and am going to need a couple of constant that I could easily change between compilations, e.g. a main radius, a proportion, a number of lines, etc. What is the preferred way ...
12
votes
1answer
189 views
One path or several paths for a tikzpicture?
Perhaps the title of my question is not fine (let me know).
I try to finish a document about the best practices when programming with TikZ. I remark in several answers that a lot of users like to use ...

