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
4
votes
0 answers

tikz stops drawing into pdf after 20 line segments in plot generated through knitr tikzDevice

Problem If I try to draw a curve generated through knitr using tikzDevice into .pdf only 20 line segments of that curve are drawn and TeXstudio, through which I do it, just leaves message running command…
VaNa
  • 311
  • 4
  • 17
4
votes
0 answers

Formatting of ggplot2 graphic text font sizes when using knitr

I was under the impression that if I used the tikz device (that I am trying for the first time today) that graphic text would be consistent with the text in the rest of my Latex document (generated using Knitr / RStudio). However, what I am seeing…
user1420372
  • 2,077
  • 3
  • 25
  • 42
4
votes
0 answers

TikzDevice: 'cannot create lock file' error when using grid.arrange

I would like to use the tikz plotting device for my document. I compile a *.Rnw file from RStudio and I get an error message as soon as I set dev='tikz' The error The error message is that Error in createLockFile(lockname): cannot create lock…
pfifas
  • 592
  • 4
  • 11
4
votes
3 answers

Convert DVI to SVG with dvisvgm issue

I try to use below steps to get a SVG file but it seems the output SVG file not displayed correctly. Use latex to compile latex code test.tex to dvi file. \documentclass{standalone} \usepackage{tikz} \begin{document} \begin{tikzpicture} …
lucky1928
  • 8,708
  • 10
  • 43
  • 92
4
votes
0 answers

tikz mindmap/tree or graph autolayout

I'd like to know if there exists an auto layout function for mindmaps created with tikz (I'll refer to the example http://www.texample.net/tikz/examples/feature/mindmaps/). If I add grow cyclic to the path, the size and distance of the nodes to each…
Kalle Richter
  • 8,008
  • 26
  • 77
  • 177
3
votes
2 answers

gnuplot tikz terminal

How do I enable the tikz terminal in gnuplot on Mac Os X(10.6.8)? I have latex with working tikz. Now I installed lua from http://www.lua.org/ and Downloaded gnuplot4.4.4, unpacked it, and run $ ./configure $ sudo make $ sudo make install Now I can…
hpekristiansen
  • 1,030
  • 3
  • 17
  • 35
3
votes
1 answer

How to rotate footnote with listings?

How can I rotate footnote, which contains a listings? Currently my code looks like: \documentclass[12pt]{article} \usepackage{listings} %kod programów \usepackage{graphicx} \begin{document} \rotatebox{180}{\footnote{Trzeba…
constantin_d
  • 57
  • 1
  • 7
3
votes
0 answers

Passing preamble to tikzmagic %%tikz in Jupyter notebook

I am using the tikzmagic extension with a Jupyter notebook to embed some TikZ diagrams into the notebook. (I am open to alternatives if there is a better way.) In one cell, I create an iPython variable preamble like…
Colin Fraizer
  • 532
  • 4
  • 14
3
votes
1 answer

Get 'east' position of tikz legend

I would like get the 'east' (or 'south east') position (marked '*')of the legend of a named tikz axis plot (name = MyAxis) which has the following layout (legend is positioned right of MyAxis and the x-axis labels can have different…
3
votes
1 answer

Using Tikz positioning with \onslide\visible\only inside beamer

I have the following image: and I want its elements to appear in a certain order in my beamer presentation. For the moment, I'm trying to make a_1, a_2 appear in a second slide. I'm using this…
Peanojr
  • 185
  • 1
  • 8
3
votes
1 answer

Manim is not drawing correct Circuitikz/Tikz figures

I'm very new to coding and am mostly trying to learn on my own. I'm starting to pick up the basics of manim, but am still having difficulties with troubleshooting. I've been trying to get manim to draw tikz diagrams. I started by drawing a simple…
3
votes
1 answer

Setting Tikz Boarder Globally | Latex

With the following Code I am able to set the boarder for current page, but how can I make the boarder available to all pages without explicitly setting it on every page. % !TeX TS-program = xelatex % | xelatex % \documentclass[12pt,…
Lawliet
  • 77
  • 6
3
votes
1 answer

Latex Tikz/Pgf declaring shapes with parameters and anchors with numbers

I am writing some shapes in pgf and i don't really know everything about how this works but i managed to get through the documentation. \pgfdeclareshape{reg}{ % The 'minimum width' and 'minimum height' keys, not the content, determine % the…
MrDiver
  • 112
  • 1
  • 8
3
votes
1 answer

Decorative page border in LaTeX and TikZ

Long-time LaTeX user but first time posting. I'm out of my depth with TikZ and don't know if there is a better way to approach this problem. I'm trying to add a decorative page border along the top of every page so that it resembles the border of an…
xxLday
  • 33
  • 1
  • 5
3
votes
1 answer

Precise and smooth curve with Tikz

I'm trying to draw some curves, but it doesn't work out very well. what I need what I get \documentclass{standalone} \usepackage{tikz} \usepackage{pgfplots} \begin{document} \begin{tikzpicture} \begin{axis}[ …
Stephan
  • 31
  • 1
  • 2