{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
36 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} ...
3
votes
1answer
220 views

Placing images in entries (Friggeri CV)

Sorry for another Friggeri CV-related question, this is the last one. I feel like the solution should be really easy with tikzpicture nodes, but I just cannot make it work... I am using Friggeri's CV ...
1
vote
1answer
23 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. ...
1
vote
1answer
45 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
1answer
30 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 ...
5
votes
1answer
189 views

How to color vertices in a TikZ graph?

Consider the following code to draw a graph using TikZ: \documentclass{standalone} \usepackage{tikz} \usetikzlibrary{graphs,graphs.standard} \begin{document} \begin{tikzpicture} \graph ...
0
votes
1answer
77 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?
20
votes
2answers
973 views

How to automatically arrange an unknown number of images?

I have several compilable LaTeX input files and their corresponding PDF files. Each PDF file contains any number of pages. I want to import each LaTeX input file with \lstinputlisting followed by its ...
0
votes
0answers
46 views

Matlab chart into LaTeX [on hold]

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. ...
1
vote
0answers
31 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 ...
4
votes
2answers
53 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 ...
0
votes
0answers
38 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 ...
3
votes
1answer
76 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 ...
7
votes
1answer
72 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 ...
4
votes
1answer
3k views

Problem inserting .pdf_tex file from Inkscape

I am trying to insert an image from Inkscape. I saved it as a pdf, checking the PDF + Latex option. Inside my Latex file, I wrote the following code : \begin{figure} \centering ...
1
vote
0answers
52 views

White space around cropped pdf [on hold]

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
2answers
60 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 ...
3
votes
3answers
101 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?
5
votes
1answer
229 views

How to specify start and end date of \chronoperiode in a dd/mm/yyyy format

The package chronosys allows to draw a timeline with a reasonable degree of customization, without the need to draw it by yourself using tikz or similar tools. In my opinion, is the most promising ...
1
vote
0answers
68 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 ...
1
vote
1answer
28 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
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: % ...
0
votes
0answers
69 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} ...
6
votes
1answer
158 views

How do determine the arrow form in Tikz

I plotted following image: Using this code: \documentclass[10pt,a4paper,twocolumn]{article} \usepackage{bondgraph} %Draw bondgraphs ...
0
votes
1answer
16 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 ...
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
41 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
55 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
234 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
88 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 ...
1
vote
0answers
27 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
35 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
75 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 ...
10
votes
2answers
5k views

Can't compile image after upgrading to OS X Yosemite

I have MacTex installed in my mac. It works fine before I upgrading to OS X Yosemite. After the upgrade, I can still compile the textual part, but the image part gives me this error: ...
0
votes
0answers
42 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
23 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 ...
3
votes
2answers
2k views

LaTeX figure problems

I want to include a jpg to a LaTeX document, which I have done many times. Normally, I use put it in a figure environment, the code looks like this: \documentclass[twoside]{article} ...
62
votes
9answers
23k views

What graphics packages are there for creating graphics in LaTeX documents?

What packages do you use and recommend for creating graphics in your LaTeX documents? As this is a community wiki post, please add your package to the accepted answer (or add a comment, and ...
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 ...
4
votes
1answer
92 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 ...
0
votes
0answers
49 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: ...
88
votes
4answers
11k views

Simulate a scanned paper

I'm try to move my current paperwork routine towards a paperless workflow (for the “administrative” type of papers, of course… not for serious reading tasks). There is one major annoyance thwarting ...
3
votes
2answers
77 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} ...
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 ...
8
votes
2answers
310 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?
3
votes
2answers
47 views

Wrong dimensions when using \XeTeXpicfile with CMYK image

When including images in XeTeX using \XeTeXpicfile I noticed that the dimensions of the output picture are wrong. I created the following MWE: \nopagenumbers % The TeXbook, p. 311 ...
2
votes
2answers
49 views

How best to re-define the \includegraphics command?

I'm trying to re-define the \includegraphics command to add surrounding code to hide warnings using the silence package. So far I have the following MWE: \documentclass{article} ...