6
votes
3answers
197 views

Make a polygon with automatically labelled nodes according to their coordinates

The goal: Make a polygon (and a circle containing that polygon at the nodes of the polygon, without the polygon's lines) with automatically numbered nodes according to their coordinates (x,y) [which ...
3
votes
2answers
202 views

Overwrite TikZ auto placement of weights in graph

So I have the following graph: \documentclass{article} \usepackage{amsmath} \usepackage{tikz} \usepackage[english]{babel} \begin{document} ...
5
votes
1answer
443 views

TikZ to PDF from the command line

I am generating TikZ files using figures from MATLAB (using a MATLAB function from the stack exchange). I then open these files using TikzEdt, and generate the PDF file. Is there a way to make it ...
12
votes
3answers
338 views

Draw Polygonal Number Using PSTricks (or TikZ)

I would like to draw the following using PSTricks (or TikZ): (Found on http://i1.wp.com/mathandmultimedia.com/wp-content/uploads/2012/08/polygonal-numbers.png.) I can do it myself using an ...
3
votes
1answer
341 views

TikZ: labeling a small arc

How can I automate labeling a small arc? \documentclass[tikz, convert = false]{standalone} \begin{document} \begin{tikzpicture} \draw (0, 0) arc[radius = .25cm, start angle = 0, end angle = 30]; ...
5
votes
1answer
396 views

How to draw rectangle edge label in tikz?

I want to draw something like this. How to get that rectangle edge label? This is the MWE. \documentclass{article} \usepackage{tikz} \usepackage[margin=15mm]{geometry} \usepackage{calc} ...
2
votes
1answer
306 views

How to draw bigger circular states and multiple transitions in automata?

I want to draw something like this. I have three difficulties: How to draw bigger circular states and dashed circular state? How to draw multiple arrows between states? (Ex. In the state "App ...
10
votes
2answers
294 views

How to create commands for automating the commenting process on some zones of a picture

I have a lot of comments to make on different pictures, I can do it with the following command for ex: \begin{tikzpicture} \node[anchor=south west,inner sep=0] (image) at (0,0) ...
1
vote
1answer
193 views

Automate Controls for Curves

I am looking to automate (simplify) the path drawn in blue on my MWE. I am trying to avoid nodes if possible as this is nested in a tikzpicture. Ideally I was hoping to simply specify the begin and ...
10
votes
2answers
811 views

tikz External: \tikzsetnextfilename and \tikzpicturedependsonfile

Consider the following MWE. If \tikzpicturedependsonfile is commented out, the code runs as expected. A.dep is created stating the dependency of A.pdf on A.dat. Now, lets try to add the tikz source ...
7
votes
1answer
750 views

Timeline with automatized hours and minutes

Some time ago I've asked a question about Timelines, many solutions were given, but in the end I decided to go with TikZ and also presented my solution. But I couldn't have done it without Torbjørn ...
3
votes
1answer
151 views

How to automatize the creation of arrows in TikZ?

I'm creating yet another graph and I don't have particular problems. I can easily create the nodes, assign IDs and create arrows/paths using these IDs. But when there is a lot of content and there is ...
9
votes
1answer
522 views

Label automatically positioned so that it doesn't overlap anything

I produce automatically generated LaTeX-files with nodes and links. Is it possible to put the label of the node outside of the node and it is automatically positioned somewhere, such that there is no ...
12
votes
2answers
655 views

Automatically avoid more than one node when drawing a path

Background Andrew Stacey's answer to Automatically connect nodes without overlapping other nodes or connections presents code to make a path avoid a node by going through a corner of that node ...
12
votes
1answer
1k views

Automatically connect nodes without overlapping other nodes or connections

In making a tree diagram with TikZ. Say that I've got the following nodes \node(a) {\(A\)}; \node(b1) at ($(a)+(4,1)$){\(B_1\)}; \node(b2) at ($(b1)+(0,-1)$){\(B_2\)}; \node(c) at ...
26
votes
4answers
5k views

Script to automate externalizing TikZ graphics

Is there a script to automate externalizing TikZ graphics? (As suggested by Scott here)