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

14
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 ...
9
votes
2answers
15k views

LaTeX Error: Unknown graphics extension: .ps

When I try to compile this file http://danjer.doudouke.org/_media/tech/dokutexit/playground.zip this error occurs: ! LaTeX Error: Unknown graphics extension: .ps. I'm using TeXworks Version 0.4.3 ...
9
votes
3answers
6k views

How to avoid showing the filename when using graphicx?

I am writing a LaTeX document with the apacite and graphicx package. The issue is when I include an image either using figure with an enclosed \includegraphics or \includegraphics by itself it shows ...
5
votes
1answer
254 views

Why do I get a black rectangle instead of my external picture?

I write some of my network notes in TeX. I wanted to make a table, and inside it insert an image: . I wrote a document: \documentclass{article} \usepackage[demo]{graphicx} \usepackage{booktabs} ...
5
votes
3answers
6k views

MikTex error for PNG images when trying to produce DVI

I have a tex file with \includegraphic elements for some PNG images. I use MikTeX on Windows and the PDF is fine. Now, I need a DVI so I tried using: \pdfoutput=0 This creates a DVI, but only after I ...
4
votes
2answers
586 views

What is the best way of arranging multiple minipages on a page?

I have been trying to use mini-pages to produce the equivalent of Office text-boxes. The idea is to have panels of different sizes on a page such as 4 equal sized or one wide followed by two long ...
2
votes
1answer
1k views

insert MAPLE algorithm to LaTeX

I am writing my dissertation through LaTeX, and I want to insert the code from MAPLE, it is about 2 pages and I am not sure how to include the algorithm, do you have any idea how am I going to do it?
53
votes
1answer
3k views

A way to draw a lab apparatus

Are there any packages that would make a simple lab apparatus easy to draw? e.g. a spectrometer connected to a computer and has a wire before a light emitting tube, the wire also being connected to ...
46
votes
4answers
52k views

How to add border for an image?

I use \includegraphics command to insert image to the document. But how can I add a border around this image w/o any margin between border lines and image? It seems to be very easy, but I can't find ...
38
votes
8answers
5k views

Is anybody using TeX for business reporting?

Would TeX (LaTeX, ConTeXt, etc) be a good solution for PDF business reports that require dynamically generated graphs and tables? I need to create financial reports that must look top-notch in their ...
13
votes
4answers
2k views

High level macros and environments based on Tikz

I was browsing the tikz examples that I found this wonderful example. The example uses tikz to create a tex environment to produce a framed text. The result looks like this: The underlying process ...
15
votes
2answers
2k views

Generating dozens of graphs

I am revising old lecture notes on microeconomics and they contain a lot of graphs. As I am rewriting it in LaTeX, I would like to recreate the old graphs, but I need to select the right tool for the ...
16
votes
3answers
8k views

Is there any way to type LaTeX code directly into the text boxes Inkscape?

I use Inkscape on Windows 7 platform. The principle to enter integrals and other mathematical symbols in Inkscape seems that the best thing to do and write them in a LaTeX compiler and cut them in ...
14
votes
3answers
2k views

Create list of all external files used by master LaTeX document?

Is there an easy way to create a list of all external files (complete path) which are used by a LaTeX document (and its "sub-documents") by \input \include \includegraphics ? (may I have forgotten ...
13
votes
3answers
783 views

Drawing a 3D cone

I want to create some thing like this , but instead of a box, I use another object (a dog silhouette). Here is what I have so far \begin{tikzpicture} \begin{scope}[scale=0.25, xshift=70, ...
17
votes
2answers
2k views

Animated plotting with LaTex?

I am not a LaTeX pro, that's why I don't know if the following is possible and how I could do it. I have a graphic (a plot, jpg) and it shows a time series. I know in PowerPoint it is possible that ...
16
votes
3answers
4k views

Add logo on each page.

I need to insert a logo on pdflatex supported format on the bottom right of each page. Do you think it's possible?
15
votes
3answers
16k views

How can I add more than one logo to my beamer presentation?

My institute requires to put three logos to all presentations. How can I add more than one logo to my beamer presentation?
14
votes
4answers
6k views

How to make a grid of images?

Is it possible to place 4 images in an 2x2 grid? I don't want to float them, I don't want any captions. Each image should have the same width. Edit: Thanks for all the answers. After trying it out, ...
14
votes
3answers
8k views

Full page image as title page

Background Wrote a technical manual in LyX. The technical manual currently has two parts: Cover image (PDF) Manual text (PDF) Problem When merging the two PDF files (with GhostScript or other ...
13
votes
4answers
322 views

Graphics equations: put text on equations

I have a big question that I cannot solve by myself. I would like to add text on my equations, but I like to have some graphics on those. For instance, I would like to explain why I am doing ...
20
votes
1answer
880 views

How to automatically arrange an unknown number of images?

I have several compilable LaTeX input files and their corresponding PDF files. Each PDF file contains any number of pages. I want to import each LaTeX input file with \lstinputlisting followed by its ...
17
votes
1answer
4k 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 ...
16
votes
5answers
1k views

TikZ: Drawing regular hexagons with pictures inside

I need to create some images like these for a board game: In TikZ, can I draw a hexagon and fill it with a hexagonal area cut out of a bitmap? [In case anyone asks why TeX: Each actual hex will ...
14
votes
5answers
5k views

How would you do Karnaugh's maps in LaTeX or ConTeXt?

In a document, I have to include those simple diagrams to show the procedure of reducing logical circuits. What do you think is the best way to do them?
13
votes
2answers
2k views

Transparent foreground watermark

As a follow-up to Add watermark that overlays the images, I'd like to have a transparent foreground watermark that doesn't render the underlying content, i.e. text and images, illegible. Is that ...
12
votes
6answers
3k views

Insert a full page image

How can I insert a full page image? No blanck space left in the page. Extra bonus: how to add some text over the image.
12
votes
3answers
2k views

Creating a titlepage

I want to create a titlepage as the one shown here. But I don't know how to put a line under the logo and get the text and all the stuff in the right position. I've tried some things with: ...
10
votes
1answer
806 views

Create a “yearbook-style” multi-page layout of photos

I would like to create a "yearbook-style" layout of photos in LaTeX. Each photo would have a caption and the objective would be to automatically layout the differently sized rectangular photos to ...
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, ...
24
votes
4answers
8k views

Packages: graphics vs graphicx

Different websites suggest using one of those two packages. \usepackage{graphicx} \usepackage{graphics} What are differences between them? Which is better?
16
votes
3answers
7k views

Can \includegraphics be used to change an image color?

I'm including a number of PDF images in my document using \includegraphics. I'm wondering if there's a way for LaTeX to adjust their color profile, hopefully the same way it can flip images upside ...
14
votes
4answers
3k views

How to automatically draw a graph in LaTeX

clarification: when I say "graph", I mean the computer science term. I want to draw a full binary tree of h height. It means that there's one root with two sons, each son has two sons and so forth. ...
11
votes
2answers
278 views

Creating a URL downloading command to be used with e.g. \includegraphics

We were just talking about an idea that may be a little further out there. Would it be possible to patch URL support into graphicx.sty or is there a package that would support this on a wider scale (I ...
6
votes
2answers
5k views

I encountered an 'errorUnknown graphics extension: .eps.'

I tried to load an .eps picture, but an error occured, 'errorUnknown graphics extension: .eps.'. Please help me!
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 ...
25
votes
12answers
2k views

Competition time: Design an error page!

Or a 404 or the "captcha" image. To go with our amazing new design, we need some amazing pictures to go on the error page, the 404 page, and the captcha page. They should have a lighthearted theme, ...
24
votes
3answers
27k views

tabular vertical alignment to top?

I'm trying to create a simple tabular with two cells of text and two images below them like so: \begin{tabular}[h]{ c | c} \emph{Normal} & \emph{Cone} \\ ...
14
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?
10
votes
1answer
446 views

Placing graphics inside figure captions

Similar to putting a tikzpicture inside a \caption{}, I would like to insert an external icon inside figure captions, something like: \begin{figure} \caption{text with \includegraphics{icon} ...
10
votes
1answer
327 views

Can you embed an image so it doesn't need to be stored as a separate file?

I'd like to know whether it is possible to embed an image file into LaTeX code, such that the picture will appear in a resulting PDF file without it having to be stored in a separate .eps file during ...
8
votes
1answer
7k views

Putting two images next to each other that are 0.5\textwidth wide

I need to put 4 images in one group and put it on the page. All images have the same length and width, however I have problem with placing them by two in a row. I used this code \begin{figure}[h] ...
7
votes
1answer
4k views

Figure with caption within an itemize list not indenting correctly

I'm trying to put an image with a caption on it within an itemize environment (within another itemize environment). When I had the image with no caption, simply using \includegraphics, it indented to ...
6
votes
3answers
11k views

How to insert an image in the front cover of a report?

I'm pretty new in LaTeX and I'm currently writing my BSc Report. Does anyone happen to know how I can insert my uni logo on the front cover of my report? I'm using ...
3
votes
2answers
691 views

Creating cobweb diagrams of some functions with tikz/pstrick etc

I want to create cobweb diagrams with tikz (if that is possible - but reading in the internet about all the things tikz can do, I would believe it is) - or pstricks or some other graphing program - of ...
3
votes
2answers
520 views

includegraphics[page=\pageref… possible? how to set [page=] to a variable?

I'm currently writing a quite complex document with a lot of graphics created using TikZ. Hence I decided to put all graphics into one big file called tikz.tex creating a multiple page PDF with one ...
12
votes
4answers
822 views

What causes latex.exe to be unable to import *.jpg, *.png, *.pdf directly?

Internally, what causes latex.exe to be unable to import *.jpg, *.png, *.pdf directly?
9
votes
1answer
360 views

Background images for code listings

I've been searching around but I can't find any info for adding an image background for my code listing using the listings package. Is there a way to do this?
8
votes
4answers
11k views

Inserting a .EMF file into a LaTeX document.

I had a question about a file extension I was dealing with after creating a graphics file using the computing software Maxima. When I created the plot I wanted, I saved the file and it saved as a .EMF ...
7
votes
1answer
1k views

Insert A3 page with figure into A4 document with active references

Based on the first answer from a previous post "Insert foldable A3 pages in an A4 document with active references", I tried to get a figure on an A3 page in my thesis. However, it does not turn out as ...