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

0
votes
0answers
25 views

Approaches to automatically scale figures

I am trying to come up with a general rule of thumb to scale figures such that their vertical size and horizontal size does not exceed a certain limit (assume 300pt). The monkey patching way to do ...
2
votes
2answers
104 views

tcolorbox: remember height and tikz-external and tikzscale

This question is related to the answer of tcolorbox: get height of actual box from inside box Is it possible to get the newly defined option remember height working with ...
2
votes
1answer
33 views

tikzscale not working with externalize using named only

I found a weird behavior when using tikzscale in combination with the externalize-library: When I configure externalize with only named = true, but do not set /pgfsetnextfilename for an image, this ...
3
votes
2answers
52 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 ...
2
votes
0answers
35 views

tikzposter + tikzscale not working?

I've started creating a poster with tikzposter and have run into troubles when trying to use tikzscale. Namely, although the .log-file tells me Package grfext Info: Graphics extension search list: ...
1
vote
1answer
42 views

Tikzpicture: Scaling up the axis ticks and label

I have the following example plot. I want to scale up the X and Y axis ticks and labels. I want to add the image to a poster where I will resize it. The plot line remains big enough, but the axis ...
0
votes
0answers
41 views

Avoid multiply defined labels using tikzscale and TikZ externalize

I'm using the tikzscale package to scale my TikZ and PGFPlots graphics. This packages uses several iterations to get the desired dimensions. If I'm activating the externalization and use a label to be ...
1
vote
0answers
42 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 ...
15
votes
4answers
824 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 ...
1
vote
0answers
51 views

Scaling tikz graph when pgfplots is loaded

This question is related to: tikz: Scaling the unscalable — issues with a TikZ graph I'm using the suggested modification from the linked answer to scale tikz graphs. However, I'm also including ...
3
votes
1answer
151 views

Outsourcing Tikz and relative paths

Summary: How do I get includegraphics to be relative to the current file, when using tikzscale? Details Similar to pmav I like to have a .tikz file which contains only the tikzpicture ...
5
votes
1answer
79 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} ...
1
vote
2answers
108 views

Wide space between picture and caption

For some reason my v-space does not show up correctly! Does somebody know wy? \begin{figure}[h!] \centering \resizebox{.5\linewidth}{!}{\input{Figures/NIRS/Extinction}} \caption{Characteristic ...
4
votes
2answers
210 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 ...
0
votes
0answers
102 views

How to scale a figure including picture using tikzscale?

I'm having troubles with the tikzscale package. I'm trying to insert arrows above a picture. And, when I do so, I have the following error : "! Package tikzscale Error: Requested to scale unscalable ...
4
votes
0answers
232 views

tikz-plots get recompiled every time when using tikzscale

For my thesis I have a lot of tikzplots exported from matlab using the matlab2tikz library. I want to use the tikzscale-Package together with externalization of the plots to save compiling time. Using ...
3
votes
0answers
147 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 ...
2
votes
1answer
96 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 ...
5
votes
2answers
295 views

font size with tikzset and tikzscale not working

I want to set the font family and size for all pgf/tikz figures in my preamble. But when I use tikzscale, then this is ignored. Can anyone help? \documentclass[a4paper,12pt]{scrbook} ...
3
votes
1answer
78 views

Scale of Tikzpicture

I have a question to the following code: \begin{tikzpicture}[scale=0.6, >=latex,y=7cm,x=1.8cm] \draw[-angle 45,line width = 0.8pt] (-5,0) -- (5,0) node[right] {\scriptsize $x$}; \draw[-angle ...
1
vote
0answers
29 views

Nested environments to scale tikzpicture [duplicate]

I found this nice solution to scale a TikZ picture to \textwidth and wanted to use it within an own defined environment. \documentclass{article} \usepackage{tikz} \usepackage{environ} \makeatletter ...
6
votes
2answers
192 views

Scale the Axis in Tikz

I have the following problem: \begin{center} \begin{tikzpicture}[scale=0.5, >=latex] \draw[->] (-6,0) -- (6,0) node[right] {\scriptsize $x$}; \draw[->] (0,-5) -- (0,15) node[above] ...
3
votes
0answers
80 views

Using tikz arrow with scaleboxed tables

Following this post. I would like to use arrows with tables. Yet my tables are too big and I want to rescale them using scalebox. But went I use tikz with the scaleboxed tables I cannot point ...
3
votes
0answers
203 views

How to scale hatch in tikz figure in LaTeX?

I have ellipses with hatch. I want to use lines or bricks hatch but more rare than default. I can change spread between lines in this way Custom and built in TikZ fill patterns. It worked, but it's ...
4
votes
1answer
473 views

tikz: scaling the y axis

I would like to scale the y axis so that my plot isnt microscopic on the y axis. However, when I use yscale = x where x is some number, the image and the circles are distorted. I would like to ...
1
vote
1answer
360 views

Scaling pgfplot with tikzscale

I'm using tikz and pgfplots for graphs. When using a second y-axis on the right the scaling of tikz is not proper. So I tried to use the tikzscale package and the includegraphics but it seems to scale ...
5
votes
1answer
592 views

Problem combining tikzexternalize, tikzscale and external graphics

I have a problem when trying to scale and externalize a tikzpicture that includes an external graphics file. Using the following code will result in an output of the document but the figure is not ...
4
votes
1answer
546 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 ...
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
1answer
785 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, ...
3
votes
1answer
440 views

Peculiar tikz-external, pgfplots, tikzscale combination problem

I want to use \tikzexternalize and tikzscale with pgfplots' \addplot graphics command and \clip=false option. I am using three files: A.png, A.tikz and A.tex. A.png can be any graphics file. A.tikz ...
3
votes
0answers
238 views

tikzscale and \tikzsetnextfilename

I'm using Windows 7 or 8.1 with MiKTeX 2.9. I still have the problems, described here and here. I updated the packages with the package manager and I use \documentclass{report} ...
4
votes
1answer
413 views

tikzscale not working with subcaptionbox?

I have some complicated tikz pictures that I don't want to manually resize (therefore tikzscale) - but putting several in a figure doesn't seem to work with \subcaptionbox. It does work with subfigure ...
2
votes
3answers
552 views

Force Picture to take up remaining space on a page

I have a picture that needs to be presented in as large a format as possible due to its intrinsic size and the fact that the graph is reltively dense with information presenting results at 255 points. ...
8
votes
0answers
3k views

How to incorporate and scale matplotlib plots in latex using the PGF backend?

I am using the pgf backend of matplotlib to generate pgf files which I want to put into my latex document using tikzscale to be able to resize them easily. Example python code: #!/usr/bin/env python ...
4
votes
1answer
828 views

How to automatically align subfloat captions to xlabel of PGFplots?

Subfloat captions are not usually aligned with their corresponding xlable in PGFplots. One way is to manually move the captions horizontally to align them. For example, (copied from here) ...
1
vote
1answer
908 views

How to install the tikzscale package?

I downloaded tikzscale.zip from CTAN. I extracted the following files from tikzscale.zip: 3Dplot.tikz README histogramNormal.tikz linewidth.tikz pgfplots-test.tikz pgfplots.randn.dat ...
3
votes
1answer
312 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} ...
5
votes
0answers
1k views

Tikzscale, trim axis left/right, and externalizing

tikzscale and trim axis do not play well together, with the produced figure being larger than requested because it ignores the size of the labels. I was wondering whether it is possible to use both ...
3
votes
1answer
199 views

TikZ & External: figure re-created for no apparent reason

I'm having an issue where only one out of multiple figures is recreated despite the use of the tikz/external library. I've created a MWE which shows the same effect with only two figures. Below is my ...
7
votes
1answer
704 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 ...
4
votes
1answer
201 views

bug in tikzqtree/tikzscale

Background I was trying to find out if I can use tikzscale to scale the tikz-qtree figure in Text tree using tikz-qtree is too wide, don't know how to break lines and make the tree compact to fit ...
9
votes
0answers
265 views

tikzscale does not work with the Beamer class [closed]

I couldn't get tikzscale work with the Beamer document class. Here is a minimal example: Main.tex: \documentclass{beamer} \usepackage{tikz} \usepackage{tikzscale} \begin{document} ...
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 ...
3
votes
1answer
524 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. ...
6
votes
1answer
673 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} ...