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

Questions tagged [scaling]

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

0
votes
0answers
22 views

How to scale text in a graph of text nodes

This should be the simplest question ever. I want to be able to change every letter in the graph below by a text box very similar to the one on the left of J. Now, the problem is that if I scale J and ...
2
votes
2answers
42 views

Put a vector image on the right of a table and adjust its height to the table height

I have a table \begin{tabularx}{\textwidth}{ X p{70pt} \toprule stuff1&stuff2\\ \midrule stuff3&stuff4\\ \bottomrule \end{tabularx} and i would like to insert on its right a vector image ...
1
vote
1answer
26 views

Defining a scaling postfix operator

I would like to find a way to scale a one-place defined (postfix) operator to match its surroundings. I would like it if this behavior imitated what can be accomplished using \left and \right. An ...
2
votes
1answer
47 views

Showing small area between curves

I have attempted drawing the hyperbola y=\dfrac{1}{x+1} and the parabola y=x^2-x+1 on the same set of axes as shown below. Currently, the graphs are not clearly indicating the area between curve for -\...
0
votes
1answer
34 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} \...
4
votes
3answers
137 views

Part of the standalone tikzpicture gets scaled when pasting it in a document

I created this nice Polygon using the following code \documentclass[margin=0pt]{standalone} %---------------------------- Tikz Libraries ------------------------------% \usepackage{ifthen} \...
2
votes
1answer
22 views

Adding spacing in mathtools' `set` command

In the mathtools documentation, page 27, a command \Set* (along with \Set) is defined to stretch according to the large input inside: \providecommand\given{} \newcommand\SetSymbol[1][]{ \...
3
votes
0answers
62 views

How to scale horizontally every character in listings code?

I want to scale horizuntally every character in listings code, making it narrower. The basewidth option is not what I want, since it doesn't scale characters. Any way to achieve this? \documentclass{...
4
votes
1answer
169 views

LaTeX - how to detect scale of \includegraphics

I have a general question, so without any example code. I'm implementing part of document containing gallery of images. Generally, I have two types of images: 1) document, typically scanned A4, ...
2
votes
1answer
79 views

How to log scaling applied by \includegraphics?

I'm currently working on a large-ish document that contains a lot of screenshots. These range from relatively small dialog boxes or details of the screen to some very large overview pictures. I ...
2
votes
1answer
29 views

Insert image so that it fills the rest of the page while not fall below a minimum size

I'm trying to make a command that adds images to page in a way that fill the rest of the page. I'm using code from How to define a figure size so that it consumes the rest of a page? and it works. But ...
1
vote
1answer
113 views

Is it possible to go directly from LaTeX to SVG?

I have a situation where I'm calling latex.exe in the background and then dvipng on it and then loading the file into a QGraphicsScene using QGraphicsImageItem and the result is horrible upon zooming ...
5
votes
2answers
222 views

How do you resize the box of a symbol, while vertically centering it?

Consider the following MWE: \documentclass[margin=2mm]{standalone} \usepackage{amsmath,amssymb} \usepackage{graphics} \def\myboxmin{\mathop{\raisebox{.15em}{\scalebox{.5}{$\boxminus$}}}} \begin{...
1
vote
1answer
97 views

Scaling the x-Axis in a more logarithmic way

While I have found some answers for equidistant scaling, I did not find an answer which I was able to transfer directly to my problem. I have one interval going from 10^-8 to 3*10^-8 , one from 3*10^-...
6
votes
1answer
27 views

Scaling symbol when used in subscript

I'm using this symbol (defined by Steven B. Segletes here) to denote a special type of function definition: \newcommand*\diamondarrow{% \stackengine{0pt}{\hspace{.83ex}$\rightarrow$}{$\diamond$}{O}{...
1
vote
0answers
25 views

SVG image renders incorrectly when scaled

I have exported a chemical structure as a SVG using MarvinSketch, and included it like so: \documentclass{article} \usepackage{svg} \begin{document} \includesvg[width=0.5\linewidth]{test.svg} \end{...
4
votes
1answer
87 views

Can I resize a TikZ picture to have certain dimensions (width, height)?

Suppose that I have made aTikZ picture using the standalone class, is there an easy way to determine some fixed output dimension of this picture, say width=16cm, height=12cm? This could be useful in ...
0
votes
1answer
37 views

How to rescale the whole chart?

Here is my code of the chart. I would like to rescale the whole chart so as to properly put it into my presentation slide. I don't know how to rescale it. \documentclass{article} \usepackage{amsmath} ...
1
vote
1answer
45 views

How to change the scale of main text without affecting math text or viceversa?

I'm using libertine package for the main text of my work and I load fourier package before libertine in orther to get the math text with the Utopia font just because I like it. Typing \documentclass{...
1
vote
1answer
44 views

How to globally stretch text height, keeping the margin limits?

I am working with a designer that requires the height of the font type we are using to be stretched by a factor of 1.2. I have succeeded doing so using the adjustbox package, as described in the post ...
1
vote
1answer
95 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
159 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 ...
-1
votes
0answers
50 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 ...
3
votes
1answer
127 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
181 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
179 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
144 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
46 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 ...
4
votes
2answers
76 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
69 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
52 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
87 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} \...
11
votes
2answers
618 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
56 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
136 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
207 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
52 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
105 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?
4
votes
1answer
263 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
177 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 ...
3
votes
2answers
235 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
549 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
104 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
53 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
148 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
393 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
112 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
198 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
336 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
751 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}}}