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

learn more… | top users | synonyms

11
votes
2answers
20k 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 ...
12
votes
2answers
5k 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} ...
6
votes
1answer
811 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. ...
29
votes
2answers
604 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?
10
votes
2answers
401 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
199 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 ...
2
votes
1answer
3k 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} ...
19
votes
3answers
2k 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
653 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
370 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
534 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 ...
3
votes
1answer
220 views

How to align and scale pdf in the same way

I have a big image in PDF and I use software to split that PDF into 5 equal pieces. I am using pdflatex to insert each pdf in a separate page with \includegraphics by the same scale factor. I need to ...
9
votes
2answers
218 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
2k 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 ...
14
votes
2answers
385 views

Smaller membership symbol

To mean that x is an element of X, we can write x \in X. However, in the standard packages, the membership symbol that results is too big; it draws too much attention to itself. This is especially ...
8
votes
2answers
420 views

How to type a tall / symbol?

Say I want \documentclass{article} \begin{document} \[cl(V, q) =\left (\sum_{r=0}^{\infty} \bigotimes^r V\right)/\{v\otimes v = -q(v,v)\}\] \end{document} How to make the "/" symbol longer to ...
5
votes
2answers
590 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: ...
6
votes
2answers
426 views

Automatic scaling of kiviat diagrams

\documentclass[twoside,a4paper,12pt]{article} \usepackage[usenames,dvipsnames,svgnames,table]{xcolor} \usepackage[upright]{fourier} \usepackage{tkz-kiviat,numprint,fullpage} \usetikzlibrary{arrows} ...
10
votes
1answer
3k 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 ...
11
votes
2answers
13k views

Fitting tables into beamer

I have some tables in my presentations that are rather big. I found out how to use \resizebox to fit them into my page. Unfortunately this only works for tables that are wide. For long tables, my ...
18
votes
2answers
3k 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
684 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} ...
5
votes
1answer
365 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? ...
4
votes
1answer
335 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} ...
6
votes
1answer
6k 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? ...
1
vote
1answer
206 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
271 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 \\ ...
11
votes
2answers
3k 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 ...
8
votes
1answer
3k 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 ...
4
votes
1answer
362 views

Figures not obeying margins

I have a few figures in my document not obeying the margin constraints: \usepackage[left=2.5cm,right=2cm,top=2cm,bottom=2cm]{geometry} Most do. But these one's don't... they are defined as the ...
6
votes
2answers
1k views

How to scale a Gantt figure?

Sketch: I was trying to scale a Gantt chart in order to fit in to a Beamer presentation. Suppose I have some gantt chart bigger than the presentation rectangle: \begin{figure} ...
6
votes
1answer
3k 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 ...
17
votes
3answers
1k views

Stretching text vertically

Is it possible to stretch text vertically? Like this:
7
votes
1answer
1k views

Beamer with Tikzpicture. How to change scale of picture and distance between lines of nodes?

I am a beginner in LaTeX, trying to convert a presentation in beamer. I am experiencing difficulties with the scale option that does not seem to work, and I cound not find a way to reduce slightly ...
6
votes
1answer
489 views

Scaling down all the equations using one single command?

I am about to submit an article with lots of equations in there (defined in both equation and align environments and I also have lots of inline math of course). There is a maximum page limit for the ...
6
votes
3answers
247 views

Enlarged Characters

for a presentation about Chinese characters I need to enlarge a single character so that it takes about the size of 1/4 of the page (I plan to show 4 different characters in some kind of grid, which I ...
3
votes
1answer
2k views

How to deal with PDF figures

I can insert JPEG figures in publications, but when it comes the time to include PDF figures (I prefer them for graphics because of its vectorial nature) I cannot scale them properly. I am using ...
3
votes
1answer
1k views

How to resize a matrix?

I want to see How to reduce the size of a matrix ? I have this code: \begin{center} \[ \begin{blockarray}{cccccc} {\{1\}\{2\}\{3\}} & ...
5
votes
1answer
2k views

Trouble Putting Figure in \resizebox

I would like to create an array of tikzpictures on a beamer slide by beginning a figure environment and creating four subfloats inside it (using the subfigure package). Strangely, this exact process ...
2
votes
2answers
2k views

how to set the canvas and font size in TikZ?

I am using TikZ to draw standalone pictures using the PreviewEnvironment (which cuts the PDF size around the picture). I then import the PDF figure inside LaTeX using \includegraphics. Let say my ...
6
votes
1answer
1k views

LaTeX scaling tikzpicture does not work

The TikZ picture in the following code does not scale correctly. It overlaps with text. If I comment out transform canvas={scale=0.5} then it works correctly (but I would like to scale everything). ...
7
votes
2answers
3k views

Fit large image on one page with section title

I have a large image that needs to be scaled and put onto one page, which has a section title as well. The image should fill the maximum space avaiable. I tried passing different arguments to the ...
7
votes
2answers
749 views

Scale all TikZ images in a document by the same factor

Is it possible to scale all TikZ pictures in a document by the same factor globally? Something like \usepackage[scale=0.9]{tikz} doesn't work.
8
votes
4answers
5k 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 ...
22
votes
5answers
2k views

Magnify document

I've written about a hundred or so lectures in LaTeX, all of which include a separate preamble document for consistency and ease of maintenance. Now that I have a SMARTboard in my classroom, I would ...
4
votes
1answer
1k views

Enlarge the integral sign proportional to its content

In LaTeX you have a command like \left(\right) to enlarge the brackets proportional to the content between the brackets. for instance \left(a\right) will produce smaller brackets than ...
7
votes
1answer
961 views

beamer: Scaling document icons in the bibliography

Bibliographies can be typeset in a smaller font size by redefining the \bibfont macro (if one uses natbib or biblatex) or by simply appending the definition of \thebibliography. This also works with ...
2
votes
2answers
1k views

Perfectly scale line, paragraph, image, anything up to textwidth

I want to scale a multi line text up to the available textwidth. I found something here: pgfplots: how can I scale to text width? and here: ...
4
votes
1answer
330 views

Automatically scale an XY-Matrix in the Index of a math symbol

Consider the following code: \documentclass[a4paper,12pt]{article} \usepackage[all,2cell]{xy} \UseAllTwocells \newcommand{\partinto}[3][]{% \xymatrix@C=.85em@1{% *+{#2\,} ...
2
votes
1answer
463 views

unscalable oldstyle numbers through \newfont with XeLaTeX (Minion)

In what is below, the \newfont command does not scale the numbers. I would like to know why. \documentclass{book} \usepackage{fontspec} \setmainfont[Ligatures={Common}, Numbers={OldStyle}]{Minion ...