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

1
vote
0answers
15 views

Get same dpi for different sized images

I'm currently writing a LaTeX document which describes a technical installation and configuration process of a piece of software. I took two screenshots I want to include as figures in my document. ...
2
votes
1answer
16 views

Using epsfig in lncs guidelines

In the template for the Springer Lecture Notes in Computer Science the guideline PDF states: Preferably the images should be enclosed as PostScript files – best as EPS data using the epsfig ...
1
vote
0answers
32 views

When including a graphic using text in LaTeX, “fi” and “ff” are not printed after compiling. How can I change this? [duplicate]

In my study, I include PDF graphics as images in order to receive high resolution graphics. These PDF graphics are initially created in Power Point, printed as PDF there, and then included in the ...
4
votes
2answers
63 views

Including and updating of pdf_tex files from svg with inkscape in directory of choice

I'm working on a way to have my .svg exported with inkscape to .pdf_tex if the .svg file was changed. That allows me to change the figure, hit Ctrl+S and then just compile my tex file. I adapted some ...
2
votes
2answers
56 views

hyperref package including web image in pdf document [duplicate]

I am trying to include an image (institurtional logo) from direct web address, using \hyperref and pdftex. I am trying a command of the form (many other variants tried, with varios error messages ...
1
vote
1answer
56 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 ...
4
votes
2answers
44 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? ...
4
votes
5answers
108 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 ...
0
votes
0answers
29 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 ...
6
votes
1answer
76 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 ...
6
votes
1answer
65 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 ...
5
votes
1answer
29 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. ...
7
votes
5answers
267 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 ...
3
votes
1answer
188 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 ...
2
votes
1answer
77 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 ...
1
vote
1answer
41 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}[ ...
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
49 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} ...
1
vote
1answer
46 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 ...
2
votes
2answers
48 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 ...
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 ...
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 ...
5
votes
1answer
78 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 ...
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
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); ...
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 ...
1
vote
1answer
77 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 ...
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 ...
2
votes
3answers
134 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] ...
2
votes
1answer
76 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
2answers
130 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. ...
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 ...
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
0answers
39 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 ...
0
votes
0answers
42 views

Beamer video getting rasterized

I have .avi, .mp4, .swf files of the same movie. When I play the movie with: \width=250pt \height=250pt the video will play smoothly on any of the formats. However if I change the size of the video ...
0
votes
2answers
36 views

Enforce figures to be placed in the same section [duplicate]

I'm having some sections in a report with more images (figures) than text. I include the images in the following way: \begin{figure}[h] \centering ...
1
vote
1answer
87 views

How do I put a bounding box around a poorly saved .SVG image?

! LaTeX Error: Cannot determine size of graphic in ./queen-diamond-red.svg (no BoundingBox). How do I put proper bounding boxes into an .SVG file? I tried viewBox="0 0 156 156" I attached the ...
0
votes
0answers
38 views

how to get figures in the choice?

I am using the following environment in my tex file... \documentclass[11pt,a4paper]{exam} \renewcommand{\baselinestretch}{1.2} \oddsidemargin 0in \evensidemargin 0in \topmargin 0in \textheight 9.2in ...
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 ...
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 : ...
0
votes
1answer
46 views

Both scale and reduce height of graphics

This is how i add the graph in latexila \centerline{\includegraphics[scale=0.5]{e1.png}} Question is can I also reduce its height after I scale it? The reason I want to do this is because I don't ...
0
votes
0answers
54 views

Having troubles working with .png and .eps

When I work with PNG files using \includegraphics, the image is shown with less quality than the original in the PDF viewer. I've already tried with EPS files, but after a successful compiling, I see ...
0
votes
0answers
30 views

Successive overlays on image?

How could I make appear on a map of Europe successive dots or areas? Say, I want to show countries with slavic languages marking them one by one with a dot/area/rectangle; then, countries/areas with ...
0
votes
1answer
40 views

Center included pdf graphic

I'm having trouble to center some graphics (in pdf format) I'm including in a latex document. I've tried with \begin{center} \includegraphics{mygraph.pdf} \end{center} and \begin{figure} ...
2
votes
1answer
55 views

insert graphics in cool tool tips

Is there a way to include graphics in cooltooltips argument? like \cooltooltip[0.5 0.25 1]{Example}% {\includegraphics{graphic}}% {http://www.panoramio.com/user/4366708}{Visit my site}{My ...
0
votes
0answers
35 views

How would I insert an .svg image as a symbol into latex?

If I have a symbol which is an .svg image, how would I insert it into as a symbol and not an image? Could I make it into a glyph or a font? How would one do that?
2
votes
1answer
49 views

An extra margin is added when used \begin{center}

In my MWE I use \frame{\includegraphics....} to find what happens \documentclass[12pt,a4paper,oneside,openany]{book} \usepackage{graphicx} \begin{document} \begin{center} ...
0
votes
1answer
52 views

Add biographical summary in the end of a paper

I am writing a paper using spring latex template. But i cannot add an author's biography using \begin{biography} ... \end{biography}, the spring class seems not providing biography environment. I find ...
2
votes
1answer
66 views

matrix image in Beamer

I am preparing a Beamer presentation, and would like to have kind of a function (I will do this several times with different inputs) that given a matrix with elements between 0 and 1 (like an output ...