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

learn more… | top users | synonyms

2
votes
1answer
42 views

Why does \resizebox around tikzpicture gives me undefined control sequence }?

As indicated in Scale tikz figure to a percentage of \textwidth I was expecting this to work: \documentclass{memoir} \usepackage{tikz} \usetikzlibrary{matrix,positioning} \begin{document} ...
41
votes
3answers
60k views

Scale image to page width?

I use \inclugraphics[scale=TRYING TO GUESS THE NUMBER FOR PAGE WIDTH]{...} but I find this errorsome, is there some ready flag to set the image to page width? I usually use PNG and JPG photos.
7
votes
1answer
142 views

Logarithmic scaling of picture in tikz

I'm looking for something along the lines of \begin{scope}[scaling=logarithmic] ... \end{scope} The reason is, that I'm trying to visualise whether the Minkowski sums of some specific sets in R^2 ...
6
votes
1answer
42 views

Define \shearbox with \rotatebox and \scalebox

Similar to this problem, I want to define \shearbox with \rotatebox and \scalebox using singular value decomposition: The latex code is as follows: \documentclass[12pt]{article} ...
3
votes
2answers
108 views

How to create a larger symbol?

How can I insert a larger symbol of textreferencemark. Exactly how can I use a larger font for the the output of the command \textbf{\textreferencemark}
1
vote
1answer
38 views

unwanted white space when combining surface plot with a vector plot

I am trying to produce a surface plot of a scalar field with a vector plot imposed on top using pgfplot/tikz. I am nearly there except that depending on the scale of the arrows white space is added ...
6
votes
2answers
21k views

Scalebox - knowing how much it scales

I am relatively new to LaTeX and I was playing around with figures and came across the scalebox command. This apparently lets you scale a graph that you create or import into your LaTeX document by a ...
1
vote
1answer
72 views

Why is “width=\textwidth” setting not properly scaling graphic?

I'm including a jpg figure in my LaTeX document like this: \begin{figure}[htbp]\centering % fbox here only for illustrative purposes ...
3
votes
1answer
58 views

Scaling numbers taken from a different font?

I wonder if i can re-scale numbers from different font. For example i took times numbers using txr. Can i re-scale these numbers. \documentclass[11pt,a4paper]{article} \usepackage[utf8]{inputenc} ...
3
votes
0answers
94 views

Error using fontspec v2.4a and unicode-math [closed]

Compiling the following example with XeLaTeX or LuaLaTeX \documentclass[11pt]{article} \usepackage{unicode-math} \setmathfont{latinmodern-math.otf} \begin{document} \small \begin{tabular}{c} Foo ...
7
votes
1answer
162 views

Fontspec 2.4 and Scale=MatchLowercase causes error

I just updated to TeXLive 2014 and when compiling the following code using either XeLaTeX or LuaLaTeX I get an error: \documentclass{article} \usepackage{fontspec} \setsansfont{Latin Modern ...
5
votes
1answer
2k views

Problem resizing an itemize environment with a \scalebox: “Something's wrong”

I have a \block containing a \itemize: \begin{block}{title} % \scalebox{0.8}{ \begin{itemize} \item 1... \item 2... \end{itemize} % } \end{block} I try to use \scaleboxand ...
2
votes
1answer
87 views

Decoration marking arrow style ignored in custom node shape?

I have this dimension line macro which I've put together from examples here; and as it should be visible from the MWE (below) output: ... it works just dandy fine when called from "regular" \draw ...
1
vote
1answer
59 views

Scale only upright font in superscript math mode

Is there a way to scale only the upright font (used in operators like sin, log) in superscript math mode? I'm using Baskerville MT Pro as text font, with XeTeX and mathspec, and MathTime Pro 2 as ...
9
votes
3answers
188 views

Sloped Tikz node with rotation and scale

There should be an easy way to place a sloped node along a path. Using sloped works great (as in the black text). However, if there is a rotate= applied then the text is no longer along the path (as ...
1
vote
1answer
34 views

How to reescale a pstricks image with subcaption?

I have an image and a code, that works well. When I try to scale the PSTRickis image, I have problems-errors How can I resize an image using subcption package?? I put at the end of the code ...
10
votes
2answers
320 views

Wrong place for hyperref link in scaled tikz picture

I have a TikZ picture with a node containing a minipage with an itemize environment; each item is a hyperref to other sections of the document. When scaling the image (for example with ...
2
votes
0answers
58 views

Cannot align or resize graphics [closed]

I've search for a solution but cannot determine the problem. I neither resize nor align a graphic. In the preamble I'm including: \documentclass[a4paper,12pt]{scrreprt} ...
4
votes
1answer
35 views

How can I resize the and & or gates or FF in pst-circ package?

\documentclass{exam} \usepackage{pst-circ} \usepackage{multicol} \begin{document} \begin{latin} \begin{pspicture}(-1,-1)(5,4) ...
0
votes
0answers
29 views

inserted graphics appears out of the page!

This is my code: \begin{figure} \begin{center} \includegraphics[scale=1]{C:/Users/Prathmesh/Desktop/research papers/runoff water harvesting/LaTex/waterpan.png} \caption{SILT TRAP} \end{center} ...
2
votes
1answer
67 views

How to change linewidth for symbols from plotstyle=dots in pstricks?

With the help of plotstyle and dotstyle one can realize scatterplots in pstricks. In the case one selects plotstlye=dots and dotstyle as +, o, otimes or similar one obtains little symbols drawed at ...
4
votes
1answer
94 views

Necessity of nested \text within math mode for proper \mathchoice-based scaling

Quick summary: \text can be used to ensure proper scaling with respect to the correct math style. When exactly should one use it for that purpose? What need is there for nested invocations of \text ...
2
votes
1answer
74 views

The scale option of \includegraphics does not work after changing the document class [duplicate]

After .cls file changes, \includegraphics[scale=0.5]{img/GoalHierarchyMetaModel.png} command gives the following error. ! Package keyval Error: scale=0.5 undefined. See the keyval package ...
3
votes
1answer
80 views

Custom Tikz node with background graphics that scale to node size?

I have an SVG shape, which I'd like to use as a sort of a TikZ node border. The shape is basically a path with stroke effects - but the effects have been "baked in", so now I just have a non-stroked ...
2
votes
1answer
61 views

Problem sizing the image with \includegraphics

This question is very similar to Image from \includegraphics showing in wrong image size, but not quite the same. The size of the image that appears in my manuscript depends entirely on the dpi ...
3
votes
1answer
40 views

scriptscriptstyle-sized prime, with relative scaling

My question is closely related to How do you get a scriptscriptstyle-sized prime? However, I don't know how to use the answer to that question to solve my problem. In the first line of the sample ...
3
votes
2answers
50 views

Multiple lines in equation environment

I have to put an two equations inside one equation environment. I could do it with this piece o code: \begin{equation} \begin{array}{ccl} \nabla \cdot F & = & \left(\frac{\partial}{\partial ...
7
votes
4answers
3k views

how to make subscripts automatically choose font size

Would it be possible to make subscripts in math mode automatically choose a smaller font when a subscript is in uppercase? E.g., if I have sA, the "A" would appear quite big. Is it possible to tell ...
0
votes
0answers
57 views

Keepaspectratio option for tikz picture

In my current document I have both pictures from file and tikz pictures. For the output I use both, landscape (for screen reading) and portrait (for print). For pictures loaded from file i use the ...
2
votes
1answer
69 views

Scaling pgfplots matching papersize

I'm facing some problems at the moment with scaling some diagrams so that they each fit on a page (landscape) in my appendix. Does anyone has some suggestions how to solve this? Any help would be ...
3
votes
1answer
77 views

How to arbitrarily stretch braces

I want to stretch the \rbrace command by an arbitrary vertical scale factor in order to have precise control over its size inside a TikZ picture. Surely there's a simply command to stretch it, any ...
3
votes
2answers
103 views

Scale of a {forest} tree

How can I change the scale of a tree made with the forestpackage? I work with beamer, and sometimes my trees are a bit too wide, so they finish after the limit of the frame : \documentclass{beamer} ...
5
votes
2answers
120 views

LaTeX parenthesis problem with multline environment [duplicate]

I have a problem with the different size of parenthesis with multiline (see image). Actually i don't care about the different size of the square parenthesis on M and \bar{M} but I really care about ...
0
votes
0answers
42 views

Scaling of landscape figures (images)

I'm trying to insert a landscape figure, which I want to scale down. I'm currently using: \begin{figure*}[tb] \centering ...
3
votes
1answer
129 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 ...
8
votes
1answer
201 views

How do I rescale an align environment on a beamer slide?

I'm trying to resize an equation on a beamer slide to make it larger. However, the usual approach of using \scalebox doesn't seem to work: \begin{frame} \scalebox{2}{ \begin{align} x &= y\\ y ...
9
votes
3answers
13k views

How to align two images side by side and to scale them automatically to use whole slide?

I have two images. How do I align them side by side and scale them so that both of them together occupy the whole horizontal space in a beamer presentation? \begin{frame} \frametitle{Inconsistency} ...
4
votes
1answer
420 views

How can I import and scale matplotlib plots, keeping fonts the correct size?

I'm working on several pieces of coursework involving lots of plots generated with matplotlib in python scripts. Currently I'm doing this with an iterative process where I set a plot size in the ...
9
votes
1answer
191 views

How to change one thing to change all

I have the following but when I change scale, I have to change all images. Is there a better way so that I can change only one place? I read about command/macro but not sure how to use it in this ...
3
votes
1answer
317 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 ...
3
votes
1answer
89 views

\scalebox doesnt compile

I want to scale down an equation and after trying lots of examples found on the internet I still cannot compile or see what is wrong. My code looks like: \usepackage{graphicx} .... \scalebox{0.7}{ ...
4
votes
2answers
391 views

Resize a tabular object to textwidth

I have a table which its width exceed the textwidth of the document, but I want reduce its size to fit the textwidth space. I have tried the resizebox command but it doesn't work at all. ...
2
votes
1answer
296 views

How to scale a dirtree inside a figure?

I drew a tree structure with \dirtree. This tree is located in a {figure} environment. It is possible to adjust the size of the figure? With \includegraphics one can do it with scale. Is there a ...
5
votes
1answer
66 views

Arithmetic overflow in psscaleboxto

The following example, using \psscaleboxto, produces an error: "I can't carry out that multiplication or division, since the result is out of range." Why does it happen? ...
14
votes
2answers
232 views

Access the scale option within TikZ environment

When using the scale option in \tikz[xscale=2] etc, is there any way to access the scale setting from within the TikZ environment?
4
votes
2answers
726 views

resizebox doesn't respect linebreaks?

I'm trying to scale some text up. It seems like \resizebox (from graphicx?) and \adjustbox (from the adjustbox package) ignore line breaks: \resizebox{5cm}{!}{Hello\\ world} Is there a way to scale ...
5
votes
2answers
113 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 ...
0
votes
0answers
114 views

Scale to fixed width of tikzpicture [duplicate]

After looking for something like that here and searching the site. I haven't found something that works (may be I skipped something important). I would like an automated way of telling tikz the final ...
10
votes
4answers
11k views

scaling a table to fit an entire page

I used Excel2Latex to pump out some tables from my excel file. All works fine but heres the output picture: I want the table to be streched accross the entire page. Is this possible and if so how ...
7
votes
1answer
167 views

Table not wider than text, same columns' width, decimal alignment

I'd like to get the same width of columns labeled 1-10 (all except the first one ~ Name of X) be able to adjust the position of "name of Y" (have it centered or on the left. Right now, it's ...