# Tag Info

1

When you are making axis and plots, you can use pgfplots. Here you can also use tikz package, to draw simple figures, by (axis cs: x,y) \documentclass{article} \usepackage{tikz} \usepackage{pgfplots} \begin{document} \begin{tikzpicture}[scale=0.5] \begin{axis}[ axis lines=middle, domain = -8:8, xmin = -8, xmax = 8, ymin = -8, ...

2

There is an svg2tikz extension for inkscape available from https://github.com/kjellmf/svg2tikz I haven't tried it personally so no example here. Jake has an example on site at http://tex.stackexchange.com/a/245839/1090

1

Like this? The code of above image is: \documentclass[border=3mm, tikz]{standalone} \usetikzlibrary{chains} \begin{document} \begin{tikzpicture}[ start chain = going right, every node/.style = { draw, minimum height=3em, text width=7em, align=center, on chain, join} ] \node {node with\\linebreak}; ...

0

You could use a minipage to allow the line break within the node. \documentclass{minimal} \usepackage{tikz} \usetikzlibrary{chains} \begin{document} \begin{tikzpicture}[ start chain, every node/.style={ draw, text height=1.5ex, text depth=.0ex, text width=7em, text centered, ...

2

Here's a way of doing it with PGF keys and a couple of macros. It allows you to say \tikzset{% S1 set={3,5,8}, S2 set={1,4}, } for example, to determine which nodes should take each of styles S1 and S2. It is probably a bad idea to name nodes using numbers alone, but I've not changed this in the code below. (Giving each a standard prefix is an easy ...

2

This version adopts etoolbox, very powerful package for setting conditions. I guess it could be included in the \tikzset but I'm not sure how yet. I'll edit the answer in case. Output Code \documentclass[margin=10pt]{standalone} \usepackage[utf8]{inputenc} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{tikz} ...

1

Frankly said, I do not understand what you doing in your code and what should be your result, so the main purposes of this answer is clarify this. The MWE below generate this picture: where colors are select on basis even/odd number in \label: \documentclass[10pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage{amsmath,amsfonts,amssymb} ...

2

You can call \usetikzlibrary{positioning} to specify where to place a label. In this case, you want it to the northeast, so you'd specify it as \node[above right=<distance> of \label]. I found a distance of 0 looked nice, but you can adjust it as needed. \begin{tikzpicture} \foreach \i in {1,...,9} { \pgfmathtruncatemacro{\y}{(\i - 1) / 3}; ...

0

If you are prepared to use forest, you can specify the angles between the siblings and their parent nodes etc. in various ways. Note, however, that forest is pretty good at auto-adjusting these kinds of things, so you may not really need to set them manually. \documentclass[tikz,border=10pt]{standalone} \usepackage{forest} \tikzset{ Decision/.style = {% ...

1

Is this what you looking for? Your problem is definition what is minimum width of second "signal". It is a bit tricky ... however, the following code works: \documentclass[12pt]{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{lmodern} \usepackage[frenchb]{babel} \usepackage{tikz} ...

0

You can also correct for that inset in the arrow shape like this (with some easy trigonometry): minimum width=2*30mm+1mm - 5mm/tan(55) + 1\pgflinewidth which gives the right width as the image below.

4

As has been already pointed in comments, sept3 is a sign and oct3 is an arrow and although their minimum width is the same, the distance between oct3.east and setp3.west is not 2*minimum width because sign nodes are "inserted" inside arrow left side. A possible solution for your scheme could be using let to calculate a new minimum width, with \draw let ...

2

With your MWE I can't reproduce your image. Text in nodes are normally vertical spaced: I guess, that in your document you have in preamble determined bigger baseline stretch, something like \renewcommand\baselinestretch{1.5}, which gives approximately the same image as you show in the your question: The cure against this vertical stretching ...

3

If you replace \node[rectangle] (q_dots) [right=of q_2] {$\cdots$}; with \node[state, draw=none] (q_dots) [right=of q_2] {$\cdots$}; it works. However, I'm not sure about your second point. You want the last dots to be actually an invisible node?

Top 50 recent answers are included