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

learn more… | top users | synonyms

9
votes
3answers
860 views

Scaling a tikz-cd commutative diagram in TikZ?

I'd like to be able to scale some rather complex CDs using the scale key, for example scale=0.5. In the following MWE the scale key seems to have no effect. \documentclass{amsart} \usepackage{tikz} ...
6
votes
2answers
268 views

Scale font only vertically (poor man’s condensed of Libertine)

I’m using Linux Libertine to typeset the translation of a poem with eledmac/eledpar. The original text appears on the left pages and the translation on the right ones. Since the translated verses are ...
3
votes
1answer
383 views

Scaling graph along x axis

I am trying to plot a symple graph with pgfplots but the numbers do not seem to appear right. Is it possible to somehow scale the left part of the graph? I would also like the numbers on the x axis ...
12
votes
3answers
364 views

Fit text to linewidth, shrinking only

I often have AVMs/tables that are just a bit too large and use \resizebox to fit everything in one line. Now, if the linewidth changes (switch from twocolumn to onecolumn) this results in enlarging ...
2
votes
1answer
611 views

Scale single symbol in math mode

I am using the Baskervald font with KP fonts for the maths font. It is very nice, but it needs some manual fine-tuning. For example, the \star command gives an (oversized) italic star, which should ...
3
votes
0answers
97 views

Scalable node shape size

I can adjust the shape of nodes using commands such as minimum width or inner xsep, but these require explicit units. When I scale the entire figure (\begin{tikzpicture} [scale=0.5]) it does not scale ...
2
votes
0answers
2k views

TikZ: the scale option changes font size

When I use \begin{tikzpicture}[scale=X] with X<1/X>1 then font size of text in the picture is also changed. I need to use [scale=2] or [scale=0.5] and to preserve font size (e.g. normalsize). ...
6
votes
1answer
509 views

How to scale a verbatim block in a user-defined environment?

In order to produce an ereader-friendly PDF with small page dimensions, I'd like to scale down some oversize verbatim blocks such as program output with lines too long for the small page. Then readers ...
7
votes
1answer
113 views

What does scale in the graphicx package actually do?

I ran into the following curiosity while using the graphicx package. When including two images of the same size, I scaled them using the same ratio (see example below). However the images didn't come ...
4
votes
1answer
681 views

\left\langle bigger then \Biggl\langle

I am putting a graphics inside \left\langle .. \right\rangle, as \left\langle \vcenter{\hbox{\includegraphics[scale=0.05]{images/lhs.pdf}}}\right\rangle_{av} The problem is, as it seems, for ...
7
votes
3answers
2k views

How do I change the aspect ratio of gnuplot output?

How do I change the aspect ratio of the canvas of a gnuplot plot in LaTeX using the gnuplottex package? The following changes the aspect ratio of the output but not the canvas size, thus leaving a ...
8
votes
2answers
728 views

Vertically fit a figure with caption to page

I have a very large(heightwise) figure and would like to fit it on a page with its caption, that I place below (document wide style which I would like to keep, and the figure fills the line anyhow, so ...
2
votes
1answer
369 views

Always scale and clip background image so it fills the page

I have learned from other answers how to use an image file as background and make it transparent. Since my background files do not necessarily have the exact page dimensions (they are provided by ...
5
votes
2answers
132 views

PSTricks figure way too big; normal scaling seems not to work

Consider the following example: \documentclass{article} \usepackage{pstricks} \begin{document} \begin{figure} \def\radius{19.2} \def\lige{33.3} \newlength\R \R=\radius\psunit \newlength\hW ...
5
votes
2answers
152 views

Font scaling in mixed-font writing

How can I scale up/down the size of a font so that it looks coherent when mixed with other fonts on the same line? As a concrete example, how can the first 'a' in the following snippet be scaled down ...
4
votes
1answer
1k views

\textheight in LaTeX does not correspond to the size of the frame when using \resizebox

I am trying to add a table to my Beamer presentation and is trying to resize it to the frame. To illustrate here is a working example where the table is originally too high to fit into the page. When ...
4
votes
1answer
368 views

Adjustbox on a landscape page makes a table too small

I am trying to use adjustbox to scale down a table that is too large for a landscape page, but when I use it, the scaled table is much smaller than it needs to be relative to the size of the page. Any ...
0
votes
1answer
106 views

Picture environment in latex. How can I use the same length but

I am using the picture environment and this comes from a pdf I found online about it The picture environment has one mandatory argument, which specifies the size of the picture. The environment ...
2
votes
1answer
56 views

typing a straightline next to a dfrac? [duplicate]

I would like to type how do I do it? Thanks!
2
votes
1answer
186 views

Stretch image width within a two-column layout in ConTeXt

Background Trying to place an image within two-column text. Problem The image renders as follows, where the vertical bar is the column separator: Code The following code produces the problem ...
7
votes
2answers
213 views

How to extract coordinates in the current scope (before the coordinate transformation matrix is applied)

If I extract coordinates with \pgfgetlastxy{}{}, I get changing results depending on the transformations I've applied to my draw (rotation, scale): \documentclass[margin=0.5cm]{standalone} ...
1
vote
0answers
240 views

pictograms, Iconography, scalable shapes, custom nodes, shapes

Hy, I'm building up my own iconography, a set of pictograms that represent ideas so that i can connect them to illustrate more complex systems. I would like some suggestions of which is the best ...
3
votes
1answer
168 views

Shrinking a font

I'm looking for a possibility to horizontally shrink the font I use in my whole document. I do not only mean the tracking of the letters, but also (if possible) to reduce the letter width by lets say ...
1
vote
2answers
82 views

Formatting and scaling

How to fix this equation \begin{eqnarray} \frac{1}{2} (1-\varepsilon^2)\left(\partial_\tau \phi\right)^2 &= \frac{1}{2} \left(1-\epsilon ^2\right)\left( -\frac{S \epsilon \sin\tau ...
2
votes
1answer
80 views

scaling equation within margin

I have split an equation across several lines but I couldn't remain perfectly within the margin. The input is \begin{equation*} \begin{split} & ...
4
votes
1answer
955 views

Problem with scaling used in \includegraphics

I have a question on scaling a graph when the graph is included using \includegraphics. A code snippet is below. \documentclass{article} \usepackage{tikz} \usepackage{pgfplots} ...
7
votes
3answers
404 views

How to allow labels' anchors in TikZ to be affected by rotations without rotating the text itself?

I usually write macros when I need to draw many times a kind of figure. In the final document, I call the macro and then I always apply two transformations : a scale transformation to fit in the space ...
6
votes
1answer
189 views

Parentheses changing size depending on what's in them?

Very simple problem, but very confusing. When I type \left( \frac{\partial f}{\partial x } \right)^2 I get smaller parentheses but when I type the same thing but with y instead of x, i.e. \left( ...
4
votes
1answer
171 views

Automatic command insertion for successive capital letters

I work in a field with heavy use of acronyms. To make my documents visually more appealing, I like to use a moderate downscaling of the capital letters. \documentclass{article} ...
4
votes
1answer
395 views

Scale Axis in PGFPlots without changing orientation

I'm trying to plot a data matrix using pgfplots and a surface plot. The method described in this question worked well for me: Using pgfplots, how do I arrange my data matrix for a surface plot so ...
4
votes
1answer
385 views

Montage multiple PDF images, scaled to each other's dimensions, on a single PDF page?

I though "montage" would be the most appropriate term here, since in Latex we mostly deal with multi-page documents (and I was afraid that terms like "concatenate", "append", "collect" etc. could be ...
3
votes
1answer
100 views

LaTeX Scale Adjacent Terms' Grouping Symbols Together

I have two adjacent terms in a LaTeX equation, and I'd like the brackets around both to scale to the height of both terms. For example \left[ a \right] \left[ \frac{b}{c} \right] generates: I'd ...
7
votes
1answer
364 views

How to scale a pgfplot in a tikzpicture correctly?

I created a figure in pgfplots and added some extra labels in a tikzfigure environment. Now it turns out I need to rescale the whole figure. Normally this can be done by adding scale=2 but here the ...
6
votes
1answer
1k views

How do I include and scale on-image-TikZ-drawings made by the standalone class?

I am building several on image TikZ drawings. In detail: I am having PDFs of technical drawings, I crop the white margins, overlay nodes and some arrows and compile them. The result should give me a ...
1
vote
1answer
145 views

Scale only dataset read from file without scaling whole graphics

I have datasets which vary strong in range. So i want to scale my dataset to adjust it to my template, so that the grids, axes and so on are identical with the neighbour-subfigures. What is the ...
8
votes
3answers
222 views

Defining a Length that Scales with Fontsize Changes

I noticed a behavior regarding lengths under fonstsize changes, which I'm hoping there is a way to circumvent. Consider this MWE: \documentclass{article} \begin{document} \newlength\mylength ...
3
votes
0answers
436 views

TikZ: scaling the tikz picture environment

If I scale the TikZ picture environment, everything should scale by a factor of x correct? If that is the case, why would some code not scale or scale incorrectly when it is in the environment? For ...
6
votes
1answer
242 views

What are these x and y scaling options for a tikzpicture for?

I've googled myself silly already, but I still can't really pinpoint it enough to reassure myself what exactly those options do: What does x=0.25cm in the MWE stand for? Does it stand for: "every cm ...
4
votes
1answer
2k views

\hat and \widehat look terrible: fixing width and better positioning?

I want to make the use of quantum mechanical operators explicit in my text using \hat{A} or \widehat{A}. The problem is that depending on the symbol under the accent it looks either misplaced or too ...
1
vote
1answer
364 views

Scaling Tikz picture without overlapping text

I have a simular issue to the question asked in : TikZ picture overlaps with text I have tried the solution provided by Jake. This makes that my picture fails to resize (scale) as i intend. Whether i ...
7
votes
1answer
308 views

Fit float to page

This is a follow-up question to Best figure size adjustment when dealing with different image sizes. I want to resize a figure in a way, that the figure including the caption fits the page. Resizing ...
0
votes
2answers
1k views

How to adjust a table to fit on page [duplicate]

I have the following latex table: \begin{table}[ht] \centering \begin{tabular}{rlrrrrrrr} \hline & X & MASHvstRap & MASHvsBEEML & tRapvsBEEML & frequency & Mash\_mean & ...
3
votes
2answers
215 views

PSTricks : Power plant and Energy transfer schematic not scalable

Consider the following example by Thomas Söll at Manuel Luque's PSTricks blog: % latex filename.tex % dvips filename.dvi % ps2pdf filename.ps \documentclass[ a4paper, landscape, 12pt ...
3
votes
1answer
236 views

Cant scale x-Axis to textwidth

I want to plot some measured values. The y-axis contains the the voltage and the x-axis time stamps. I used matlab2tikz to create this plot: If I want to plot the graph, the x-axis is not scaled to ...
5
votes
1answer
726 views

Scaling a multi-column TikZ/pgfplots groupplot to page width

I am trying to scale a pgfplots groupplot with multiple (and variable numbers of) subplots to match the \textwidth of a document. What I found is that there seems to be no direct relationship between ...
3
votes
2answers
2k views

Scale down a array contained in an equation - beamer

I have an array inside an equation in a beamer presentation. I tried scaling it down using resizebox but it gives me error : \begin{equation} \label{eq:recursive} \resizebox{\linewidth}{!}{ ...
5
votes
0answers
885 views

Fitting TikZ picture in beamer: Difference between using \resizebox and \adjustbox? [closed]

\documentclass[10pt]{beamer} \usepackage{amsmath} \usepackage{amssymb} \usepackage[english]{babel} \usepackage{color} \usepackage{float} \usepackage[T1]{fontenc} ...
7
votes
2answers
635 views

table rescaling and subcaption package

I am placing tables side-by-side using the subcaption package in the following way: \documentclass{article} \usepackage{siunitx} \usepackage{booktabs} \usepackage{subcaption} \usepackage{tabularx} ...
2
votes
1answer
430 views

Reduce float size to fit page

I've got a longish sidewaystable which currently is to large for its page. At least with \footnotesize it is. With \scriptsize it becomes too small, which looks strange and is hard to read. Is there ...
6
votes
1answer
480 views

Extracting x, y coordinates of an arbitrary point in TiKZ while using yscale and xscale

Inspired by Extract x, y coordinate of an arbitrary point in TikZ, I am trying to use the x coordinate of a point to draw another element. However, when I use the yscale and xscale commands, the ...