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

learn more… | top users | synonyms

4
votes
2answers
202 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
489 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
202 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
317 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
414 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
292 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
626 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
263 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
158 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
52 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
160 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
1k 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
165 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. ...
4
votes
2answers
2k 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} ...
2
votes
1answer
272 views

How to automatically scale inline TikZ code in subscripts?

I want to use inline TikZ code to create my own subscript symbol. For example something like $V_{\tikz{ \draw [|->] (0,0) -- (2ex,0); }}$ The problem is that it is not scaled. The length of the ...
4
votes
2answers
282 views

How to scale prooftree environment (bussproofs package)

I am using package bussproofs in order to draw sequent calculus style proofs. The proofs are often lengthy and would like to scale them but I can not do it. There is an uninformative error raised: ...
1
vote
0answers
141 views

Commands from graphics have no effect [duplicate]

I am learning LaTeX from a book, and I am using TeXnicCenter. The book has a chapter about the graphics package, so I download it and try the commands. But I find that when I use commands like ...
12
votes
3answers
5k views

Make two figures aligned at top

I am inserting two graphs (of different size) in the following way: \begin{figure}[H] \begin{center} \includegraphics[scale=0.5]{graph1.eps} \includegraphics[scale=0.3]{graph2.eps} ...
9
votes
2answers
651 views

Defining scalable “white curly brackets” {| and |} (⦃ and ⦄)

I would like to construct what Unicode calls "white curly brackets" that are in addition scalable. They look like ⦃ (≈{|) and ⦄ (≈|}) and have Unicode codepoints U+2983 and U+2984. unicode-math has ...
2
votes
1answer
244 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 ...
7
votes
2answers
5k views

Really wide hat symbol

Is there any way to get a hat wider than widehat? Why doesn't \widehat{abcdefghijklmnopqrstuvwxyz} really go over all of it?
3
votes
2answers
160 views

Resizing image and losing quality

I want to create a pdf document from images of different size and I fit each image to the text dimensions to include them in the document, with \includegraphics[width=\textwidth, height=\textheight, ...
5
votes
1answer
7k views

Is it possible to scale an entire \begin{figure}?

I have a bunch of LaTeX-output from Gnuplot which I would really like to leave alone. Is there an easy way of scaling an entire figure? Something like \includegraphics[scale=0.5]{...} but just for ...
5
votes
2answers
2k views

Shrink table to fit on a page, or keep it as it is

I am using \resizebox{\columnwidth}{!}{% ... %} to fit a table which might be too wide onto a page by scaling it down. However, my problem is that if the table is smaller than the column width, it ...
3
votes
2answers
128 views

Set picture size to size of a given box

I would like to use the picture mode in latex, but need to set the size of the drawing region to the size of some other box. I would normally do \begin{picture}(max_hor, max_ver)(ll_hor, ll_ver) ...
4
votes
3answers
662 views

Resize images to half of text width only if too big for page margin

I want the images I'm using that exceed the page's text width to be scaled down to half the text width. Images that aren't wider than the text width don't need to be scaled. I have one markdown ...
5
votes
1answer
8k views

Resize table and caption

I usually apply a \scalebox to resize things, but I always stumble upon the fact that I cannot simply include a \caption{...} in the \scalebox. As an alternative to \scalebox, I found I may use ...
10
votes
2answers
2k views

Macro for \textwidth, \textheight and keepaspectratio

I'm using many pictures within my beamer presentation. Somehow I'm tired of writing: \begin{figure} \includegraphics[width=0.8\textwidth,height=0.8\textheight,keepaspectratio]{source} ...
5
votes
1answer
502 views

\resizebox shifts tikzpicture up when in a subfloat environment

Why when I try to re-scale a tikz figure using \resizebox the baseline is shifted up (regardless of how small the scale factor is), and two horizontal floats are not aligned properly. ...
28
votes
2answers
480 views

What is truecm?

In examples found around the web, some people specify lengths such as width=5truecm with \includegraphics or the geometry package. How is this different from regular 5cm?
8
votes
2answers
277 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 ...
4
votes
1answer
161 views

Fit the height of the chapter number to n-times the height of the chapter name

I would to get the chapter number tall n-times the chapter name in order to have a better proportion between the two elements. Why I get errors and how can I fix that behaviour? I thought something ...
1
vote
1answer
945 views

Why can't I scale my image?

I'm using the graphics package and I can insert my graphic into the document without any difficulty, apart from the fact that it's huge! I am using the following command: \documentclass{article} ...
15
votes
3answers
1k views

Includegraphics maximum width

With \includegraphics I can give the width of the resulting image (which would be scaled). How can I give a maximum width of the image? That is, if the original is smaller than X, I'd like to keep ...
3
votes
1answer
376 views

Scaling a (beamer)poster output

I use beamerposter with pdfLateX. I normally make the poster for A0 page size but need to reduce the size of (scale) the poster to a specific width to fit a smaller size frame used for showing posters ...
1
vote
1answer
224 views

How can I write a long equation in multi line scaled to text width?

I want to write a long equation over several lines, but result looks highly irregular. How can write this equation better, preferably with all equation occupying the same wide? ...
4
votes
1answer
340 views

How do I rescale cropped material with pdfcrop

I'm running pdfcrop (version 1.31) on Mac OSX. From what I read on pdfcrop page I should be able to rescale the size of the final document. The suggested approach is pdfcrop infile.pdf letter ...
9
votes
2answers
178 views

Set variable with mathematical expression

I need to do something like the following, \includegraphics[width=(\textwidth - 50mm)/2]{myfig.eps} What keywords can I use to search for doing this operation? Everything I've searched for was ...
10
votes
2answers
1k views

Set standard default scaling of \includegraphics

I am using Sphinx and the plantuml package to include UML diagrams. The plantuml package for Sphinx generates the following LaTeX code: \includegraphics{%s} Anyways - the diagrams are to big, so ...
4
votes
2answers
262 views

Change default width of images in graphicx package

Is it possible to change the default width of an image included via \includegraphics (from the graphicx package) to a custom value, for example \linewidth. So I want something like this: ...
10
votes
1answer
1k views

Scaling tikz mindmaps within a beamer frame

I recently discovered tikz and I fell in love with it! However, I am having some annoying issues when I try to include a tikz mindmap in beamer. Problem is that I can't manage to have the mindmap ...
18
votes
2answers
1k views

Find optimal figure size to fit two images on one page

I often encounter a situation where I would like to fit two or three figures on one page. I define my figures as follows: \begin{figure}[htpb] \centering ...
4
votes
4answers
485 views

How to scale a tikz picture?

I am using \documentclass[slidestop,compress,mathserif,12pt,xcolor=dvipsnames]{beamer} \graphicspath{{images/}} \definecolor{LHCblue}{RGB}{4, 114, 255} \usecolortheme[named=LHCblue]{structure} ...
4
votes
1answer
207 views

Scaling cmtt to match times

I want to use Times Roman (times) as the default font and Computer Modern Typewriter (cmtt) for monospaced text. However, Computer Modern is a little too large. How do I scale it down document-wide? ...
3
votes
1answer
261 views

Scaling problem with fontspec package and \footnote.

footnote does not scale properly with using fontspec. Any idea how to solve this problem? Already tried realscripts and xltxtra but no luck. Thanks, \documentclass[12pt]{article} ...
5
votes
1answer
2k views

How to fit a wide table

I see that many people have already asked the same question, but unfortunately I can't make it work for me at the moment. So, once again, how can I centre and fit tables larger than that to my report? ...
0
votes
1answer
170 views

Changing scale using TeXgraph

I'm using TeXgraph to create figures and stuff, being a bit lazy and not wanting to code everything. I chose to export the code into tikz to use with tikzpicture. The outcome is great if I don't have ...
3
votes
0answers
185 views

Scaling figures / graphics inside table [closed]

I have the following code: \begin{table}[ht] \begin{tabular}{c c c} Name & Number of crossings & Arf invariant \\ \includegraphics[scale=0.5]{../images/unknot.jpg} & 0 & 0 \\ ...
10
votes
2answers
1k views

How to scale all fonts (in the whole document) by certain factor or percentage?

Is there a way to scale the font size of all text in a LaTeX document by a certain factor, something like \scalealltext{factor=0.95}? Edit: Text should reflow, so as to fit (a bit) more text on a ...
6
votes
1answer
2k views

Disable scientific notation for Y-axis and data in pgfplots?

I've been trying to figure out how to change the chart from scientific notation to just show the 5 digit numbers. I've tried scale and scale ticks with not success. How can I change the y-axis and ...