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

4
votes
1answer
19 views

Why is the figure not appearing below an itemize in beamer?

The figure doesn't appear and there is some weird shifting of the itemize environment when the figure should've appeared. Any help on why this is the case? \documentclass[demo]{beamer} ...
3
votes
0answers
16 views

Appending Graphic from Optional CSV Column to PGFPlotsTable Column Content

I have a CSV file containing a list of names, numbers and optionally pictures. This file is to be displayed in a multi-column table, with the name (and optionally appended picture as icon) in one ...
9
votes
2answers
161 views

Example images in LaTeX?

How to make an example image in LaTeX, a dummy image, a spot holder? I have seen it before, but I can't remember how they would made. It would be nice to be able to use example images - if you should ...
2
votes
1answer
70 views

Inkscape image only partially rendered

I have an Inkscape image, saved as a PDF, that I am inserting into a .tex document. I am experience some strange rendering issues. Here is my code (the image is saved as D3.pdf): ...
0
votes
0answers
31 views

Global path for .eps files

I use an .eps image file in my customized letterhead. Is there a place in my (Windows XP) file structure that I can place the file so that all of my letters inherit the image? I tried putting it in ...
2
votes
1answer
39 views

How to use a macro in a file path

First of all my latex knowledge is very basic. I would like to create a report using multiple images. All images have the date of creation as part of its name. I was wondering whether I could use a ...
2
votes
2answers
36 views

How to align on two columns mixing itemize and figures?

I have tried a great suggestion from a previous question I asked where I experienced a similar problem using \vphantom unfortunately it didn't work in the following example: I have a frame with two ...
2
votes
1answer
35 views

Include an image in itemize in a beamer presentation [duplicate]

I have to do a presentation with beamer. In a frame I want to insert an image as a object in itemize, so in the first step is only visible the writings, while in the second step the image appears. ...
8
votes
1answer
47 views

How to apply only vertical changes while pathmorphing?

I want to recreate the image shown below. I'm struggeling with the "Non-conact-mode" part. This ist what I achieved so far: \documentclass[a4paper]{scrartcl} \usepackage[utf8]{inputenc} ...
3
votes
1answer
40 views

Get rid of error when using \includegraphics<2>{ }?

I had this exact question: Problem with \only and alignment of graphics (pdf) in beamer And found the third answer the nicest (in that it worked on the first try): ...
2
votes
1answer
52 views

Estimating coordinates to draw over image using TikZ

I need to draw two rectangles (or this could apply to any shape in general) of different colors on top of a diagram. The MWE that I have this is. The code works, but I am unable to change the ...
0
votes
0answers
16 views

To combine two overpics?

This question is based on this great answer about overpic, please see it for code and images. I have now a grid with greater density of cells: \begin{overpic}[grid,tics=2] % use this to figure ...
0
votes
0answers
23 views

How to adjust positioning of figures in latex document? [duplicate]

I'm adding two figures to the appendices section of a llncs document using TeXStudio. But when the figure is placed within the \subsection{GUI Tests} the figures appear above the appendices section. ...
1
vote
1answer
39 views

Structure of images

I'm trying to insert figures in my code with: \begin{figure}[H] \centering \includegraphics[width=5cm,height=5cm]{1.png} \includegraphics[width=5cm,height=5cm]{2.png} ...
1
vote
1answer
29 views

Pdflatex - images don't show [duplicate]

I am using Texmaker to create a document with pdflatex. When I add an image to it (no spaces in the path), it takes an approperiate amount of space, it shows a black border, however no image shows up. ...
0
votes
1answer
34 views

How to use DIA? [duplicate]

I'm new at Latex, and I'm trying to make a photo diagram. And i have found the program "Dia" and wants to know how it works, i have tried to read the Manuel, but I'm not entirely sure of how it ...
1
vote
1answer
51 views

How to vertically center image in table cell

I am trying to place an image in the first column of a 4 column table. However the image is going over the top horizontal line. How can I set the image in the center of the cell so that the top ...
0
votes
0answers
51 views

Matlab chart into LaTeX [closed]

I use Matlab print command to generate an .eps file (abcax) stored in the same directory as my TeX file. However, while compiling, I end up with the error Unknown graphics extension: .eps. ...
2
votes
1answer
55 views

I would like to plot kaplan-meier curve in latex

I am writing my M.Sc. thesis in biochemistry. I am working on breast cancer. I have plotted survival curves with external software. I am writing my thesis with latex (love it) but would like the ...
0
votes
1answer
83 views

How to draw spherical figures?

I need to input in my document this kind of images. How to 1. draw this image? 2. set its position to text? 3. enumerate and give name, to refer to its number?
3
votes
1answer
82 views

pdflatex cannot find PDF

I am using Sweave (in Emacs) to generate a report. I can compile the .tex file just fine. There are images (PDFs) that I generate (I have graphicx included in my \usepackage{}; I am not dealing with ...
2
votes
1answer
52 views

White space between upper and lower subfigure

I am working on a paper right now. In this paper I have some figures, I am using subfigures for creating a page with two figures beside each other and one (bigger) figure beneath it. It is all clear ...
7
votes
1answer
78 views

Zooming on one of multiple images in a slide using Tikzpicture

I would like to zoom in on one of the 12 images that I have organized in 3 columns. There are 4 images per column, all the same height and width. There is one image that I would like to zoom in on ...
1
vote
2answers
64 views

How to set opacity/transparency to vector image?

Hold your horses!. If you are hurrying to flag this as a duplicate of this question or this question none of those have an answer to what is asked here. Thanks for the attention though. I ...
1
vote
0answers
53 views

White space around cropped pdf [closed]

I am trying to insert a figure which is in PDF format using \includegraphics. The problem is that although I have already cropped my figure using pdfcrop tool but when I compile my tex file I got the ...
1
vote
1answer
30 views

Cropping an image generated in R code

I would like to crop an image that is not inserted (which has been searched a lot), but an image that is generated in R code. \documentclass{article} \setlength{\parindent}{0pt} ...
0
votes
0answers
78 views

includegraphics showing an incorrect, blank image

I can't get includegraphics to show up any images at all in the pdf I'm writing to. Here's a small document that produces a blank pdf for me: \documentclass{article} \usepackage[final]{graphicx} ...
1
vote
0answers
70 views

\usepackage{graphicx} prevents change in document

I use \usepackage{graphicx}. If I change something in my tex document and convert it to pdf, my pdf document doesn't change, without \usepackage{graphicx} it works. When I type something like (see ...
0
votes
0answers
88 views

latex \usepackage{graphicx} [duplicate]

I use \usepackage{graphicx}. If I change something in my LaTeX document and convert it to PDF, my PDF document doesn't change, without \usepackage{graphicx} it works. When I type something like: % ...
1
vote
1answer
17 views

Issue with \scalebox, \makeatletter, and \input

A colleague of mine had a LaTeX-specific issue for which I did not exactly know the cause of the issue. I have distilled a Minimal Working Example to illustrate the issue. Originally my colleague had ...
3
votes
3answers
103 views

How can I print the filename of a graphics file in pdf

I would like to print the true filename of a graphics file, such as example.jpg, close to the position where the figure actually appears in the pdf file?
4
votes
1answer
41 views

Titlepage in amsart : how to include a picture in the title page?

Let's say I have the following .tex file (coming from an answer to my question here) : \documentclass[titlepage]{amsart} \usepackage{lipsum}% Just for this example \begin{document} ...
1
vote
1answer
42 views

Image/graphics treatment with ps2pdf vs. Acrobat Distiller : can both achieve the same quality?

Hundreds of images are included in my free physics textbook. I use the .dvi -> .ps -> .pdf route and have all the images stored as .eps files. About two thirds contain .jpg files, sometimes .png, ...
2
votes
1answer
56 views

Creating a simple “map” with text

I've been using LaTeX for a while now with text documents (both math and otherwise), but now I find myself trying to do some typesetting that includes picture-type things, and I have no experience ...
5
votes
1answer
243 views

Draw (very basic) network topology using tikz

I'm trying to draw some very basic Network topologies and thought that I'd try using Tikz for it. So I thought that I'd make a start and then ask for help, as I've got to do 5 of these and there's ...
0
votes
0answers
17 views

Problem wrapfigure in twocolumn

MWE, \documentclass[a4paper,11pt,twocolumn]{book} \usepackage[left=1.5cm,right=1.5cm,top=2.5cm,bottom=2.5cm]{geometry} \usepackage{lipsum} \usepackage{wrapfig} \usepackage{graphicx} \begin{document} ...
4
votes
3answers
91 views

create environment that resizes content

I want to create an environment that puts its content within a minipage as wide as the current page. The environment would work as follows: \begin{FitToWidth} HELLO \end{FitToWidth} and produce a ...
4
votes
2answers
61 views

Help with non-conventional electrical circuits

I am trying to draw two different circuits for several days and just can't get all the parts together. I tried different packages like TikZ and circuitikz but not sure which one is the best for these ...
1
vote
0answers
29 views

IEEEtrans class, eps images don't appear in their place

I'm writing a journal paper using the IEEEtran class and .eps images. All of them appear correctly but the ones that have longer caption appear at the end of the document. For example, ...
2
votes
1answer
65 views

Where should I save my image files for LaTeX?

In order to insert an image in LaTeX, I do as follows, but I get an error telling that the file 'me.jpg' is not found. Where should I save my image files to do this? \documentclass{article} ...
1
vote
1answer
37 views

How to put figure beside video (media9) in Beamer?

Video: \includemedia[ activate=pageopen, width=5cm,height=5cm, addresource=videos/video.mp4, flashvars={ source=videos/video.mp4 & autoPlay=true & ...
1
vote
2answers
76 views

PDF figure will not scale

I am trying to import a graphic from Excel to LaTeX. The graph has been printed on a PDF but when trying to import it into LaTeX it doesn't scale. Using the \fbox function shows a box where I would ...
0
votes
0answers
45 views

Big gap after figures before text starts again

After I insert a figure (I'm using overleaf), there are several lines of white space before the next paragraph begins that I didn't insert. Is there a way to manually prevent/delete this white space?
0
votes
1answer
25 views

Centering graphics without indenting lines afterwards [duplicate]

Is there a way to nicely place a graphic on a separate new line and centering it there, without using a \begin{center} environment, which wraps around the graphic ? I don't want to use that ...
1
vote
1answer
28 views

How to provide a picture for a 'global' class? [duplicate]

Is there a way to provide pictures for a 'global accessible' class file? To use my own class and style files from everywhere, I put them in ...
0
votes
0answers
43 views

Inserting graphics (JPEG file) is not working

I am using this codes in order to get the graphics in my Latex file.. \begin{figure}[ht] \captionsetup{justification=raggedright} \begin{minipage}[b]{.3\textwidth} \centering ...
0
votes
0answers
44 views

How to include an image in a LaTeX class? [duplicate]

So I have an image and I want it to be part of the class (this is going to be a class for letters, and the image is the logo of my University). Is it possible to configure graphicx so that it can ...
4
votes
1answer
93 views

Drawing Line Plot with cosmetic enhancements

Per title says, I want to draw a line plot and two additional versions of it. More specifically: I would like to plot some(preferably a big number of) nodes between the unit interval. I want ...
8
votes
2answers
311 views

How does TeX (LaTeX?) center images off the page?

I noticed that if I try to center an image that goes off the page, TeX/LaTeX seems to give up and just left-align the image. Why is this?
0
votes
0answers
50 views

How to insert images whhen using TeXStudio?

I am a beginner at LaTex. I am using TeXstudio. I am not able to insert images into it. One of my friends told I am not using the proper syntax; on using the syntax suggested by him, I get this: ...