The tikzscale pack­age ex­tends the \in­clude­graph­ics com­mand to sup­port tikzpic­tures. It al­lows scal­ing of TikZ im­ages and PGFPlots to a given width or height with­out chang­ing the text size.

learn more… | top users | synonyms

3
votes
1answer
913 views

font size scaling and node placement issues using pgfplots and tikzscale

From the tikzscale documentation I understand, that it is supposed to keep font sizes constant. However, this does not seem to apply to axis ticks or axis labels from pgfplots' axis environment. Also, ...
15
votes
4answers
1k views

Generate all 16 possible 2-variable shaded Venn diagrams in TikZ?

Let P and Q be two statements, each with 2 possible truth values: true (T) or false (F). These component statements P and Q can be joined by 16 possible binary connectives to form 16 unique simple ...
7
votes
1answer
1k views

scaling multi column groupplot while maintaining font size and node placement

This is a follow-up to two previous questions: 1: font size scaling and node placement issues using pgfplots and tikzscale 2: Scaling a multi-column TikZ/pgfplots groupplot to page width I would ...
3
votes
2answers
102 views

tcolorbox: get height of actual box from inside box

tcolorbox with \tcbuselibrary{raster} can distribute boxes to fill the hole page. After that I want my tikz image to fill the hole box. The width of the box content is given by \linewidth but how ...
6
votes
1answer
858 views

tikzscale and \tikzsetnextfilename do not work together

\tikzsetnextfilename does not work with tikzscale package. In the MWE, included file is A.tikz which should produce A.pdf. MWE works if tikzscale is not used. MWE: \documentclass{report} \usepackage{...
4
votes
2answers
371 views

tikz: Scaling the unscalable — issues with a TikZ graph

I have a graph that works by itself and I have to scale this graph inside my document (see code below). I got inspired for this from this post (Scale tikz figure to a percentage of \textwidth) that ...
3
votes
1answer
572 views

TikZ External and tikzscale: Figure is regenerated every time

I am using tikzscale with tikz external library in the list and make mode. Before using tikzscale, if I issued make -f main.makefile command, only the figures that were not present would be generated. ...
7
votes
1answer
1k views

tikzscale and histograms in pgfplots

Tikzscale is giving wrong results for histograms drawn in pgfplots. Histogram without scaling by tikzscale: Histogram after scaling: I have included a histogram from page 67 from pgfplots manual ...
7
votes
1answer
807 views

Exact scaling with TiKZ-scale

I am using tikzscale to scale all my figures to the same size. This works quite nicely, but sometimes there is a difference in the scaled width. I can manually tweak the scale parameter (using pdfcrop ...
1
vote
0answers
66 views

Error `tikzscale` package when scaling a figure, containing two axis environments next to each other, to the text width

I have a figure environment with which I depict two pgfplots axis environments next to each other. I want to scale the figure such that it uses the full \textwidth. I attempt to do so by means of the ...
6
votes
1answer
108 views

Why does \renewcommand not overwrite \includegraphics from tikzscale?

I have the following tex code \documentclass{scrartcl} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{tikz} \usepackage{tikzscale} \usepackage{filecontents} \usepackage{graphicx} \...
4
votes
0answers
171 views

Conflict tikzscale and matrix group plot

I want two axis environments next to each other in one figure environment. I want them to be vertically aligned and scaled to the width of the text. I am trying to achieve this by means of the ...
4
votes
1answer
637 views

inconsistent behavior of tikz [fit] and [transform shape]

I want to frame a set of nodes with the option [fit] ​​and change the overall size of the drawing with [scale = xx, transform shape] but I have unexpected behavior. the frame is no longer valid the ...
3
votes
1answer
333 views

How to pass a macro in externalized tikz?

I experience a problem when I use tikzscale package to compile figures externally. The minimal working environment is as follows. The main.tex: \documentclass[\myopts]{IEEEtran} \usepackage{lua-...
2
votes
1answer
130 views

Missing folder paths in tikz picture when loaded with tikzscale/standalone

I have a standalone mytikz.tikz picture which loads test.png. Both reside in the folder pics/. My main.tex, which uses tikzscale to load mytikz.tikz, is in the parent folder. Loading the test.png ...