Tagged Questions

{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
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
193 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
2k 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
76 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
240 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
216 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
113 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 ...
4
votes
1answer
117 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
81 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
99 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
68 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
79 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
90 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. ...
14
votes
2answers
4k 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
145 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
206 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
157 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
258 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
357 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
174 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
148 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
167 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 ...
9
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
154 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, ...
7
votes
0answers
476 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
136 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
139 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
386 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
129 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
3k 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
146 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
173 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
193 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
78 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
121 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
234 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
201 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 ...
9
votes
3answers
773 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
251 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
375 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 ...
11
votes
3answers
323 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
520 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
95 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
440 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
112 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
594 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
642 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 ...