Stack Exchange Network

Stack Exchange network consists of 175 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
1answer
31 views

Disable automatic scaling of graphics in Lyx

The following code in the master document preamble (book class) is used to scale graphics that are larger than the line width down to the line width, but leaving smaller ones alone. Currently I am ...
2
votes
1answer
37 views

Is there a way to dynamically scale a watermark?

I've done quite a bit of research of trying to scale a watermark based on the text given. The issue is that if I enter a longer string, the text runs off the page. I've tried various packages ...
0
votes
0answers
20 views

Matplotlib2tikz text size when scaling

I am using matplotlib with matplotlib2tikz to create my output. I am currently using the option to be flexible later on in TeX tikz_save('myfile.tikz', figureheight = '\\figureheight', figurewidth = '...
5
votes
1answer
51 views

How to make tikzpicture full screen in beamer whlie keeping aspect ratio

I have a tikzpicture which has an unpredictable aspect ratio (actually, due to clipping, the aspect ratio varies across overlays). I want to have the tikzpicture always scaled up in beamer to the ...
3
votes
1answer
54 views

How to fit content of minipage dynamically within a standalone?

I'm trying to create a standalone but the content won't fit inside. I think \minipage{\textwidth} causes the issue. I know I can set e.g. \minipage{21cm} but I want to keep this dynamic since the ...
0
votes
0answers
39 views

NFSS: How to scale fonts more accurately?

I would like to be able to pass a fraction expression to s*[<number>] in a \DeclareFontShape. The ultimate goal is to instruct LaTeX2e’s New Font Selection Scheme (NFSS) to perform more ...
1
vote
1answer
42 views

How to make inductors larger?

I'm having a problem trying to make my cute inductors larger. I found a way of making them bigger with the /tikz/circuitikz/bipoles/length but that scales the entire inductor. I just want it to be ...
2
votes
1answer
26 views

Prevent brakets from resizing

I am using the physics package for braket (Dirac) notation. However, some expressions (such as the braket on the right) automatically rescale in the presence of, say, an operator (such as f hat), ...
1
vote
1answer
56 views

Can I stretch or expand an entire standalone document to fit the page?

If I create a standalone document, and it's approximately the shape of an A4 piece of paper, can I expand it to take up a full page; stretch it to fit the dimensions of the an A4 article? Just want to ...
2
votes
2answers
53 views

Tikzpicture Resizing when Using Axis Environment

Here is an example of two generic grids, one made using the axis environment in tikz, and the other without: \documentclass{article} \usepackage{pgfplots} \begin{document} \begin{figure} \...
0
votes
0answers
37 views

pgfplots: Is “scale only axis” only necessary for documents but not for standalone?

Assumed we have this kind of code: Minimum Working Example (MWE): \documentclass{article} \usepackage{showframe} \usepackage{pgfplots} \begin{document} \begin{tikzpicture} \begin{axis}[height=\...
0
votes
0answers
33 views

Force two big images to fit a page

I have two big figures which I'd like to fit on a page, above each other and including their captions. Unfortunately the caption of the bottom figure sticks out. I have tried using the subfigure ...
2
votes
3answers
197 views

How to automatically scale subfigures to have same height? [duplicate]

I have a lot of figures to put side by side in a document, and they are all slightly different in size (i.e. not all 4:3 format or so). What I'm doing at the moment is tweak the width=0.XX\textwidth ...
3
votes
1answer
54 views

Failed to properly set size of tikzpicture in beamerposter

I tried to insert a TikZ picture provided below into a beamerposter document. It is generated by the following code (except the arrow in the middle of the "incident beam", it's an excessive detail): ...
0
votes
0answers
25 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
45 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
36 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
61 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
50 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} \...
3
votes
3answers
140 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
52 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][]{ \...
2
votes
0answers
74 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
196 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
91 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
36 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
237 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
225 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
102 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
40 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
28 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
143 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
40 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
49 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
46 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
145 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
227 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 ...
3
votes
1answer
194 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
275 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
376 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
147 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
58 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
79 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
105 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 ...
2
votes
1answer
62 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
90 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} \...
13
votes
3answers
710 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
96 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
245 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
413 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
59 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{...