Linked Questions

0
votes
2answers
902 views

How to use tikzstyle locally? [duplicate]

You can use \tikzsytle{mystyle}=[some options]; to define a custom mystyle globally, that means it affects all tikz graphics in the document, but is there also something similar if you want to define ...
153
votes
25answers
8k views

How can I convert my TeX-illiterate coworkers to LaTeX?

I've been using LaTeX consistently for about two years now and I haven't looked back to my MS Word/PowerPoint/Publisher days since. I'm working at a research institute / university spin-off where the ...
51
votes
1answer
57k views

Comprehensive list of TikZ style options?

I'm aware that one can use \tikzstyle{every label}=[...] to apply styles to every label within a tikzpicture; or \tikzset{mystyle/.style={...}} to apply style specs to a specific type of node mystyle (...
34
votes
3answers
11k views

How to align text in TikZ nodes by baseline?

I need to draw a graph where some nodes have the same y-coordinate. I want the text within the nodes on the same y-coordinate to be baseline-aligned. However, the text seems to be aligned by the ...
18
votes
3answers
2k views

Replicating a simple diagram in Knuth's book using TikZ

Despite the many attempts to draw this simple flowchart, I didn't really know how to do the following: Drawing a start arrow (as the one before A1) Drawing an end arrow (as the one after A2 and A7) ...
17
votes
3answers
3k views

Choosing styles conditionally in TikZ

I want to create a series of images that visualise a recursion tree as walked on by an algorithm. That means that different styles are applied to nodes depending on the step the algorithm is in, such ...
18
votes
2answers
2k views

High level digital design in TikZ

I am very new to TikZ and I have trouble making a diagram similar to the one here: My problems are specifically making MUX to get to inputs which would be on 1/3 and 2/3 of the width. Taking sigma ...
7
votes
4answers
3k views

Directed graph weights

How can I make the weights to be positioned on the diagonals by using TikZ so that it is clear to which edge the weight belongs? \begin{tikzpicture}[ > = stealth, % arrow head style ...
11
votes
5answers
737 views

Alignment of isosceles triangles in TikZ

I'm trying to line up a few isosceles triangles, but I cannot get all of them to align at their top (or bottom) properly. Following is the MWE: \documentclass{article} \usepackage{tikz} \...
11
votes
3answers
3k views

How to create simple causal chains with TikZ

I have a problem trying to create a simple causal chain, as it can be seen on the attached file: List of available TikZ libraries with a short introduction. I'm having two main issues: I would like ...
13
votes
2answers
9k views

TikZ animated Equation in Beamer

I'm trying to reproduce the example on creating a Presentation with LaTeX Beamer – Equations and tikz and the given code throws the following error Package pgfkeys Error: I do not know the key '/...
5
votes
4answers
6k views

TikZ: Diagram of a perceptron

I'm trying to create a TikZ based version of the following diagram (taken from here), but I don't know how to approach it. It doesn't need to look exactly like the original, but the basic idea should ...
9
votes
5answers
1k views

Adding words centered above other words with TikZ

I'm writing a sentence, and I'd like to add labels to the elements of the sentence above those elements. In the example below, I'd like the label Verb to be centered above the verb constitutes and the ...
18
votes
1answer
8k views

tikz: Can we set the corner coordinates of a rectangle?

I already have \tikzstyle{block} = [draw, fill=yellow!20, text centered, rectangle, minimum height=0.8cm,minimum width=6em, align=right] First, I can obtain a rectangle by \node (rect) [block] at (...
22
votes
1answer
22k views

Size of TikZ ellipse node

When I set the minimum size of an ellipse in a tikzpicture environment, it expands into a circle if the inner content does not grow as large as the ellipse shape itself. Is there any way around it? \...

15 30 50 per page
1 2 3 4 5 13