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

learn more… | top users | synonyms

1
vote
0answers
47 views

placing text using \widthof with tikz

I am new to using Tikz and I do have a question about writing a macro with allows me to use a parameter to scale a simple drawing and put text according to the size of the drawing. Here is what I ...
5
votes
2answers
75 views

Matrix is too small, how to make it bigger?

I am trying to make the following matrix bigger since the elements do not fit quite well inside of it. I don't know why.. \documentclass[11pt,a4paper,oneside]{report} % KOMA-Script book ...
42
votes
4answers
63k 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.
4
votes
2answers
91 views

Rescaling many images which are scaled with \includegraphics

In a LaTeX document I have about 70 images which are scaled using the graphicx-package and \includegraphics[scale=0.8]{foo.pdf} where the scaling factor varies. Now I would like to rescale them all ...
2
votes
1answer
75 views

Rescale paragraph to fit margins or detect used width of paragraph

I want to write a command or similar that allows me to rescale a given paragraph to fit a given frame, keeping the aspect ratio. The problem is that the paragraph is usually manually set and not ...
3
votes
1answer
29 views

How to use scalebox in captions? [duplicate]

This code: \documentclass[a4paper,twoside,12pt]{scrreprt} \usepackage{fontspec} \begin{document} Test \scalebox{3.0}{$\int$} test. \begin{table} \centering \begin{tabular}{cc} A & B \\ C ...
2
votes
1answer
58 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} ...
7
votes
1answer
149 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
49 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
109 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
39 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
22k 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
80 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
67 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
106 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
176 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
103 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
64 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
203 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
36 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
328 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
59 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
36 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
32 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
88 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
95 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
83 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
88 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
62 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
46 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
51 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
4k 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
64 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
77 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
82 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
114 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
125 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
44 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
137 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
225 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
14k 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
523 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
323 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
115 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
623 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
308 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
68 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
240 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?