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

3
votes
2answers
33 views

Calculate image sizing factor

How can I multiply a length e.g. \textwidth with two factors? Other way to express what I want to do is, How can I apply more than one mathematical expression within \includegraphics command? ...
1
vote
1answer
38 views

How to trim the white space before figure caption?

I'm using \documentclass[journal,transmag]{IEEEtran} \usepackage[pdftex]{graphicx} \begin{document} % \setlength{\textfloatsep}{0pt} \begin{figure*}[!t] \centering ...
3
votes
5answers
103 views

Image placeholder as in \includegraphics[draft], but without path appearing

I want to upload a talk slides to a repository where all material submitted shall be under a certain license. For this, I need to exclude certain images present in the actually sued slides for which ...
2
votes
1answer
77 views

How to make gv (DOT) files work under LyX

I'm using LyX. After adding this gv file using Insert->Graphics, LyX automatically generated a perfect preview of the file, as expected. However, when I try to export or get a preview using dvi ...
8
votes
1answer
196 views

Multi-Line/Wave Generator Package for LaTeX?

I'm looking at my professors slides now: http://www.math.ucla.edu/~virtanen/40a.1.14s/schedule/lec1.pdf The first slides always have these intricate wave lines. If you Google search for "wave ...
0
votes
1answer
67 views

PdfLatex - images does not appear in pdf document

I'm compiling my .tex file with pdflatex. I've included graphicx package to insert some images, but the figures don't appear in the resulting pdf file. I've tried first to include a pdf file, then an ...
7
votes
3answers
7k 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!
0
votes
0answers
28 views

Figures are not shown in rows [duplicate]

I have 5 figures and i want show them in two rows. I copy the sample case from: Insert multiple figures in Latex The first row has first two figures and second rows have three figures. But after ...
4
votes
1answer
110 views

All figures are grayscale!

I think I am trying nothing unusual: I just want to use \includegraphics to include .png and .jpg files. But for some reason all my figures are in grayscale, which is not what I want. MWE: ...
6
votes
1answer
60 views

TikZ figure renders different when changing document class

When using standalone or article class, my TikZ figure renders as it should. But when changing to tufte-handout, I get some misalignments. Why is this? How can I solve it? The code of the ...
6
votes
1answer
67 views

Umlauts in filenames using the grffile package

"Never ever use non-ASCII characters and spaces in your filenames. Never!" That's what I'm telling my students for years. But if for any reasons there is an urgent need to include an image file with ...
4
votes
1answer
20 views

htlatex requires graphic file extensions “jpg” while other latex variants don't. What to do?

I am trying to make a book that is published in both print and ebook format, and I would like one source for the book that works in both media. When I compile the following with xelatex it works. ...
2
votes
1answer
76 views

Love message at the end of a document after references with Teddy pictures? [duplicate]

I am trying to write a love message at the end. I tried \hfill\mbox thing but could not get them working as intended, see below and chat. It requires somehow making background images that go over the ...
2
votes
0answers
56 views

Best practice for including standalone commented equations with tikz

I'm writing a document where there are some equations which I'm commenting with hf-tikz package. It needs two LaTeX compilations in order to get the right coordinates and to draw everything in the ...
6
votes
5answers
236 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 ...
19
votes
1answer
2k views

Set image to full all available space in Beamer (without overlapping other elements)

I want to have an image take up as much as possible of the content area in a beamer presentation, without overlapping the title, the sidebars, or the footers. How can I achieve this? The code below ...
3
votes
1answer
184 views

Christmas List / Catalog

I'm fairly new to LaTeX, and I thought a fun project would be to create a Christmas list that looks like a shopping catalog. Something like this: How would I go about this? Any good templates or ...
3
votes
1answer
43 views

`pgfplotstable`, table overlapping graphic

I have a pgfplots graphic in a pgfplotstable, and a part of the graphic is overlapped by the table like you can see in this picture: The 800 at the top is cut by the tabular border. Here is a MWE: ...
1
vote
1answer
40 views

pgfplots tikzpicture node to the right of axis is cut

I have a piecewise-defined function and would like a describing node to the right end of it. Unfortunately the node is cut and not visible using this code: \begin{tikzpicture} \begin{axis}[ ...
5
votes
1answer
74 views

How can images be separated from text by a horizontal line?

I would like to arrange my text according to the style used by chemical journals such as JACS. In there, images are separated from text by a dark blue, thick line from the text (horizontal line with ...
0
votes
4answers
317 views

Presentations that don't take up too much time to create

I am teaching a course in the upcoming semester and am trying to settle on a way to prepare presentations as rapidly as possible. I have used LaTeX beamer for years, and have even contributed some ...
1
vote
1answer
47 views

Inserting Images

I'm having troubles inserting an image in LaTex. This is what I wrote: \begin{figure}[H] \centering \includegraphics[scale=0.3]{hi} {desktop/hi.jpg} \caption{Placering og budget} ...
6
votes
1answer
620 views

What one CANNOT do with TikZ?

I am about to give a short introduction to TikZ, and I was asked to add a slide of what cannot be achieved with TikZ. So, are there certain types/categories of graphics where one should use something ...
1
vote
1answer
35 views

How to edit `\makeletterclosing` to insert graphic of signature

I am using this popular formal letter template from Latextemplates.com. However, at the end it uses the command \makeletterclosing to print the closing message (something along the lines of "thank you ...
16
votes
4answers
12k views

My pixel perfect picture gets blurry when compiled in LaTex

Here's my problem. I have this picture: http://dl.dropbox.com/u/3394117/Temp/fig1.png (I have the original in Pixen and could export it to several different formats. I went with png though since it's ...
4
votes
1answer
227 views

mdframed box spanning over page break: prevent images in between

I've run into a problem in a bigger documents where pictures get in between the breaks of mdframed boxes. So the scenario is that the mdframed box should break at pageend if it's to large and not ...
14
votes
3answers
4k views

Unknown graphics extension: .1.png

I have a file called xxxx_0.1.png, and want to import it as an image in my document. I am using graphicx with the following command: \includegraphics[width=0.5\textwidth]{images/xxxx_0.1.png} and ...
2
votes
2answers
47 views

Equation and image aligned on beamer slide

I'm trying to make a beamer slide which has some matrix equations and an image lined up with each other. Here is my attempt: \begin{frame}\frametitle{Transportation polytope constraints} A ...
10
votes
1answer
4k views

LaTeX in CorelDRAW

What is a good way to get LaTeX formulas into CorelDRAW figures? I will provide a solution below, based on a rather old macro adapted to work on 64 bit systems as well as 32 bit - it works well, but ...
0
votes
1answer
62 views

What to do when including graphics path causing error?

I have the following entries before the \begin{document}: \DeclareGraphicsExtensions{.pdf,.png} \graphicspath{ {./images/} } I have verified that the path exists with the requisite files. But I ...
3
votes
0answers
48 views

Transparent png prints incorrectly from Reader

I have a transparent PNG over a tikzpicture. This prints fine from TeXworks (left image), but from Adobe Reader the transparent area is noticeable (right image). Since most people use Reader, this is ...
4
votes
1answer
107 views

Graphics confusion

I am compiling a latex file like this: pdflatex path/to/file.tex There is a png in the same directory as the .tex file: path/to/img.png I get an error, presumably because pdflatex is looking in ...
2
votes
1answer
56 views

Curriculum vitae with publication image

I would like to insert small image for my publication list, similar to this one:
3
votes
2answers
41 views

How to top center a picture in a table cell?

Hello I'm very new to LaTeX, and how it works. I want to make a table with 6 columns and x amount of rows. \section*{\centerline {Counter-Strike: Global Offensive}} Her finder du information om de ...
3
votes
0answers
16 views

Can I disable interpolation (enable nearest-neighbor filtering/upsampling) with \includegraphics? [duplicate]

When I include the .png image on the right side (32x30 px) in a LaTeX document and typeset it with latexpdf I get the blurry result on the left, even if I turn interpolation off using ...
9
votes
1answer
136 views

Include PDF with OCGs

I want to avoid to recompile large tikz graphics and therefore I compile them as a standalone pdf file. This file contains some OCG layers which I want to use in the main file, but the OCG layer are ...
3
votes
1answer
56 views

Make picture horizontally fill out page and stay at top

I'm working on a title page (this is my first day of LateX) and I want to start a titlepage with a picture that touches the top and the sides of the page, without changing its aspect ratio on A4 ...
3
votes
2answers
62 views

Errors with Asymptote

I am trying to draw a simple tetrahedron with the following code (in Asymptote) size(10cm,0); import math; import three; import graph3; currentprojection=perspective(1/3,-1,1/2); real l2=sqrt(0.75); ...
6
votes
1answer
154 views

Creating a PDF form that accepts uploaded images

I am creating some forms that require users to stick photos in boxes. I was wondering if one could, with some PDF magic, create forms that could accept user supplied (via an upload button on the form) ...
2
votes
3answers
131 views

Strange graph in tikz

I want to make a strange graph in tikz. This graph has some nodes inside the nodes... like this figure: I tried this: \newcommand{\twonodes}[2]{% \begin{tikzpicture}[node distance=0.7cm] ...
0
votes
1answer
73 views

Time line with marked points, flipped curly brackets beneath using Tikz package

I have previously used the Tikz package for illustrations of nodes and paths in LaTeX, but I don't know where to start to make the figure illustrated below. Could someone please give a rough setup ...
2
votes
1answer
75 views

Security Protocols In Latex

I am quite new to latex. As part of a course we are required to submit different variations of protocols using the regulars Alice, Bob and Trudy. I was wondering if it is possible to produce ...
4
votes
1answer
64 views

Shrink image on click in beamer

In my frame I have a list with three images. Each subsequent image should appear on the next click, below the previous image. This is working fine, but I would like the previous image(s) to shrink in ...
4
votes
2answers
126 views

5 Figures arranged in 3 rows x 2 columns

I would like to arrange 5 figures in 3 x 2 format. I would like the figures to look like this: I tried the following (See below) but cannot get the 2 figures in the second row to be centered. ...
9
votes
1answer
1k views

Why has no one told me I can use rubber lengths for graphics? Is that bad?

I just had a thought. Quite commonly when I define a figure graphics I write something like: \begin{figure}[btp] \centering \includegraphics[width=0.95\textwidth] ...
0
votes
2answers
59 views

subplots 3X3 with one colorbar at the top

I wanted to do 3x3 subplots with their colour bar shown north side, I want to write a code that puts them together as 3x3 subplots in Latex and then, I need to place thier colorbar at the north ...
0
votes
0answers
37 views

Flashmovie in Beamer using JW-player

I am using this to play a flashmovie in beamer: \flashmovie[width=7cm,height=7cm,engine=flv-player,auto=1,loop=1,controlbar=0,image=Li.png]{Filament.flv} This is working however flv-player is not ...
1
vote
0answers
41 views

The code of figures at the end of file, indeed

This question is connected with How to put figures at the end of pdf file. As one can see from @cfr's and mine comments, I hoped, that it was a question, how to put a code of figures, wich are lying ...
1
vote
1answer
86 views

Add space between two images

Hello I want add space between two images like this: \begin{figure} \includegraphics[width=\textwidth]{test1.png} \vspace{2cm} \includegraphics[width=\textwidth]{test2.png} ...
2
votes
1answer
71 views

How to put figures at the end of pdf file

I'm preparing an article for submission in a journal and it requires that all figures must be coded at the end of the TeX file and not inline. I've tried to use : ...