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

5
votes
3answers
12k views

Placement of images in row using subfigure

I want to put four figures in a single row. The code I am trying to use is taken from http://en.wikibooks.org/wiki/LaTeX/Floats,_Figures_and_Captions. This puts three figures in a row. When I add a ...
2
votes
1answer
2k 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?
1
vote
1answer
632 views

Best way to make family photo album in LaTeX

I use LaTeX for my research publishing and would like to make a Christmas photo album that I could send to a print shop. It occurred to me to try it with LaTeX this time (yes I know, the print version ...
20
votes
3answers
16k views

Techniques for embedding images with transparent backgrounds in LaTeX

I am trying to embed an image with a transparent background in my LaTeX poster. However a quick google search has taught me that it is not possible to do so. However I intend to know any clever ...
40
votes
8answers
7k 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 ...
27
votes
4answers
2k views

Crop jpeg into circular tikz node

\documentclass[demo]{article} \usepackage{graphicx} \usepackage{tikz} \begin{document} \begin{tikzpicture} \node[circle,draw,inner sep=2cm]{\includegraphics{myimage.jpg}}; \end{tikzpicture} ...
18
votes
3answers
17k 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 ...
18
votes
2answers
3k 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 ...
33
votes
3answers
46k views

How to use \graphicspath?

I am using MikTex 2.9 and TeXstudio for my TeX preparation. I want to give a path to my figures folder containing all the figures, plots etc. required for my work. I used \graphicspath to give the ...
17
votes
4answers
8k 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, ...
35
votes
1answer
2k views

How to draw spherical geometries with TeX?

I am working in the field of Astrodynamics and have to do many computations using spherical geometry. To visualize some of the concepts I would like to prepare drawings of things like spherical ...
30
votes
1answer
44k views

Add tif image to LaTeX

I have to add .tif graphic in my LaTeX file, but it is not working. \usepackage{graphicx} \begin{figure}[h] \begin{center} \includegraphics[width=15mm]{myGraphic.tif} \end{center} ...
18
votes
2answers
3k 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 ...
17
votes
3answers
20k 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?
13
votes
3answers
949 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
3answers
6k 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?
20
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 ...
17
votes
6answers
7k views

Can pdflatex (or any tex package) automatically rescale included images which have been reduced in size?

I'm writing my thesis in LaTeX, generating it with pdflatex. I have a large number of figures, many of which are bitmaps (as opposed to SVG) in PNG/JPEG format. I've generally created them to be ...
15
votes
3answers
5k 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: ...
9
votes
1answer
2k views

Zooming images out to specific locations in beamer

I want to: Show an image full width On click, make a small sized image placed at a particular location starting from top left and show another image full width Repeat the process till all four ...
6
votes
3answers
4k views

Skype Icon in the CV template?

I'm trying to add the Skype icon in my CV, but it is not working. I am using Miktex 2.9 and WinEdt 8. \documentclass[10pt,a4paper,roman]{moderncv} \moderncvstyle{casual} \moderncvcolor{blue} ...
15
votes
5answers
6k 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?
16
votes
2answers
6k views

Changing the working directory when including files in a subdirectory

I'm working on a mathematics magazine that involves multiple articles from different authors. I would like to give each article a sub-directory in which I can store all the relevant files - .tex, ...
12
votes
1answer
31k views

include svg images with the svg package

I'm trying to use the svg package for inserting svg images in my latex file, as suggested in other questions. But now I ran into a problem: For example I have a image figure1.svg, if I write ...
9
votes
4answers
2k views

Problem with \only and alignment of graphics (pdf) in beamer

I have been trying to include pdf graphics in a document with this simple command: \documentclass{beamer} \begin{document} \begin{frame} \only<1>{\includegraphics[width=\textwidth]{test}} ...
9
votes
1answer
8k 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 ...
8
votes
1answer
1k 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, ...
26
votes
3answers
31k 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} \\ ...
11
votes
2answers
458 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 ...
11
votes
6answers
5k views

Extracting image from PDF to use in LaTeX document?

I need to include some graphs from a datasheet in my document, but of course I don't have the source files. What would be the best course of action? It's mostly logarithmic scale graphs.
9
votes
1answer
12k 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] ...
2
votes
1answer
4k 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 ...
27
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, ...
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?
10
votes
1answer
762 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} ...
7
votes
5answers
421 views

How to set actual width for a rounded corners image using TikZ?

This question is closely related to LaTeX Photo With Rounded Corners. Suppose I want to put a rounded corners image in a marginnote, so the image fits the \linewidth of the margin. If I use the ...
6
votes
1answer
4k views

How to insert a graphic/figure into LaTeX from Word?

I am trying to include a figure into LaTeX from a paper originally created using MS Word. I have already converted all the text/equations into LaTeX but I can't figure out how to get the figures over ...
4
votes
2answers
577 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
1k 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?
10
votes
5answers
558 views

How to fill the limits of the two curves?

I want to fill the limits of the two curves (as shown). This is my code \documentclass[10pt]{article} \usepackage{pgf,tikz} \usetikzlibrary{arrows} \pagestyle{empty} \begin{document} ...
9
votes
4answers
18k 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 ...
9
votes
2answers
1k views

How to use the results of `raw output` to create a smooth plot

As by my previous question on plotting an implicit curve I've got some output. But as you can see it is not quite what it should be (apart from your browser's downscaling by a factor 2 of course. ...
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 ...
4
votes
0answers
1k views

Want to add more column on the left side? [closed]

Want to add more column on the left side? \documentclass{article} \usepackage{pgfgantt} \usepackage{rotating} \usepackage[graphicx]{realboxes} \newganttchartelement*{mymilestone}{ ...
4
votes
1answer
294 views

Dedicated pages for figures featuring automatic fit-to-page scaling and automatic portrait/landscape selection

There are some books where you have a couple of pages that contain only a picture with no footer, header or anything like that. I wanted to have something similar although I'd like to keep a uniform ...
3
votes
2answers
991 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
4answers
8k views

How to compile a document with EPS images using TeXnicCenter?

I have all my input images in EPS format. I am using TeXnicCenter. When I use latex->dvi output profile, all of the EPS images show up fine. However when I want to take the final output by using ...
18
votes
4answers
25k views

! LaTeX Error: Not in outer par mode

I am using an image within minipage and getting error message. ! LaTeX Error: Not in outer par mode. Below is minimal working example. \documentclass[11pt,table,a4paper]{article} ...
13
votes
1answer
165 views

Which arguments of `\includegraphics` cannot be set beforehand?

From the documentation of the graphicx package: Most of the keyval keys used in the graphicx package may also be set using the command \setkeys provided by the keyval package. For instance, ...
9
votes
2answers
389 views

Selecting best file extension for graphics figures pictures

So, lets say I have the chance to choose which file extension I want for my figure/graphic/picture that I want to include in my work. I went over How do I insert an image in LaTeX so it looks good on ...