{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
1answer
70 views

How can I draw a line to the vertices of an image in tikz

Basically what I am trying to achieve is the following: - Place 2 images horizontally side by side - Inside the left image (image_1) draw a small red rectangle - Connect the vertices of that ...
2
votes
1answer
47 views

Convert .eps to .xfig

This is a quick one. I've seen many post asking how to handle a .fig file. I need the opposite, I have a .eps file and need to convert it to .fig format. Is a there a simple procedure for this ...
4
votes
2answers
201 views

What is the simplest way to get graphs for each answer choice like in the example below

I am trying to make an exam with multiple questions having graphs as answer choices. I want them to be aligned as shown below. Thank you in advance!
3
votes
2answers
48 views

Subfigure package misplaces last subfigure in full width environment

I am using subfigure package along with pdflatex. My paper is in two columns, and sometimes I use a full width figure with subfigures: \begin{figure*} ...
1
vote
1answer
91 views

I want to organize three images in a frame, simulating the effect of a zoom,

I have three images, I want to organize them in a frame to cause the effect of a zoom, similar to the image I have posted above. In this image the galaxy is at left, but i want to learn how to ...
3
votes
1answer
69 views

Macro for image including

I was wondering if there is a work around, or better way, to include images. I am using a simple macro that helps me: My main.tex \documentclass{article} \usepackage{graphicx} ...
2
votes
2answers
278 views

Code for pin icon on a map

Is there any way I can get the pin icon / symbol (that us usually used on maps)? Any icon similar to the attached one would do. I am trying to use this symbol instead of stating 'Address' in one of my ...
0
votes
2answers
133 views

how to get mathematical equations into image in latex?

how to get mathematical equations into image in latex? I want the code that convert all equations into image in the pdf file after compile the tex file.
3
votes
2answers
61 views

Float image left on titlepage

I'm trying to achieve this: So far, this is what I've tried: \documentclass[letterpaper]{book} \usepackage[spanish]{babel} \usepackage[utf8]{inputenc} \usepackage{wrapfig} ...
2
votes
1answer
120 views

Spread Image Pages in Chapter Opener [duplicate]

Chapter Opener Image is full page image. I have need to mask half page image and frond-end would like to put some text. I'm expecting the output (see screenshot). How do achieve this in LaTeX/XeLaTeX. ...
2
votes
1answer
120 views

Scale image based on the size of another image

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
26 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
33 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
97 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 ...
3
votes
2answers
75 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
85 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
48 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
146 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
120 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
72 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
42 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
325 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
211 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
100 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
64 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
47 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: ...
2
votes
1answer
101 views

Inserting Images [closed]

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
97 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
66 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
69 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
88 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
88 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 ...
3
votes
1answer
66 views

Curriculum vitae with publication image

I would like to insert small image for my publication list, similar to this one:
3
votes
2answers
49 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
80 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
57 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
109 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
147 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
86 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
196 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
74 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
54 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
14 views

figures and text do not appear in the right order [duplicate]

That's my code \subsection{Here is the subsection} Here is the text\\ \begin{figure}[htbp] \centerline{\resizebox{\width}{5cm}{\includegraphics[scale=0.5]{r1.png}}} \caption{Here goes the ...
0
votes
0answers
49 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
42 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
144 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
42 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 ...