Questions tagged [tikzscale]

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.

Filter by
Sorted by
Tagged with
1
vote
1answer
33 views

tikzscale does not preserve clickable reference location with hyperref+cleveref

I am using tikzscale to shrink a tikz figure located in another .tikz file. While the color of the references is preserved, the reference clickable regions are no longer aligned with the text. When I ...
4
votes
1answer
46 views

Autoscale tikzpicture to maximum size possible on a page

Is it possible to scale a tikz figure to the maximum size possible for the page with the text that is present on it using some parameters? For example, are there some parameters such that \usepackage{...
2
votes
1answer
59 views

Problem with scaling entire tikzpicture with transform canvas

I read this. They suggest using transform canvas, which is rescaling but also it moves the picture where there is text (see figure). I also tried using \resizebox{}{} or \scalebox{}{}, bu that just ...
0
votes
0answers
28 views

Automatically create .tikz file after compiling .tex file of external tikz picture

I value the function of the tikzscale-package. A remaining issue is the neccesity of having to save an extra .tikz-file for every external tikz-picture nested in a .tex-file. So when wanting to make ...
2
votes
1answer
84 views

Rescaling icon made in TeX

A few days ago, I posted here about my tikz picture as an icon. So, you helped me and it worked. But now, I have some problem. I would like it to be rescaled so I could use it with command \bracket{}{}...
0
votes
0answers
47 views

adding a scale bar

I am a new LaTeX user and am using TexStudio. I want to know how to add a scale bar in white to the south east corner of an image. I do not need to add any text. I will put the size of the scale ...
1
vote
1answer
24 views

Error bar doesn't scale according to y axis

I was building a graph with error bars for my thesis. However the values for error bars don't seem to scale according to the y axis and so the size is completely off. I'm not experienced with LaTeX, ...
1
vote
2answers
353 views

Create a groupplot with specific total width, font family, and font size

I want to use pgfplots to plot a groupplot who's width (8 cm), font family (Arial), and font sizes (10pt for the axis labels, 8pt for the tick labels) are specific. I've tried tikzscale to get the ...
1
vote
1answer
46 views

Combining tikzexternalize with tikzscale and trim axis

Attempting to build the following results in pdflatex hanging and building the file over and over again forever: % !TEX options=--shell-escape \documentclass{article} \usepackage[english]{babel} \...
1
vote
1answer
38 views

What is the relationship between given coordinates, scale, and obtained coordinates?

I have a pgfshape declared as \pgfdeclareshape{Curve1}{ \inheritsavedanchors[from=coordinate] \inheritanchor[from=coordinate]{center} \backgroundpath{ \begin{pgfscope} \pgftransformshift{\centerpoint}...
1
vote
0answers
64 views

Scale tikz down including lines and arrowheads

I want to scale down a tikzpicture, so it fits on one page. With [thick,scale=0.6, every node/.style={transform shape} that works pretty well, except for line thickness and arrowheads. So I was trying ...
3
votes
1answer
225 views

Draw dashed line with solid and empty circle using tikz

Problem: Trying to get empty circles to work with tikz and add text to the right of the circles. I have not been able to find the correct command for these two issues. Minimal Working Example (MWE): ...
1
vote
1answer
299 views

minuscule text in a standalone environment

The {memoir} document class allows for text smaller than \tiny, with the \miniscule command, which can be useful, but I never find myself needing to write an actual memoir. I tend to use either {...
2
votes
1answer
55 views

tikz scale not congruence in Tex

I have code for a figure below \begin{tikzpicture}[scale=1,font=\footnotesize] \coordinate (A) at (0,0); \coordinate (B) at (0:1.5); \coordinate (C) at ([shift={(B)}]-50:1); \coordinate (D) at ([...
6
votes
1answer
96 views

pgfplots: set effective width of figure if no label given

How to ensure that the set width of pgfplot figure is correctly applied in case I do not have a label? Please consider the example below \documentclass{article} \usepackage{pgfplots,calc,...
1
vote
1answer
187 views

How to change the scale of a two-port

I'm a beginner at drawings in Tikz and I was making a diagram for a report, and a little problem came up: I need to change the scale of a twoport, I tried to do the following, but it hasn't worked... ...
5
votes
1answer
75 views

Convince Arara to compile .tikz files

I have recently learned about the package tikzscale and find it to be a great solution to many issues I was having. However, using it requires the file containing the tikz code to have the extension ....
0
votes
1answer
141 views

Tikzscale - Unscalable Picture

I would like to use the package tikzscale to scale my picture. I use the following code \usepackage{graphicx} \usepackage{ifthen} \usepackage{tikz-cd} \usepackage{tikz} \usepackage{tikzscale} \...
1
vote
1answer
314 views

Tikz: Style which only scale the text inside a node

I am looking for some possibility to only scale the text inside a node without using the commands like \tiny or \scriptsize. In my styleset I am using the line every node/.style={font=\scriptsize, ...
1
vote
1answer
135 views

Patching tikzscale

I'm trying to patch the package tikzscale. Specifically, I want to remove the following lines from the package, as it does not constitute a useful error in my usecase[1]. \tikzscale@ifSizeDifference{\...
1
vote
1answer
222 views

How to match font size in TikZ figures and document text

I have the following two-column article, where I am resizing 3 TikZ figures inside subfigures as to fit them in a single column (code below). I want all the text in the TikZ figures (in this specific ...
2
votes
0answers
70 views

Avoid that scaletikz scales text for subplots

Say I have the following tikzfigure, which contains 3 subplots (created using matlab2tikz) which is severely to large to fit on a page. \begin{tikzpicture} \begin{axis}[% width=3.878in, height=4....
4
votes
1answer
289 views

Problem with fill between and scale option in tikz environment

I have a problem when I try to scale my tikzpicture. The following code \documentclass{article} \usepackage{tikz} \usepackage{pgfplots} \usetikzlibrary{patterns} \usepgfplotslibrary{fillbetween} \...
1
vote
1answer
59 views

Incompatibility between 'tikzscale' and tikz 'circuits' library

I want to include a figure containing an electrical circuit in my file. To ensure the correct filesize I use tikzscale includegraphics command. However, this yields an error for some of the elements ...
1
vote
1answer
115 views

Scalable predefined parts of an image in Tikz

I am working on reusable image parts with Tikz. Thanks to the answer to TikZ 3.0---Multiple arguments for pic, I found out how to do macros with parameters. But, the problem with using predefined ...
0
votes
1answer
255 views

Beamer - overlay makes tikzpicture move

The following code makes the first layer to be positioned differently (with horizontal bias) with respect to the second and third layers. If the colums and columns environments are removed, the three ...
0
votes
1answer
170 views

Externalization of tikz/pgfplots graphics included by tikzscale package with hyperref cross references

As the long title says, I'd like to include the following aspects in my LaTeX project. external library of TikZ to externalize possibly infinite compilation times due to both plane TikZ and huge ...
2
votes
1answer
1k views

How to use \scalebox to achieve a specific height in mm

Continuing my previous question: Is there a way to use \scalebox in a way that the logo scales to a specific height? I want to put a logo I created in Tikz into a rectangle that I also created in ...
1
vote
1answer
541 views

Is a combined use of subcaption, tikzscale and groupplots possible?

I am just trying to get the "everything in one". I would like to have figures using the groupplot library of pgfplots subcaption to be able to reference to every single plot inside the groupplot. See ...
1
vote
1answer
256 views

TikZ picture size issue

I'm trying to set 3 picture side by side and eventually set some caption on them, but for some reason the pictures are out of scale, specially the middle one. I don't know how to fix this: \...
1
vote
1answer
243 views

How to use tikzscale together with pgfplots fillbetween library

I rely on the tikzscale package to conveniently scale all my pgfplots to the right size. However, I recently ran into the problem that this doesn't seem to work with the fillbetween library. Is there ...
1
vote
1answer
100 views

A question on how to scale some turnstiles from the turnstile package

The edit of the accepted answer for question Symbol for skeptical consequence that matches the turnstile package gives me access to the two first turnstiles in the MWE below. I would appreciate help ...
2
votes
1answer
235 views

fill between in pgfplots changes legend font [duplicate]

I am working on a document in which several plots are placed alongside each other. Some of them use "fill between" and some of them don't. The problem now is that depending on whether this is used or ...
1
vote
0answers
41 views

Reversing order of graphics file extensions with `TikZscale`

I am using the tikzscale package and having trouble with the search order of different graphics files. Consider the following MWE: \documentclass{article} \usepackage{tikz} \usepackage{tikzscale} \...
1
vote
1answer
118 views

\includegraphics from tikzscale spitting out garbled paths

I want to include an external tikz-file scaled to size with tikzscale via its version of \includegraphics. However, on top of the picture a lot of garbled paths appear: It looks like \includegraphics ...
1
vote
0answers
157 views

Combine tikzscale and externalize with named external pictures [duplicate]

I have the same issue which has been discussed here while trying to scale plots created using PGFplots. The issue is only present if I name the external pictures using \tikzsetnextfilename. However, ...
1
vote
0answers
81 views

tikzscale with tikz-external: Recreating plot

I am creating pgfplots in the tikzpicture-environment together with the external library. To ensure the width of the plot, I wanted to use tikzscale. Originally, I was using the beamer-class with a ...
4
votes
3answers
2k views

Transform Shape not working - TikZ

I'm trying to scale the whole picture but it's not working. \begin{tikzpicture} [scale=0.5, every node/.style={transform shape}] \tikzstyle{startstop} = [ellipse, draw=orange, thick, fill=orange!...
2
votes
2answers
261 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 \usetikzlibrary{external}...
3
votes
1answer
493 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
1k 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
502 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
1k 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 ...
1
vote
0answers
164 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
325 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 ...
20
votes
4answers
10k 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
100 views

Scaling tikz graph when pgfplots is loaded [closed]

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 ...
4
votes
1answer
1k 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 environment. (...
6
votes
1answer
240 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
2k 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 ...