0
votes
0answers
26 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 ...
8
votes
1answer
188 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
68 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. ...
4
votes
1answer
63 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. ...
8
votes
2answers
314 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} ...
2
votes
1answer
106 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} ...
2
votes
0answers
249 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
97 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 ...
4
votes
2answers
100 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 ...
4
votes
1answer
58 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 ...
0
votes
0answers
92 views

Figure seems incorrectly scaled

I have an image (.jpg) that is 175mm wide (500 dpi). When I include it in my document (elsarticle class) using: \includegraphics[scale=1]{Figures/FIG2.jpg} The image appears HUGE, so that only a ...
11
votes
3answers
205 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 ...
7
votes
1answer
96 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 ...
2
votes
1answer
218 views

Always scale and clip background image so it fills the page

I have learned from other answers how to use an image file as background and make it transparent. Since my background files do not necessarily have the exact page dimensions (they are provided by ...
2
votes
1answer
145 views

Stretch image width within a two-column layout in ConTeXt

Background Trying to place an image within two-column text. Problem The image renders as follows, where the vertical bar is the column separator: Code The following code produces the problem ...
4
votes
1answer
481 views

Problem with scaling used in \includegraphics

I have a question on scaling a graph when the graph is included using \includegraphics. A code snippet is below. \documentclass{article} \usepackage{tikz} \usepackage{pgfplots} ...
4
votes
1answer
250 views

Montage multiple PDF images, scaled to each other's dimensions, on a single PDF page?

I though "montage" would be the most appropriate term here, since in Latex we mostly deal with multi-page documents (and I was afraid that terms like "concatenate", "append", "collect" etc. could be ...
6
votes
1answer
648 views

How do I include and scale on-image-TikZ-drawings made by the standalone class?

I am building several on image TikZ drawings. In detail: I am having PDFs of technical drawings, I crop the white margins, overlay nodes and some arrows and compile them. The result should give me a ...
1
vote
1answer
112 views

Scale only dataset read from file without scaling whole graphics

I have datasets which vary strong in range. So i want to scale my dataset to adjust it to my template, so that the grids, axes and so on are identical with the neighbour-subfigures. What is the ...
3
votes
1answer
103 views

Why could \usepackage{Sweave} be affecting my graphics scaling?

I'm using Sweave to produce a large, multi part academic thesis. I had neglected to specify \usepackage{Sweave} in my preamble, but everything was working fine until I added some verbatim output from ...
4
votes
2answers
416 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 ...
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} ...
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, ...
4
votes
3answers
664 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 ...
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} ...
1
vote
1answer
946 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 ...
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: ...
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 ...
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 \\ ...
4
votes
1answer
180 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 ...
3
votes
1answer
680 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 ...
2
votes
2answers
1k 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 ...
7
votes
2answers
2k 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 ...
2
votes
2answers
686 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: ...
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 ...
10
votes
1answer
208 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 ...
0
votes
1answer
550 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
811 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
280 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 ...
3
votes
2answers
5k 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 ...
5
votes
2answers
1k 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 ...
38
votes
3answers
49k 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.
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 ...
16
votes
1answer
25k 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 ...
16
votes
2answers
23k 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 ...