{graphics} is about inclusion of external graphic files in your document. For questions about vector graphics created programmatically inside a (La)TeX document, use {diagrams} instead, or preferably the tag for specific packages like {tikz-pgf}, {pstricks}, or {metapost}.

learn more… | top users | synonyms (4)

1
vote
2answers
468 views

Including eps files written on Xara

I'm trying to submit a preprint to arXiv, and the compiler there fails to convert it to PDF (although WinEdt at home has no complaints). Moreover, the log file didn't provide me with meaningful ...
10
votes
1answer
2k views

Embedding MetaPost in LaTeX document

I have problem using the emp package in TeXlive 2010. When I try to use it with empcmds it prints contents to output. If I use emp it parser fails after first character. Also - how should I import ...
4
votes
1answer
1k views

Figure reference management

I'm writing an academic report and it is required that I include my figure/picture references (almost exclusively URLs). Already tried to use BibLatex to make sub-bibliographies but that proved to be ...
29
votes
1answer
8k views

Insert graphic at precise place on a page

I would like to put a small graphic in the bottom right corner of a the title page of an article. Is there a way to specify a precise location for a graphic on a page (that has text on it)? I've ...
1
vote
0answers
236 views

Get remaining height on page (and scale image to it) [duplicate]

Possible Duplicate: How to define a figure size so that is consume the rest of a page? Hi all, I've seen How to compute the remaining space on the current page - but that doesn't really ...
7
votes
1answer
1k views

Text positiong in cell (tabular)

I'm using the beamer class and this code: \begin{tabular}{|c|l|}\hline \includegraphics[scale=0.4]{2_1} & hey ho \\ \hline s & ho hey \\ \hline \end{tabular} and I get this output: ...
2
votes
1answer
429 views

How to plot "$f(x,y) = x^2 + y^2$ on $(0,0) \times (1,1)$?

Hello Friends Thanks for your time. Please help in plotting $f(x,y) = x^2 + y^2$ on a unit square with TikZ. Thanks.
25
votes
3answers
53k views

How to center large figures in LaTeX and how to fix short justified lines?

I have 2 questions: I am trying to center a figure in LaTeX, but above a certain size it just starts at the left margin and goes beyond the right. How can I make it actually center, so the amount it ...
5
votes
1answer
955 views

Draw red X over an external image using PGF/Tikz

I want to draw a thick red X over an image from a PNG file, as a part of a Tikz picture. How can this be done? The documentation regarding external images in PGF is a bit vague.
10
votes
1answer
538 views

Reusing an image without duplicating it

PGF has a nice feature, declaring an image and re-using it again and again. With a PDF backend, it reduces the size of the output, as the image is embedded in the file only once. However, the PGF ...
0
votes
0answers
256 views

Include image in a table [duplicate]

Duplicate of: How to Label and Caption a Tikzpicture inside a tabular environment I am trying to include an image inside a table cell. But I am declaring the image using the figure ...
19
votes
1answer
6k views

Vertical alignment of inline images

Images appearing inline aren't always ideally placed relative to the baseline and risers of the text itself, so I frequently find myself doing manual adjustment, by eye, using \raisebox{}{} with a ...
3
votes
1answer
554 views

How to include multiple images inside a TikZ loop

I have a case, where my files are named images_001.png .... images_011.png. I tried to put them like this: \def\filelists{1/{"t0_01"},2/{"038"}, 3/{"050"},4/{"060"}} \foreach \i\element in ...
0
votes
1answer
96 views

Hints wanted on scanning pictures from books

I am writing a book proposal in LaTeX. It will have a lot of graphics, most of which I will create, and I know how to deal with those. But I have gotten permission to reproduce some pictures from ...
5
votes
1answer
1k views

Scale an image where both width & height are off limits

When using images bigger than the text-area, I want to scale them but considering at the same time width and height. The problem happens to appear when both width and height are off limits. Here, I ...
1
vote
1answer
2k views

How to write raw text verbatim in LyX?

I want to write PlantUML diagrams from within LyX, and I want to put the result right into the document itself. To do so, I attempted to create a comment environment, in which I put the diagram ...
1
vote
0answers
291 views

Why are my images blurry in pdflatex? [duplicate]

Possible Duplicate: My pixel perfect picture gets blurry when compiled in LaTex I am currently creating a presentation using beamer. For this I am taking screenshots, and then I use Gimp to ...
13
votes
4answers
21k views

Specifying an absolute Windows path for \includegraphics

I know that includegraphics can be used in Latex to include images into the document, but how can I specify a path for that file? \includegraphics[]{picture-name} Instead of asdd.jpg I want to ...
7
votes
3answers
1k views

Howto generate png images of characters using LaTeX

I need to generate PNG images of Latin characters and AMS symbols with transparent background. Each image should be exactly in dimensions of its box. I know It's possible with LaTeX because I see ...
24
votes
3answers
4k views

Can one replace bullet points with graphics?

Is it possible to replace bullet points in an itemize environment with graphics? I can find answers about replacing bullet points with other symbols, but in all the examples I can find, these symbols ...
0
votes
2answers
7k views

includegraphics - Problem with compiling

I am actually writing a latex file in which I would like to insert pictures. I have the following preambule: \documentclass[a4paper, french]{book} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} ...
1
vote
1answer
258 views

Local central figures repository [duplicate]

Possible Duplicate: Automatically Locate Included Figures and Graphics This question is related to the workflow with LaTeX, more then it actually related to LateX... However, I would be ...
1
vote
2answers
1k views

Change the shape of a vertex using qtree

Using the QTree package, is it possible to add a shape to a node? For example, a square or a circle?
2
votes
1answer
445 views

Varying images at varying positions in Book and Memoir class chapter styles

I'm working on a chapter style: link (pdf) I want to use a different image at different positions in each chapter, sometimes even hanging into the title line (after the text), but the title line ...
2
votes
1answer
225 views

Text (preferably centered with the first line in bold) to the side of included graphics in LaTeX

I have a document with a main heading followed by a picture with some contact information to the right of it. After that the other subheadings continue. I want to do the same in LaTeX. Which I am ...
3
votes
1answer
5k views

Insert image in latex [duplicate]

Possible Duplicate: Force figure placement in text Hi! I'm trying to insert an image in latex with some text around: Here is our image: \begin{figure}[h!] \centering ...
4
votes
1answer
597 views

Are there any Windows-based Graphical editors for \pgfdeclareshape

On TeXample, Martin Scharrer contributed an excellent d-flipflop example that simplifies circuit drawing to a two step-process of Place the part: % Place FFs \foreach \m in {0,...,\N} ...
1
vote
1answer
629 views

Importing graph files into LaTeX

I have a few graphs for a lab report I am writing and was wondering how you would go about import these files into LaTeX. They are PostScript files so LaTeX accepts them.
5
votes
1answer
629 views

Figure in the Chapter

How can I put an image together with the chapter style in scrbook class (chaptername, chapternumber capitalized - left aligned -, and a figure above them, centered, like the scheme below)? ...
18
votes
3answers
9k views

In a beamer slide highlight a region of an image with a rectangle overlay

I have a slide with a figure in it. I want to draw a rounded corner rectangle overtop part of a figure to highlight that section. Bonus points if you can draw two rounded rectangles as overlays ...
13
votes
2answers
4k views

Clipping a figure to content

Is it possible to clip a figure inserted with \includegraphics to contents? That is, remove all surrounding whitespace.
14
votes
1answer
9k views

Best figure format practice to use?

What is the best file format to use when typesetting in LaTeX? I really prefer eps for all my Matlab work, and now I found here on site ( Which figure type to use: pdf or eps? ) that people recommend ...
7
votes
2answers
4k views

How to include picture in original size into document page on center?

I have a picture that I'd like to include in the center of the page. I don't want the picture to scale. So I tried this (among a lot of other variations): \begin{figure}[htb] \centering ...
2
votes
1answer
3k views

How to use images in a table?

I want to use a table where the first column contains images and the second column contains text. Ideally the first column should have the width of the image and the rest of the pagewidth should be ...
4
votes
2answers
266 views

Automate width determination for included graphics

For including graphics such as Matlab plots, I use \includegraphics from the graphicx package. Every time, I have to decide on some width and pass e.g. [width=180mm] to the inclusion command. This ...
1
vote
1answer
350 views

On-Screen resolution deteriorates in pdflatex if figures are included

When I put a figure into my document (doesn't have to be bitmap, PS does the trick as well, I think the distinction is color vs no color), the on-screen resolution of the text changes at the default ...
7
votes
6answers
1k views

Graphics: Clip or cutout a circle from a circle

I have a very specific problem that needs solving: I would like to produce a shape which can be most easily thought of as a circle or an ellipsis cut out of another bigger circle: Think e.g. the apple ...
3
votes
1answer
3k views

Grid to facilitate positioning of objects with \put in beamer

In presentations with the beamerpackage I use \put a lot to place graphic objects like this: \newcommand{\putat}[3]{\begin{picture}(0,0)(0,0)\put(#1,#2){#3}\end{picture}} % just a shorthand ...
12
votes
3answers
913 views

Typographic conventions for width of figures in LaTeX data analysis reports

I posted this question on stats.SE, but the consensus was that it was better suited to tex.SE. Context: I've been thinking recently about conventions for figure width in data analysis reports that ...
3
votes
1answer
300 views

How can I pass a shortcut to a `.pdf` to `\includegraphics{}`?

I'd like to pass shortcuts to \includegraphics. I have the following project structure /project/report/main.tex /project/report/myplotshortcut /project/code/r/output/myplot.pdf And file: % ...
20
votes
4answers
1k views

How to render Terminal Output in LaTeX

Is there a package which allows me to render (n)curses based output (VT100, ANSI ...) directly in LaTeX (including colors if possible)? I'm currently making screenshots and include the PNGs via ...
4
votes
2answers
4k views

Resize large images that exceed page margin whilst respecting existing scale

The solution posted here Scale (resize) large images (graphics) that exceed page margins works great. Just to summarise, Dave Jarvis suggested \usepackage{graphicx} % Determine if the image is too ...
6
votes
1answer
1k views

Can I insert a vertically centered image in math mode?

In Mikael Öhman's answer to this question, he provides some code for placing an image in math mode as a symbol using the \mathord declaration. I can define a new command in the preamble using this, ...
26
votes
1answer
15k views

Automatically scale big and small graphics for beamer presentations

For the next few semesters I'll be making a lot of beamer presentations with a lot slides that are just a frame title and a figure. I am trying to make a command to make a lot faster to code and ...
0
votes
0answers
425 views

includegraphics - inserting png image leads to blank picture [duplicate]

Possible Duplicate: Why does the image not appear? I am in a bit of a predicament as I try to include two PNG formatted pictures in one of my homework exercises. The following code has ...
1
vote
3answers
496 views

Position and scaling with graphicx package

In the good ol' days I drew figures with xfig and generated LaTeX source to directly include in my papers. But I now find powerpoint to be a faster drawing tool and sufficient for most of my needs. ...
4
votes
3answers
649 views

Always a space before embedded figures in table - how do I get rid of it?

I am placing figures in a tabularx and I am having trouble getting them to embed properly. I keep getting an annoying spacer before the figure... Now if only this space could be split evenly before ...
8
votes
1answer
1k views

How to switch from using color graphics to grayscale graphics?

What is the easiest way to switch from a document with color graphics to one with grayscale graphics? I have various fig/ directories that contain my color graphics, and I already have corresponding ...
15
votes
3answers
3k views

Can I insert an image into an equation?

I would like to use a small image in an equation, where a symbol like \alpha might otherwise be. Is there a nice way to do this?
3
votes
1answer
1k views

Latex ignoring vspace. How do I get these two images on the same page?

I have the following to insert two images into a latex document: \begin{center} \hspace*{-1in} \includegraphics[width=8.5in]{rmse.pdf} \vspace*{-2in} \hspace*{-1in} ...