{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
83 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 ...
4
votes
1answer
108 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 ...
3
votes
1answer
77 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 ...
4
votes
2answers
74 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 ...
1
vote
2answers
112 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
116 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
129 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
192 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
209 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
67 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 ...
9
votes
1answer
568 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 ...
4
votes
1answer
1k 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
192 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
361 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
4k 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. ...
5
votes
1answer
81 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? ...
0
votes
0answers
332 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 ...
7
votes
1answer
253 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 ...
2
votes
1answer
131 views

Latex: How to apply smaller size to all Figures/Tables contained in a Tex document

Figures/Tables do not fit into the page, so that some tables get cut by their right side (imagine that I cannot see the end of the table on its right side). Here is the complicated part: My ...
5
votes
1answer
129 views

Scaling a tikzpicture to fit in a beamer frame

How can I vertically scale the figure to accomodate on the frame? \begin{frame}{P\textsuperscript{H}metry studies} \begin{figure}[scale=0.5\textheight] \begin{tikzpicture} \node [block] at (0,6) ...
3
votes
1answer
82 views

How to get the available space for an image

I want to design a figure (in a external graphics editor, e.g, Illustrator) to exactly fit (without scaling!) the whole available space on an empty page of my document minus the caption of the figure. ...
0
votes
1answer
105 views

Why is scaling text evil?

The TikZ & PGF manual says that It is possible to transform nodes, but, by default, transformations do not apply to nodes. The reason is that you usually do not want your text to be scaled ...
1
vote
0answers
74 views

technical drawing with automatic re-shaping from list

I would like to know which program will suit my needs. I want to do technical drawings for direct use in (wood) workshop, specifically organ-building. We prefer 1:1-scaled drawings, exactly ...
1
vote
1answer
97 views

Error while scaling a table

I'm trying to scale this too wide table, but I'm getting an error and unable to solve this problem at all. Here is the error: "! You can't use `\hrule' here except with leaders" on the caption line". ...
4
votes
1answer
96 views

\includegraphics[scale] makes plot figure (PDF) from smooth to serrated

I plot a function in Scilab and export to pdf image file. The pdf file looks very smooth as following. However, when I tried to include this smooth pdf file in LaTeX. It becomes serrated like. ...
15
votes
2answers
5k views

Scale tikz figure to a percentage of \textwidth

A user asked a question about scaling a figure to a factor of \textwidth and got an answer like this: \documentclass{article} \usepackage{graphicx} \begin{document} ...
3
votes
2answers
156 views

How to control the vertical distance between the descender and the ascender?

I want a text to be 0.5 cm tall, that is, the vertical distance between the descender and the ascender should be exactly 0.5 cm. How can I achieve that? Edit: The locations of the ascender, meanline, ...
4
votes
1answer
215 views

Symbols of height intermediate between \big and \Big needed

I consistently find that math symbols scaled with \big/\bigl/\bigr are too small and those scaled with \Big/\Bigl/\Bigr are too tall. Here is an example: \documentclass{article} ...
3
votes
1answer
174 views

Adjustbox does not reduce table and tikzpicture widths

I'm redesigning lecture notes for a university class since the students wanted to read the notes on their tablets, e-book readers, etc. So I've written a Makefile with different targets for different ...
14
votes
2answers
268 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?
5
votes
2answers
666 views

Adjusting the size of an arrow

I would like to make the width of an arrowhead larger. Is there a simple way to do this without defining a new arrowhead type? For instance, I would like to be able to write something like ...
2
votes
1answer
192 views

How to scale a tikzpicture in an external file for a beamer slide?

I have this tikz diagram in a separate document. I use the standalone package to include it into my presentation. However, I experience several problems: Setting the included picture size Scaling ...
6
votes
1answer
171 views

Scaling inside a TikZ matrix does not work?

I'm having some difficulty at scaling a TikZ draw inside a matrix: \documentclass[margin=5pt]{standalone} \usepackage{tikz} \begin{document} \begin{tikzpicture}[scale=.5] \matrix ...
2
votes
1answer
181 views

Global scaling of images in html output (only) of htlatex

I have the following MWE with some images: \documentclass{book} \usepackage{graphicx} \begin{document} Lorem ipsum dolor sit amet, consectetur adipisici elit: \begin{centering} ...
8
votes
2answers
1k views

tikz, positioning library: node distances in scaled pictures

I do find it arkward that numbers without dimension in the shifting part of the keys from the positioning library are not scaled. I can retrieve the unit vector and use it in the values but I do find ...
10
votes
2answers
4k views

resizebox doesn't resize a tabular vertically

Why is that? Shouldn't they both be 2cmx2cm in size?! \documentclass{article} \usepackage{graphicx} \begin{document} \resizebox{2cm}{2cm}{\rule{6cm}{7cm}} \resizebox{2cm}{2cm}{\begin{tabular}{l ...
6
votes
1answer
171 views

Aromatic rings resized with chemfig

When I want to reduce the size of a molecule drawn with chemfig I usually put a [scale=0.xx] before the argument of the command. However when I deal with aromatic rings this method doesn't work well, ...
8
votes
1answer
551 views

Scale .pgf image but preserve font size

Using Matplotlib, I generated a .pgf image. import matplotlib matplotlib.rcParams.update({"pgf.texsystem": "pdflatex"}) from matplotlib.pyplot import subplots, show from numpy import linspace x = ...
5
votes
1answer
146 views

Scaling of Schwabacher font

I want to use the Schwabacher font from the yfonts package but unfortunately I am unable to scale it. So this works: \documentclass{article} \usepackage{yfonts} \usepackage[T1]{fontenc} ...
5
votes
1answer
166 views

Scaling bibitem symbols in beamer[poster]

Beamer has an option to draw a cute little article icon (official wording from the manual) next to each \bibitem when displaying the bibliography. When using beamerposter, often this cute icon is a ...
3
votes
0answers
408 views

TikZ scaling graphic and adjust node position and keep font size

I have several pictures in my thesis. I want to draw arrows with text over these pictures. After that I want to scale the picture, but the node position should adjust to the scaling and arrows, and ...
1
vote
1answer
134 views

Automatic PDF generation, image scaling

I am currently working with GitHub's wiki and I have markdown pages in the wiki that I would like to convert to PDF files. I have a script that uses Kramdown, bash/sed/grep and custom HTML tags for ...
5
votes
3answers
4k views

Sizing for 'given that' symbol - vertical bar

I want to write an equation with $\mid$, but it is too small, can i make it bigger in any way? I am kinda new to TeX so i have no idea how to do it.
4
votes
2answers
157 views

Shrinking verbatim text

Heiko Oberdiek helped me a lot by finding a solution for shrinking text when needed. I want to apply this method to verbatim text as in the example below, but this is somehow forbidden (Something's ...
1
vote
0answers
191 views

How could I use scalebox to rescale a table such that it fits exactly in the usable page width (i.e., between the margins)?

How could I use scalebox to rescale a table such that it fits exactly in the usable page width (i.e., between the margins)? Is there some way in which something such as \hsize could be used as an ...
3
votes
1answer
204 views

Wrong frame size in animation

Consider the following code (more or less this): \documentclass{article} \usepackage{lmodern} \usepackage[ hmargin=2.4cm, vmargin=3cm ]{geometry} \usepackage{tikz} \usetikzlibrary{calc} ...
4
votes
1answer
80 views

Scaling text in pictures

I create pictures with pstricks, that contain rectangles and text within the rectangles. When I need to scale the picture, I use "psset unit=...", and all rectangles in my picture are scaled ...
2
votes
1answer
132 views

Scaling External Asymptote File within the Current Document

I have diagrams generated in Asymptote stored in external files. Is it possible to input the files into my current LaTeX document and to choose the scale factor within the current document? The ...
3
votes
1answer
244 views

Latex posters - to scale or not to scale

I am designing a rather large poster (850mm x 2150mm) and trying to figure out whether to create it in actual size or whether to create a smaller version and scale it up afterwards. The two comments ...
7
votes
3answers
212 views

How to scale/resize a box in plain TeX?

How can I resize (anamorphically) the contents of a box in plain TeX, that is, give it new width, height and depth? \setbox0=\hbox{Hello!} \copy0 % output at orig. size % % code which resizes box 0 ...