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
0
votes
1 answer

Positioning of hyperlinked shapes with matrix in tikz

I can draw a hyperlinked shape in tikz using the following code: \documentclass{article} \usepackage{tikz} \usetikzlibrary{matrix} \usepackage{hyperref} \begin{document} \begin{tikzpicture} \node {% \href{http://www.stackoverflow.com}{%…
learnr
  • 6,479
  • 4
  • 27
  • 23
0
votes
1 answer

Large space between y-ticks and y-label

In an Knitr document, I'm using a custom label function which outputs some LaTeX code (it's useless here, just to illustrate the problem). In normal plots, everything is fine: R manages to correctly guess the metrics of the output and leaves a…
pascal
  • 2,623
  • 2
  • 20
  • 30
0
votes
1 answer

TeX capacity exceeded, input stack size

I'm trying to read some coordinates from a file and then draw them using TikZ. The file is on this format: timestamp 1.002132 3.2131231 timestamp 1.332132 2.9120 This is the code I have: \begin{tikzpicture} …
msfoster
  • 2,474
  • 1
  • 17
  • 19
0
votes
2 answers

sanitize lattice axis labels for tikz device

I'm trying to knit a lattice contourplot into a PDF document using knitr and the tikz device but am getting an Error in getMetricsFromLaTeX(TeXMetrics) on compile. Here's the minimal reproducible…
RoyalTS
  • 9,545
  • 12
  • 60
  • 101
0
votes
1 answer

Unable to generate a grouped histogram with knitr using tikz in beamer

I'm trying to generate a histogram with knitr and the tikzDevice for a beamer presentation. I have already generated the histogram using the console in R-studio so it appears the data is formatted correctly but compiling the document (using…
Hantabaru
  • 111
  • 8
-1
votes
1 answer

Why can't I use `int`, `mod`, `floor` even if I added the package where these functions are defined, in LaTeX?

I am getting frustrated. I am trying to use int, mod, floor functions and even Mod in LaTeX, but I always get a undefined control sequence error. I have included the following…
noun
  • 3,635
  • 2
  • 25
  • 27
-1
votes
1 answer

How to make a graphic where one image points to two other images with arrows in latex?

I want to create a graphic like the one in the attached image in latex, where each box represents an image (a graphic I want to insert). I also want to be able to write a word over the arrows that point from one image to another.
-1
votes
1 answer

Drawing a picture using Latex

\begin{tikzpicture} \tikz \draw (0,0) circle [radius=1cm]; \draw [thin, ->](-1,1) -- (0,1); \draw[thin, ->] (-1,1) -- (1,2); \end{tikzpicture} I can't make the second arrow inside the circle
-1
votes
1 answer

LaTeX hexagonal chains

I am using LaTeX for research with hexagonal chains and would like to know some ways to create the a horizontal hexagonal chain. So far I only have some going vertically; I have used code I received on here under a previous question but haven't…
phys
  • 1
  • 1
-1
votes
1 answer

Drawing auxiliary lines in tikz

In latex, how do I draw an auxiliary line, a line that is partitioned into many little lines, from one point to another point with tikz? I know how to use regular lines, but not auxiliary.
-1
votes
1 answer

How to do this number line using tikz?

I'm new to tikz and drawing using LaTeX. Please help.
-1
votes
1 answer

Example need for for-loops with tikz package in TeX

call for help: could someone provide me a basic example of using the for-loops of TeX using the tikz package? In particular: make 10 circles with common center, each one is bigger by 1cm in radius than the former one. Then, every 30 degrees draw a…
jupiter_jazz
  • 333
  • 2
  • 8
-1
votes
1 answer

How to draw a cross section of an engine in TikZ

I would like to convert the following picture, which is a cross section of an engine, into a TikZ code: How to start with this picture? How to draw the walls and pipes in an easy way? How to draw the oil (the hatched area)?
19yc93
  • 15
  • 1
  • 4
-1
votes
1 answer

Side comment between equation (LEFT)

I found the following page, which is almost what I want https://tex.stackexchange.com/questions/344379/side-comment-between-equation/344386#344386 Can someone explain me what change I have to do such that I can put this arrow on the left of my…
jolien
  • 3
  • 3
-2
votes
0 answers

TiKz : how to draw an arrow on top of another arrow

How to draw an arrow on top of another arrow with bending like the blue arrow in the attached image:
Nirit
  • 1
  • 3
1 2 3
31
32