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

learn more… | top users | synonyms

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
54 views

typing a straightline next to a dfrac? [duplicate]

I would like to type how do I do it? Thanks!
2
votes
1answer
170 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
196 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
217 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
164 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
80 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
79 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
859 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
363 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
186 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
168 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
379 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
335 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
96 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
309 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
135 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
189 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
408 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
213 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
304 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
256 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
681 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
206 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
223 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
673 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
1k 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
777 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
569 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
399 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
443 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 ...
15
votes
2answers
1k views

Golden ratio typography in TeX

Chris Pearson makes a number of claims in his article Secret Symphony: The Ultimate Guide to Readable Web Typography, which I find fascinating, and I would like to know: are the formulas he proposes ...
3
votes
1answer
150 views

Why could \usepackage{Sweave} be affecting my graphics scaling?

I'm using Sweave to produce a large, multi part academic thesis. I had neglected to specify \usepackage{Sweave} in my preamble, but everything was working fine until I added some verbatim output from ...
2
votes
3answers
375 views

How to scale a scheme in chemfig, using the figure environment

I am trying to scale a reaction scheme generated with chemfig to .9/textwidth. Below is my MWE. \documentclass{report} \usepackage{chemfig} \usepackage[version=3]{mhchem} \begin{document} ...
4
votes
2answers
234 views

Scaling tikz-cd labels

I'd like to scale a custom symbol drawn in tikz, such that it's the same size as surrounding text in a tikz-cd diagram. For example, in the following code I'd like the box to the left of A_2 to be ...
10
votes
2answers
1k views

Rescaling a math symbol?

I am trying to rescale a math symbol while using the amsbook package. At first I was using the relsize package, but it creates clashes with the AMS packages: Amsart with algorithm2e introduces ...
6
votes
2answers
318 views

Scaling the sieve of Eratosthenes in TikZ

Consider the following code, taken from Alain Matthes' answer here. Code \documentclass{article} \usepackage{tikz} \makeatletter \pgfutil@ifundefined{pgfmath@function@isprime}{% ...
5
votes
2answers
405 views

Argument to \input or \include statement?

I produce a lot of plots in Matlab which I export to TikZ with matlab2tikz. In matlab2tikz I can specify the plot width and height, for instance. This works out quite nicely, but as I write my ...
4
votes
2answers
671 views

Center wide figure w.r.t. page instead of margins

I've seen similar threads with centering problems, but could not find the right solution to mine. I'm using the report class (onesided). I have a float figure (object width=1.3\textwidth here, may ...
4
votes
1answer
383 views

Scale Feynman Diagrams to Poster Size

I am creating a poster using beamerposter, and I would like to include Feynman diagrams generated using feynmp. However, the native scaling of feynmp is indented for letter-size documents, and is far ...
6
votes
1answer
1k views

Help with the command \binom

I want to write an expression of the form $\binom{a}{b}$. I tried with the command \binom, but the result is too big, and then I tried \tbinom but it was too small, I want to know if there is another ...
3
votes
1answer
399 views

Flipping Transistors with Circuiktikz

I was wondering if there was any way to flip a transistor or similar node component around in the circuitikz package? For the bipoles it's fairly simple as you just reverse the start and end, but for ...
6
votes
1answer
181 views

Can zooming in PDFs recover original image size?

Say I create an image of 100x100 pixels in an area of 1x1 inch in my article. Lets say, when viewing the pdf at 100% magnification on my monitor, this 1x1 inch area covers 50x50 screen pixels. If I ...
1
vote
1answer
62 views

Why does transform canvas change where the caption is?

I have a fairly large tikz diagram here: \documentclass[12pt]{amsart} \usepackage[all,cmtip]{xy} \usepackage{rotating, tikz} \usetikzlibrary{matrix,arrows} \title{None}% \begin{document} ...
1
vote
1answer
206 views

Footer scaling with scalebox

I use a pspicture to draw a electric diagram in one of my slides with beamer, and I've got a pause-command within the pspicture (to make thing appear). I use \scalebox to make my picture enter the ...
6
votes
3answers
3k views

TikZ: different x, y scales but so that shapes maintain their aspects

I have some old pstricks code which I'm re-doing with TikZ. In my current picture, the x and y scales are different: \begin{tikzpicture}[xscale=1.8,yscale=4] However, this has the problem that ...
3
votes
1answer
187 views

Tikz Scaling and Positioning

I cannot scale the first picture. scale=0.6 does not work. Also I cannot vertically align the picture. I want top of text and top of figure are same. See figures in the following examples. ...
6
votes
2answers
4k views

PGFPlots: Logarithmic axes and scaling

I'm trying to plot some data where the X axis is logarithmic. The data runs from ~30 microseconds up to 10 milliseconds. It looks much cleaner to have the x-ticks looking like {0.1 ms, 1 ms, 10 ms} ...