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

learn more… | top users | synonyms

5
votes
2answers
4k views

Inkscape PDF resizing

I'm trying to include some PDF I saved in Inkscape and change the width and the height at the same time. Is this possible? I tried \svgheight and it did not take both values at the same time. This is ...
6
votes
3answers
407 views

Retrieve the current font, scale it, and change the font to that version

I'm using Plain TeX (and eplain, if that matters). I would like to be able to generically scale the current font, no matter how the current font has been set. For example, I want to write a macro ...
10
votes
1answer
220 views

Table-aligned, randomized, repeatingly smaller icons for eyesight-chart

My daughter needs to train her eyesight in accordance to the LEA eyesight chart tests. I have manually created a new chart for her, but it really takes a long time randomzing the four icons and ...
2
votes
1answer
973 views

Missing $ inserted while adding resizebox

This is probably a noob error. I get a "Missing $ inserted" error when compiling the following code: \item $% \begin{array}{c} w_{M}>w_{F} \\ \text{or }w_{F}>w_{M}% \end{array}% :\left\{ ...
4
votes
0answers
3k views

Changing the title height in a beamer [closed]

How can I change the height of the title in the beamer? Height of the title block is big and I want to make it smaller and similarly the width of the left block is big and I want to make it smaller ...
2
votes
2answers
2k views

Consistent font size in EPS image that are scaled?

Assume that at creation time (of an EPS image) the final 'size' of the image is not known. However, this one EPS is used multiple times in different sizes within different documents. But the font size ...
0
votes
1answer
628 views

Figure positions and sizing

I have the following figure code : \begin{figure}[h] \centering \includegraphics[scale=.7,bb=0 0 804 401]{f5.png} \caption{Case Adaptation \cite{16} } \label{fig:f5} \end{figure} Even ...
4
votes
4answers
868 views

Matlab to pdflatex with text properties

I know that this might be more a detail rather than a serious problem but I've already Googled it like crazy and I can't find the solution. Is it possible to achieve a MATLAB plot in pdflatex with ...
6
votes
1answer
308 views

Define the size of an imported picture

Is it possible to use the width of the paper as a variable in order to set the width of an imported graphics? For instance when I want the picture size to be the width of the paper, minus 3 ...
7
votes
3answers
8k views

matrices too big to fit the width of a page

When I type matrices in beamer class, they are often too big to fit the width of a page. What is the way to make the matrices smaller? I also want to make the font of the entries of these matrices ...
4
votes
1answer
900 views

Scaling and positioning TikZ figures in equation environments

I am trying to use TikZ figures as part of an equation, but I am only able make either the positioning or the scaling appear correctly. For instance, giving my figures the correct size using ...
3
votes
2answers
6k views

Use \textwidth for Image width Only when it outgrows the page [duplicate]

Possible Duplicate: Shrink figure only when necessary? Consider that you have this: \includegraphics{some_image_in_pdf.pdf} This will now take its original width, but if you want it to ...
9
votes
1answer
1k views

How to fake mid-caps with LaTeX? (I.e. How to stretch characters of a font?)

Background As discussed in this question, one would often like to use small caps for abbreviations, however, mixed case acronyms such as OpenMP look rather odd (see example 2 below): The problem ...
5
votes
2answers
2k views

Animate package - output graphic size is smaller than original

I successfully created an animation PDF from mulitple PDF pages by using the animate package, but the problem is that the output graphics size is about half the size of the original. How can I ...
10
votes
1answer
7k views

pgfplots axis scaling

Is it possible to define in pgfplots that y should correspond to Y cm in my plot? I know how to do this in tkz-fct, so let me add an tkz-fct example to make more clear what I want: ...
40
votes
3answers
59k 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.
16
votes
3answers
5k views

Scaling a TikZ figure from an external file

I would like to insert figures which were created with TikZ to my LaTeX document. I suppose that if I create the TikZ figure inside the document, that wouldn't be a problem - I'd just play with the ...
11
votes
2answers
11k views

Resize/Scale equation in Beamer

I have a slide in my beamer presentation that looks like: \documentclass{beamer} \usepackage{graphicx} \begin{document} \begin{frame} \begin{columns} \column{0.6\textwidth} ...
15
votes
2answers
1k views

High precision \includegraphics for LaTeX

\includegraphics produces boxes whose witdth and height are about 0.5pt off: \usepackage{graphicx} ... \setbox0\hbox{\includegraphics[width=\textwidth,height=\textheight]{mypic}} \showthe\textheight ...
17
votes
1answer
29k views

Scale figure to a percentage of \textwidth

I would like to change my figure's width to a precentage of my \textwidth: \textwidth /2 would scale to 50% of the \textwidth. What is the proper syntax (if any) to do this ?
7
votes
1answer
2k views

\includegraphics forces new page

When I include a PDF diagram, it forces a new page, so I have one blank page and then this diagram, can somebody help me please? I need to remove that blank page. My document looks like this ...
35
votes
3answers
9k views

pgfplots: how can I scale to text width?

This question led to a new package: tikzscale When I try to scale a plot with: width=\textwidth there is some horizontal space between the start/end of the plot and the start/end of the ...
10
votes
4answers
11k views

scaling a table to fit an entire page

I used Excel2Latex to pump out some tables from my excel file. All works fine but heres the output picture: I want the table to be streched accross the entire page. Is this possible and if so how ...
7
votes
2answers
1k views

Scaling fonts document-wide

I'm looking to use lcmtt mentioned here as my default typewriter font, but the scaling is way out of proportion with the rest of the text. I've used the following commands to enable the font: ...
8
votes
1answer
834 views

How to scale entire document including Maths symbols?

I'm trying to make a cheat-sheet for my Math class. I wonder is there a way to scale the entire document so that I can fit more formulas and theorems into it. It doesn't need to be super tiny though. ...
2
votes
2answers
479 views

Scaling a pst-3dplot to fit a Beamer frame

I'm new to pstricks. I was looking for an automatic way of resizing a plot. I'm trying to fit a 3d plot, generated using pst-3dplot, into a beamer frame. However, I'm not able to make it look good ...
19
votes
2answers
27k views

How to fit a large figure to page [duplicate]

Possible Duplicate: Best figure size adjustment when dealing with different image sizes Given: a large figure, whose height:width ratio is unknown. Todo: Include this fig in LaTeX, such ...
3
votes
1answer
989 views

Scaling components in CircuiTikz

I would like to know how to scale a single component in CircuiTikZ. There are several possibilities to scale paths, a hole diagram, etc., but I didn't find a way to do so with a single component. ...
5
votes
1answer
185 views

Scaling isn't affecting a diagram made with the tqft package

I'm trying to make a drawing, part of which will use Andrew Stacey's tqft package. However, everything his package produces seems to be immune from scaling. For example, the following code is my ...
10
votes
1answer
2k views

Use \setkeys{Gin} to set default scale value doesn’t work

I’d like to make all my graphic a little smaller and tried to set the scale-value of \includegraphics globally with \setkeys{Gin} but while changing width works fine scale has no effect. ...
13
votes
2answers
2k views

Shrink figure only when necessary?

I'm writing a report where I have generated and included several TikZ pictures which I also want to use in my beamer presentation. However, some of the pictures (but not all) which fit in the report ...
6
votes
1answer
700 views

What are the guidelines for making TikZ pictures properly scalable?

I've just started using TikZ for rendering figures for my Master thesis. I've made a few and they look good in the report. But when I tried using them in my presentation slides, some were too small ...
1
vote
1answer
2k views

Using scalable sizes for rectangles, circles and nodes in TikZ?

How do you define the size of a rectangle, circle or node in TikZ to be scalable, like when you position objects using (1, 2) and then apply scale=2? What I'm looking for is to be able to scale the ...
5
votes
2answers
799 views

Force linear scaling of subscripts and superscripts

Perhaps I am being very picky but this font that I am using uses designed fonts for subscripts and superscripts when I want it to use scaled fonts. Their designed subscript and superscript fonts are ...
4
votes
1answer
2k views

Scaling in CircuiTikZ

When scaling a circuit with the scale option: \begin{circuitikz}[scale = 'some_scale_factor'] all the coordinates are well scaled but not the components. How to correctly scale the whole scheme?
5
votes
1answer
593 views

Automagically scale Tikz-Picture AND use Externalization

I need to scale Tikz pictures automatically, and I do this using the following custom environment: % Automagically scale a Tikz picture, so it has the desired (given) width. % Does NOT scale line ...
7
votes
1answer
944 views

Scale tikzpicture to the remaining height of a beamer frame

Often in a frame (of beamer), I have some texts on the top and a resized tikzpicture on the bottom: \begin{frame} \frametitle{...} some texts ... some texts \[\resizebox{!}{???}{ \begin{tikzpicture} ...
11
votes
2answers
310 views

Can I conditionally scale an image with graphicx

In particular, when I include a graphic, I would like it to have width=\linewidth if it's width is greater than \linewidth, but I'd like it to have \scale=1 if it is smaller than the line width. In ...
2
votes
1answer
4k views

How to resize a fomula inside a block?

I would like to insert a formula as a block in my presentation: \begin{block}{concretization}{ $\renewcommand{\arraystretch}{1.5}% \begin{array}{l} \gamma \rightarrow ... \end{array}$ ...
3
votes
2answers
4k views

How to resize a figure in Beamer?

In my presentation I put \tikzpicture, cases or \array in \figure, I am wondering if it is possible to resize the whole picture including caption with a factor. It seems that \resizebox{<horizontal ...
60
votes
3answers
31k views

How to scale a tikzpicture including texts?

It seems that the scale option scales only the length of lines, but not the size of texts. For instance, 1 and true and not scaled in the following code. \begin{tikzpicture}[thick, scale=0.6] \draw ...
6
votes
1answer
712 views

Redefine \textsc for slightly large small caps

In most fonts, the small caps are as tall as the x-height, but this looks weird when you want to tack an 's' onto the end of an abbreviation to make it plural (discussed in depth on typophile). I can ...
7
votes
1answer
715 views

Scale included graphics to the higher ratio instead of the lower for given width, height

I would like to scale an included graphics keeping its aspect ratio. Using \includegraphics[width=<my width>,height=<my height>,keepaspectratio]{file.jpg} scaling naturally takes place, ...
4
votes
2answers
719 views

resizebox doesn't respect linebreaks?

I'm trying to scale some text up. It seems like \resizebox (from graphicx?) and \adjustbox (from the adjustbox package) ignore line breaks: \resizebox{5cm}{!}{Hello\\ world} Is there a way to scale ...
4
votes
1answer
241 views

Is it OK to scale image by changing its resolution?

Assume I have an image fruit240.jpg of 800 pixels by 600 pixels at resolution of 240 dpi. Normally I can scale it by half using the following way. \documentclass{article} ...
2
votes
1answer
3k views

Alignment and scaling of nested subfigures

Update: Read this first I originally asked this question to find out how I would show a large image with magnified portions of the same image next to it. I was doing this by manually cropping copies ...
8
votes
2answers
2k views

using underbrace without having left( and right) scale

When I combine adaptive parentheses (\left(, \right)) with \underbrace, the parentheses adapt to span the underbrace. Example: \left(\underbrace{e_{s,i,j}}_{\mathclap{=:x>0}} + ...
2
votes
1answer
484 views

Text boxes with scalable image as background

Is it possible to define text boxes with modifiable with and height which use a background image which should scale when you modify the width or height of the box. More complicated, it should be ...
9
votes
1answer
741 views

How determine slope of straight line (with auto scale of axis) in PGF plots

I want to allow automatic scaling of the axis (so don't want to set axis equal=true), and be able to place a label on a line at a manually chosen point along the line. Of course if axis equal=true, ...
2
votes
1answer
379 views

How to resize a line with the text height with TikZ?

I made a new style of quoting. But I have to put the line height and width of the quote manually. Someone have a solution for make a environment with just 2 or 3 parameters? The quote, the author ...