Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

Questions tagged [scaling]

{scaling} is about scaling document elements. Use this tag in addition to other tags specifying what should be scaled.

1
vote
1answer
33 views

Creating a Tikz-Picture with respect to paper width

Till now I just create a desired picture for example with QTikz or Tikz-EDT and pass the code afterwards to my document. To fit the picture to the width of the paper I use \resizebox. However, if the ...
4
votes
2answers
100 views

tikz : Arrow heads does not scale with the rest of the picture

I'm trying to include a scaled graph into another picture (yes I need to use nested tikz pictures, but I can't find any better way), and the problem is that the arrow heads are not scaled properly, so ...
0
votes
0answers
31 views

Latex: Picture - scale/crop according to defined size - possible?

I'm facing a problem, for which I can't find a solution in any of the forums. Maybe one of you guys can help... For a project, I need one page with images, that all are there in a specific size and ...
2
votes
1answer
43 views

How TeX / LaTeX proportionally scales \frac, \sum super/subscripts, etc

Wondering what the scaling proportion is when you do above/below on \sum, nested fractions, or super/subscripts on something. Wondering if it's the same in all of these different situations. It looks ...
3
votes
2answers
86 views

How to scale inline mathmode font

I would like to know how to scale the size of the text on the integral limits and also the powers in the code given below: I used the command \DeclareMathSizes{10.95}{10}{7}{7} given here but there ...
1
vote
1answer
36 views

big double square brackets

I'm trying to get the double square brackets from the stmaryrd package printed big, following this post with no success. \documentclass[xcolor={dvipsnames,table}, fleqn]{beamer} \usefonttheme{...
2
votes
2answers
137 views

Store result of \ratio calculation for repeated use

I am using pdflatex with the beamer package to create a presentation template that is similar to the PowerPoint template provided by my company. I want the company logo to have the same size in my ...
0
votes
1answer
45 views

How to set a global scale factor for all figures (for consistent sizing) with manual override?

In my PhD thesis in engineering, I expect to have approximately hundred plots which are vector graphics (in PDF format) created close to the final size (but not exactly). I'd like to declare a global ...
2
votes
1answer
48 views

Block of text that surrounded by vertically spanning parentheses

For my beamer slides, I like to have a command that centers a block of text and surrounds it by parentheses whose vertical size grows as the number of lines in the text grows. I currently have the ...
2
votes
1answer
56 views

getting the same height for two side by side pgfplot figures

I display two side by side pgfplots which dont have the same xmax and ymax. In a first case with (xmin=-1,xmax=3,ymin=-1,ymax=11) the two plots have the same height (see EXAMPLE 1). In a second case ...
3
votes
1answer
29 views

Why the primary and secondary X axes not in sync in position and scale?

Plotting some given data on the primary X axis, and calculated values on the secondary X asis, I noticed that secondary axis was shifted and had a different scale versus the primary. \documentclass{...
4
votes
2answers
84 views

TikZ: How to correctly scale a node drawn by “circle through”?

Here's an MWE showing the challenge when I tried to use circle through with a scaling transformation (and transform shape): \documentclass{standalone} \usepackage{tikz} \usetikzlibrary{through} \...
10
votes
2answers
546 views

Why not scale elements that contain text

Why is it a bad idea to scale elements that contain text, for example tables, by using \resizebox, \scalebox and similar commands? (I could not find an existing questions about this, but I often ...
1
vote
2answers
41 views

A long table with rotated texts?

Here is the code for the table below \documentclass[11pt]{article} \usepackage[margin=1in]{geometry} \usepackage[pdftex]{graphicx} \usepackage{enumitem} \usepackage{kpfonts,pifont} \usepackage{...
1
vote
1answer
47 views

Scale image to full page, keeping aspect ratio

I have an image and want to scale it to the full page size. I know, I can use \includegraphics[width=\textwidth]{...} to scale an image to the full page width (or \rotatebox{90}{\includegraphics[...
0
votes
1answer
57 views

Scaling listings in beamer

This answer scaling latex objects advises to use \resizebox to scale Latex objects. However, this approach fails when rescaling a listing in beamer: \documentclass{beamer} \usepackage{listings} \...
0
votes
1answer
42 views

Make longtable (in landscape mode) wider than textwidth

Assuming I have a table going over several pages \documentclass[DIV=8]{scrartcl} \usepackage[utf8]{inputenc} \usepackage[english]{babel} \usepackage{booktabs,array,ragged2e,longtable} \newcolumntype{...
1
vote
1answer
45 views

scaling latex objects

Imagine that I have a wide table that does not fit into page: \begin{tabular} Some very wide table \end{tabular} Can I scale this object without recurring to adjusting the font size?
2
votes
1answer
127 views

How can I reduce the size of an electric circuit in Circuitikz?

In fact, I have drawn an electric scheme using circuitikz package, but when I try to reduce the size of the circuit by using a scale of 0.5, the electric components stay in their size. Because I want ...
1
vote
0answers
104 views

TikZ - Resize, Externalize AND tikzsetnextfilename Figures

I have a document (two-column article) with several TikZ images, and I want to: Scale the figures to half of the column width, without changing the text's font size Externalize the figures inside the ...
2
votes
2answers
152 views

font size in math mode (for an exponentiated matrix)

Note: While I am interested in typesetting the Euler constant raised to the power of a matrix, I am more interested in understanding why the second version inserts a square dot, and why the third ...
9
votes
3answers
264 views

Knowing how much \resizebox scales

Is it possible to know how much a \resizebox scales something for further use in a \scalebox? To clarify, take this example: \documentclass{article} \usepackage[paperwidth=12cm]{geometry} \...
0
votes
1answer
52 views

Scaling a tree (forest package)

Hello, I am trying to figure out how to scale the tree on the left because it is a little bit disproportionate compared to the table. I am looking for a code that can solve it. Can anyone help me? ...
0
votes
1answer
50 views

Making words in formula narrower

I am using this snippet: \(PSE = 1- POFOD\) which results in this: Which is pretty stretched out. How do I make this narrower ?
1
vote
1answer
107 views

Using `\mathopen` and friends with `\middle`

I would like to take advantage of LaTeX's \left-\middle-\right mechanism to automatically scale several parentheses (or something similar) to be the same height, matching the height of the tallest ...
1
vote
2answers
184 views

Why does scaling not apply to node and how to correctly scale a node in TikZ? [duplicate]

The following code and its output shows that although the line drawn is scaled, the rectangle node is not scaled. \documentclass{article} \usepackage{tikz} \begin{document} \section*{Without Scaling}...
2
votes
2answers
94 views

TikZ scale does not change the size of the arcs

I have drawn the following figure: As you can see, the arcs are too big for the page. So, I try to scale the image using [scale=0.5]. This works for the straight line segments perfectly. However, ...
1
vote
1answer
117 views

Scaling an mdframed box

What is the trick for scaling an mdframed box? If I comment out the \begin{MyEnv} and \end{MyEnv} in the \adjustbox, I get the scaling effect, but I want the entire mdframed box to be scaled? Code: ...
14
votes
2answers
323 views

Little problem with xscale and tikzducks

I would like to mirror an image of tikzducks which has the book option. Using xscale=1 works, but the title of the book is not well mirrored. Does it exist a way to adjust it without doing it ...
1
vote
3answers
401 views

Reduce size \bigcup

I want to reduce size \bigcup_{n=1}^\infty? How can I do it? I tried \newcommand*{\medcap}{\mathbin{\scalebox{0.75}{\ensuremath{\bigcap}}}
1
vote
1answer
235 views

Anki: Displayed size does not match specified size

In Anki, the sizes I specify in LaTeX encoding do not match those that are displayed. MWE: Leaving the header and footer at the Anki default of \documentclass[12pt]{article} \special{papersize=...
1
vote
1answer
38 views

Fixing intersecting arrows in commutative diagram

The following is the code for a commutative diagram with intersecting arrows \documentclass[12pt]{article} \usepackage[pdftex,pagebackref,letterpaper=true,colorlinks=true,pdfpagemode=none,urlcolor=...
2
votes
2answers
129 views

How can I scale the labels on a coordinate plane using tkz-euclide?

I have some code to make a coordinate plane that my students can use for graphing, but it takes up most of the page. Working Code, but image is too large: \documentclass{article} \usepackage[...
1
vote
1answer
252 views

{pgf-umlsd} size and width

I'm doing a good progress learning latex. However, I'm stuck with a problem. I'm unable to change the dimensions of the sequence diagram with code below: I have used \usepackage{pgf-umlsd} package. ...
5
votes
1answer
181 views

\xrightarrow not changing size with \scriptstyle and \scriptscriptstyle

Consider the following MWE. \documentclass[fontsize=12pt]{scrbook} \usepackage[T1]{fontenc} \usepackage{libertine} \usepackage[libertine]{newtxmath} \begin{document} \begin{align*} v\...
3
votes
2answers
162 views

How to prevent a node exceeding minimum size by making its contents scale-down if they are about to enlarge the node?

Is there a way to fit a text inside a node, without resizing the node, rather than fit a node around some text (which, of course, would resize the node)? Output (first triangle is empty and is ...
0
votes
1answer
470 views

Specify \svgscale instead of \svgwidth for Inkscape pdf_tex

The image.pdf_tex documents created with Inkscape's PDF+LaTeX export use this code \ifx\svgwidth\undefined% \setlength{\unitlength}{293.02998953bp}% \ifx\svgscale\undefined% \relax% ...
0
votes
0answers
20 views

Table Re-scaling issue [content become unreadable] [duplicate]

I have below table with long values in cell, i want to wrap the text when it exceed let say certain length. i resize the table according to width of page but it makes the content too small to read. Is ...
0
votes
1answer
166 views

Composition of images

How can I fix this mess showed in the picture added below? I mean, I'd like to place side by side both figures, with the box at the same level and the captions at the same level too. Here is the ...
3
votes
1answer
237 views

Scalebox a maths letter

I am trying to rescale a letter in the Display. I tried to use the \scalebox{#}[#]{\mathscr{H}} (\mathscr{H} is the letter I am trying to rescale). But I think that only works for non-maths letters? ...
1
vote
1answer
83 views

Define the width of a logic puzzle dynamically

I want a PDF page to fit a logic puzzle completely (cropped), but I do not know the resulting width when beginning the block for the puzzle: \documentclass[border=50px]{standalone} \usepackage[german]...
0
votes
2answers
127 views

Getting narrower text within lstlistings?

I have limited horizontal space to list some code: \documentclass[]{article} \usepackage{xcolor} \usepackage{listings} \definecolor{backcolour}{rgb}{0.95,0.95,0.92} \lstdefinestyle{mystyle}{ ...
5
votes
1answer
141 views

\left(\check h\right) vs. \left(\hat h\right)

The sizes of the parentheses in the example below do not scale nicely. Compiling the code %\RequirePackage{fix-cm} % doesn't help. \documentclass{standalone} \usepackage{mleftright} %\usepackage{...
2
votes
2answers
195 views

Image not appearing [closed]

I included the graphicx, and used the following code, like normal, to include an image. \documentclass[12pt]{report} \usepackage[utf8]{inputenc} \usepackage{fullpage} \usepackage{amsmath} \usepackage{...
3
votes
2answers
238 views

Automatic adjust font size in tikz to avoid overlapping

I have two nodes, one on the left that grows to the right with longer texts and the second is positioned on the right and grows to the left. Now, if the node texts are too long, the nodes overlap. I ...
2
votes
0answers
308 views

Scaling PGF plots and its font independently

I am a PhD student, quite new to the fantastic LaTeX world. Although I have written sevral documents already, I am still a beginner, and definitely not a programmer. I am using Python for my research, ...
2
votes
1answer
275 views

What is the logic that pgfplot set the picture's width?

If the code is: \begin{tikzpicture}[] \begin{axis}[ axis lines=middle,%axis equal, ymin=-4,ymax=9, xmin=-1.5, xmax=57, xtick={0,1,...,7}, ytick={1,...,8}, xlabel=...
5
votes
3answers
360 views

Causal diagram: Aligning and downscaling shapes in TikZ

I need help to center X and Y outlined in red in the image attached. I also seek help to downscale the Y shape if possible. Code below: \documentclass[margin=10pt]{article} \usepackage{tikz-cd} \...
3
votes
3answers
583 views

Fit table into page

I have been trying to create a (simple) table via tablesgenerator with unsatisfying output so far. I would like to create the following table (Table 4. Summary of Selected....) but it wont fit into my ...
0
votes
1answer
67 views

Positioning an Image

I want to position an image between two sentences (itemize items). How to scale an image to width / height of rest of the page left? \item Client\_Wallet asks user to set default path for public key/...