{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)

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 ...
5
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 ...
30
votes
1answer
11k 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
241 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
2k 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
456 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.
33
votes
3answers
82k 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
1k 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
596 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
263 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 environment,...
24
votes
1answer
9k 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
642 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
100 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 ...
6
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
3k 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
294 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 ...
16
votes
4answers
33k 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 ...
8
votes
3answers
2k 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 ...
25
votes
3answers
6k 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 ...
1
vote
2answers
11k 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
305 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 happy ...
1
vote
2answers
2k 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
484 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
265 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
6k 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
609 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
769 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
661 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)? ...
24
votes
3answers
12k 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 ...
14
votes
2answers
6k views

Clipping a figure to content

Is it possible to clip a figure inserted with \includegraphics to contents? That is, remove all surrounding whitespace.
16
votes
1answer
17k 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 ...
8
votes
2answers
5k 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 \...
4
votes
2answers
278 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
366 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
4k 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 \putat{...
12
votes
3answers
1k 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
337 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: % main....
20
votes
4answers
2k 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
5k 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 ...
0
votes
0answers
430 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 always ...
1
vote
3answers
517 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
676 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
2k 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 ...
3
votes
1answer
2k 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} \...
11
votes
8answers
3k views

What do people use for modifying figures?

I usually create figures for my articles in Matlab: various plots of numerical and analytical solutions. One thing that I don't like about it is that the font is different in the figure and in the ...
4
votes
1answer
231 views

Problem with layout after including pictures

I can't resolve the problem with including pictures. When I add a picture by using \includegraphics my text doesn't flush to the bottom (as it should) but it move up. It happens especially when I add \...
27
votes
2answers
28k views

Aligning image and text on top, with minipages

I have an image (on the left) and a block of text (on the right), and I would like both to be aligned on their top. I am trying to use minipages for that: \documentclass{article} \begin{document} \...
12
votes
2answers
4k views

Conflict between color, graphicx and libertine

Compiling the following with pdflatex (TeXLive 2009/Debian on Ubuntu 10.04 "Lucid Lynx") \documentclass{article} \usepackage{ifpdf} \ifpdf \usepackage[T1]{fontenc} \usepackage{libertine} % ...
5
votes
2answers
4k views

Desired resolution of images for a Beamer presentation

I am working on a Beamer presentation for less-technically-inclined audience, so I want to use many visual aids, pictures, stock photos, etc. Unfortunately, these are mostly raster images, not vector ...