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
3
votes
1answer
55 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
28 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
43 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
75 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
64 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
54 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
58 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
152 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
108 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
167 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
66 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
193 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
50 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
86 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
165 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
123 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
655 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
388 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
217 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
194 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
77 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
174 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
101 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
130 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
65 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
214 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
366 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
708 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
452 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
770 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
134 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
276 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 ...
19
votes
4answers
7k 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
95 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
921 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
182 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
1k 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
2k 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
434 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 ...
5
votes
1answer
540 views

TikZ plots get recompiled every time when using tikzscale

For my thesis I have a lot of TikZ plots exported from Matlab using the matlab2tikz library. I want to use the tikzscale package together with externalization of the plots to save compiling time. ...
6
votes
0answers
323 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 ...
1
vote
1answer
371 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 ...
4
votes
2answers
785 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} \usepackage[...
2
votes
1answer
173 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 45,...
1
vote
0answers
43 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 ...
5
votes
2answers
1k 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] {\...
2
votes
0answers
705 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 ...
5
votes
1answer
4k 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 ...