Questions tagged [tikz]

TikZ is a set of higher-level TeX macros for producing vector graphics that use PGF (Portable Graphics Format)

TikZ is a set of higher-level TeX macros for producing vector graphics that use PGF (Portable Graphics Format)

470 questions
5
votes
1 answer

Latex flowchart line crossing line

I am building a flowchart which looks almost as I want it. The last detail that I would like to modify concerns 2 lines crossing one another. Here is my code: \tikzstyle{block1} = [rectangle, rounded corners, minimum width=3cm, minimum…
atalantafugiens
  • 423
  • 6
  • 16
5
votes
4 answers

fresh installation of PGF/TikZ crashes, why?

I have a clean CentOS 5.5 machine with tetex installed. Next, I installed PGF/TikZ: wget http://media.texample.net/pgf/builds/pgfCVS2010-06-02_TDS.zip unzip pgfCVS2010-06-02_TDS.zip \cp -r tex /usr/share/texmf texhash This is my…
yegor256
  • 102,010
  • 123
  • 446
  • 597
5
votes
2 answers

tikz: set appropriate x value for a node

This question resulted from the question here I want to produce a curly brace which spans some lines of text. The problem is that I have to align the x coordinate manually, which is not a clean solution. Currently I…
cknoll
  • 2,130
  • 4
  • 18
  • 34
4
votes
1 answer

Using tikz in quarto presentation

I'm trying quarto for my slides and wondering how to use \pause in tkiz code. Minimum working example is below for reference. --- title: "Test Slides" format: revealjs: chalkboard: buttons: false preview-links: auto css:…
MYaseen208
  • 22,666
  • 37
  • 165
  • 309
4
votes
1 answer

Labelling a tikz picture in Latex

\begin{tikzpicture} \filldraw[color=black!60, fill=white!5, ultra thick](-1,0) circle (0.8); \filldraw[color=black!60, fill=white!5, ultra thick](5,0) circle (0.8); \draw[black, ultra thick] (-1,0) -- (5,0); \end{tikzpicture} This code creates a…
user14854948
  • 41
  • 1
  • 1
  • 2
4
votes
2 answers

What are the ways to create draw data structures for latex?

I tried tikz/pgf a bit but have not had much luck creating a nice diagram to visualize bitfields or byte fields of packed data structures (i.e. in memory). Essentially I want a set of rectangles representing ranges of bits with labels inside, and…
alicephacker
  • 43
  • 1
  • 3
4
votes
1 answer

pgfSweave removes tikz-generated diagram

I run pgfSweave on a document that includes both diagrams drawn inline using tikz, and inline R-code. The R-code is executed and perfectly rendered but the diagrams don't appear in the final PDF. Instead, message are displayed at the appropriate…
Jay
  • 41
  • 1
4
votes
1 answer

connect nodes with Tikz without crossing other blocks

I want to connect the blocks B and M in my code without having the connection line "cutting" F. How can I force the connection to enlarge the connecting line and avoid…
venom
  • 173
  • 1
  • 6
4
votes
0 answers

Latex Tikz externalize with shell escape does not work

Im trying to use the Tikz externalize, because for some tikz pictures the file gets to big and exceeds the memory size. I found a lot of other topics with similar problems, but non of the solutions worked for me or I did not implement them well…
Jaspervb
  • 41
  • 5
4
votes
1 answer

Tikzpicture on every page

How can I include a tikzpicture on every page? I would like to create a complicated document template (page should be framed, and have a table to hold document information both in the header and footer). I was thinking of using something…
ipavlic
  • 4,906
  • 10
  • 40
  • 77
4
votes
2 answers

How to get the direction of a marking arrow point to the tangent of decoration point on the curve

I need to decorate a curve with the center of the arrow at the center of the curve. In tikz this can be achieved by setting the value of pre length equal to the length of the arrow, as in the following example \draw[decoration={ pre length=8pt,…
Kevin Powell
  • 591
  • 1
  • 5
  • 20
4
votes
1 answer

Using tikzDevice in lyx doesn't work

I am trying to include a histogram created with qplot(ggplot2) with the code chunk <>= plot(hist.age) @ It works just fine with dev='pdf', but doesn't work with dev='tikz'. The library…
Hengrui Jiang
  • 861
  • 1
  • 10
  • 23
4
votes
1 answer

TikZ coding: How to create space between polygon and the nodes it surrounds?

I'm using TikX with LaTeX to draw a technical diagram. I'm trying to draw an irregular polygon around a group of named nodes in a tree. I've gotten as far as \draw [rounded corners, thick] (node cs:name=add,anchor=north) -- (node…
Norman Ramsey
  • 198,648
  • 61
  • 360
  • 533
4
votes
3 answers

Problem with Gnuplot 4.4 and TikZ

I'm using Gnuplot 4.4, compiled with Lua support. It supposedly has the tikz terminal. I've successfully compiled my gnuplots to tex using "set terminal tikz". However, when adding this source to my latex document I keep getting the following…
halfwarp
  • 1,780
  • 5
  • 24
  • 41
4
votes
0 answers

antialiasing on diagonal lines in Tikz

I am wondering if there is any way to do anti-aliasing on diagonal lines like these? \documentclass[12pt]{article} \usepackage[utf8]{inputenc} …