{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
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
453 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
231 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
601 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
653 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
633 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)? ...
20
votes
3answers
10k 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
5k 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
11k 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 ...
3
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
271 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
356 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
951 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
309 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 ...
0
votes
0answers
428 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
505 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
659 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 ...
15
votes
3answers
4k 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
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
224 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 ...
20
votes
2answers
21k 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} % ...
3
votes
2answers
3k 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 ...
22
votes
5answers
6k views

LaTeX for Graph Theory?

What should I use to make Graphs for Graph Theory in LaTeX? I have seen a lot of stuff about tkz (specifically tkz-berge), but I'm running Ubuntu and there is no package for it, that I can tell. ...
11
votes
1answer
6k views

Why does the image not appear?

I'm using IEEEtran to format an article, and I wanted to include an image. I included the graphicx and hyperref packages, and used the following code, like normal, to include an image. ...
3
votes
1answer
2k views

Transparent shapes in Matlab to TeX when using Matlab Fill

I want to export figures with transparent shapes in Matlab to TeX. For the following code, the triangle will appear transparent in Matlab but will be solid blue when I generate the tex file using ...
5
votes
1answer
2k views

Draft mode after include statements

Normally when I have a document with graphicx that I'd like to see rendered in draft mode I use: \usepackage[draft]{graphicx} However, assuming I've already called the line: \usepackage{graphicx} ...
3
votes
2answers
1k views

Supplying string parameters to Sweave document

This must be a simple question but I don't figure out how I can do it. I would like to produce a pdf report using Sweave. And actually, many many reports. I shortened and simplified the sweave code ...
11
votes
5answers
6k views

Are there any packages for creating charts?

I'm looking for a package in which you can create nice bar and/or line charts in LaTeX. Currently I'm plotting the charts in Calc (OpenOffice), export it to a PDF document, crop it and then including ...
1
vote
2answers
171 views

How to create minimum capacity .ps file

I have some images in my tex file. I had those images in .ps extension. When I create .ps file its capacity is more that 5mb. But I had to upload less that 1mb .ps file. So how can I do that ?
1
vote
1answer
1k views

How to make a PS file form a TeX document with graphics ?

Could someone explain me how to generate a PS file from a TeX file. I have included some graphics in my TeX file. I used graphicx package. I am using TeXLive Thank you.
9
votes
2answers
840 views

How can I layout images side by side to allow comparison?

I am very very new to TeX/LaTeX, I am writing my first document. So far, I love the way it shows everything. The learning curve is steep though. I have images that needs to be compared, so they must ...
5
votes
2answers
5k views

Grouping Many Images in One Page

I have a section which describes a set of 6 images. After adding the section and the images just below it, the images were not placed in the correct place. Some of them were placed after the section, ...
3
votes
3answers
691 views

Astrology Charts in LaTeX

Is anyone here using LaTeX to typeset astrology charts? Would pgf/tikz be an appropriate tool to use for that purpose?
4
votes
2answers
7k views

Include image with spaces in path directory to be processed with dvips

I have the following image that I wish to include in my document: wget http://www.biomedcentral.com/content/figures/1471-2164-10-37-1-l.jpg -O exampleImg.jpg I need to compile via dvi. I covert ...
8
votes
2answers
4k views

2-dimensional gradient using PGF

I'd like to draw a square with the fill color darkening as one goes up or as one goes to the right. So, the square should be darkest in the upper-right corner and lightest in the lower-left corner. ...
0
votes
2answers
1k views

Why don't my images show up?

I am using LyX to create my documents. I then export them to plain LaTeX and use XeLaTeX to create a PDF output. My images show up in the LyX document but not in the PDF output. LyX generates this ...
0
votes
1answer
495 views

strange includegraphics behaviour Windows

i have problem including graphics in a document...i have the following structure document.tex tex/chap1.tex tex/chap2.tex img/image1.png img/image2.png I have traying almost anything to specify the ...
3
votes
2answers
2k views

How to print low resolution (96dpi) raster images correctly?

Possible duplicate of this. But this is a detailed and specific sub problem of that topic. I know I should use vector images whenever possible, or 300dpi images. Since I am dealing with computer ...
8
votes
5answers
1k views

Seamless background of subfigure bodies, but not captions

I have 3 sub-figures: \begin{figure} \subfloat[Apple]{ \includegraphics{apple} } \subfloat[Orange]{ \includegraphics{orange} } \subfloat[Cherry]{ ...
3
votes
2answers
685 views

Generate line hash scale

I want to recreate the original NASA TLX Question from here, but how do you generate the hash scale?
15
votes
1answer
2k views

Is it possible to create overlays in beamer inside pgfplots graphics?

When working with pgf-tikz, I can create overlays in beamer presentations with \path<overlay specification> ... However, I could not get this to work in pgfplots graphics. It would be nice ...