{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
14 views

Latex image at full page (removing any white border) and no page number

I would like to load an image so that it is full page, without any white border. Something like this. My code is like this (there may be some packages not required for this example) \documentclass[...
1
vote
1answer
83 views

Draw a wattmeter

How can I draw a wattmeter using LaTeX and circuitikz? I want to use the one with a big circle and W inside, and 4 circles (up, down, left right) which contain respectively 2 + and 2 -, Thank you ...
1
vote
1answer
49 views

Add \photo to a mix of moderncv styles and change position

This is a follow-up question to Banking style of moderncv doesnt reconize `\makecvheadnamewidth` for fiting long names and to How to mix/combine moderncv styles?. Now I am looking to add the ...
1
vote
2answers
31 views

Updating value for \graphicspath within document

I am familiar with \graphicspath and have used it in numerous papers where all of my figures are in a single directory. However, I am now working on a larger project and I have images hierarchically ...
9
votes
6answers
43k views

Insert eps graphics with graphicx (file not found)

When I run Andrew Robert's import.tex in MikTeX I get an error message saying that the image file is not found: ! LaTeX Error: File `chick' not found. See the LaTeX manual or LaTeX Companion for ...
1
vote
1answer
48 views

Automatically coloring entries in toc if they contain only default images

Introduction I am working on a document with many images named in it. These images get inserted into the .pdf if they are located at the folder I told LaTeX to look in. If there is no such image it ...
0
votes
0answers
25 views

Image only appear when clicking

I'm new to latex. I'm building a presentation slides, and I need to show some images only when clicking (or pressing right arrow) I've tried both of the following ways mentioned in other questions, ...
1
vote
0answers
25 views

Do the underlying page properties matter when includegraphics reads PDF or converted EPS/PS vector graphics?

This is perhaps a beginner/simple question, but how does includegraphics determine the "box" encapsulating a vector graphic embedded on, say, a letter-size paper? When I read my EPS files (generated ...
3
votes
3answers
2k views

Modifications on PDF file do not show up

I usually prefer PDF images for my LaTeX documents because they are easy to crop/resize using Adobe professional. I am facing a weird problem. I modified one of the PDF images using Adobe professional ...
2
votes
0answers
62 views

Moving a subsection directly under an image using wrapfigure, how to remove the white space

I have read and tried solutions from various answers, but I haven't reached a solution to my problem; In my document I have an image on the left side, and an equation right next to the image on the ...
2
votes
1answer
48 views

White space with subfigures using a macro

EDIT The answer proposed by egreg doesn't work for me: When changing the outer sep to outer sep=-10pt, instead of shifting the images, just the labels get shifted and the white space persists. ...
3
votes
4answers
20k views

Package pdftex.def Error

I am a learner to Latex. I am using Texstudio to edit the word. When I try to insert a .eps format figure, this error happens. Error: Package pdftex.def Error The code is: \documentclass{book} \...
3
votes
2answers
114 views

How to: Header on every page, with figures!

I'm writing a document to my college and it requires a header on every page with two logos and some text, as shown below: Here are the images: Any ideas on how to do it? I have tried with the ...
0
votes
1answer
37 views

Plot problem with tikz and data from matlab

I extracted data from matlab figures, with the command "dlmwrite('heat.txt',[x',u],'delimiter', '\t')". It gives me a text file with 3 columns of numbers (the first is the abscisse x, and the other ...
0
votes
1answer
55 views

Resume title formatting

So currently this puts everything into one line but I want my name to be much bigger and preferabbly the phone and email start from right not equally spaced from name. I still want everything to be in ...
3
votes
2answers
83 views

ConTeXt : how to go after float?

When one uses \placefloat[right] with ConTeXt, it automatically wraps the text around the float, which is generally very useful. However, if I need to go at the first line after the float, I don't ...
2
votes
1answer
121 views

Magnified subfigure without tikz

I want to create a figure with a magnified subfigure. I know this can be done with tikz (link) however I want to do it without tikz. Can this be done? Example: My early attempt: \documentclass{...
0
votes
1answer
17 views

Inserting multiple legends in a pgfplot with one \addplot graphics

I would like to have the legends match the line plots from the diagram. I have referred to a lot of legend questions, but I couldn't find one where they were trying to make multiple legends for a ...
0
votes
0answers
35 views

Error: TeX capacity exceeded, sorry [parameter stack size=10000]

Please do not mark this as duplicate question. I looked at previous posts and could not solve the problem. I have this line in my tex script: \includegraphics \includegraphics[width=\textwidth,...
2
votes
1answer
54 views

List of books with images

I would like to buy some books from E-library so i'm thoughts why not i send them my request by make list of books in latex document to looks like that: My thoughts : \documentclass{article} \...
0
votes
1answer
58 views

Include picture in top right, in the background of the rest of the document

I'm trying to recreate my CV with Latex, but currently struggle to include a picture of me in to top right, as it is usual. I'm using this template and added \noindent \hfill \includegraphics[...
1
vote
1answer
39 views

partially overlapping figures

How do I put two figures next to each other (in one row) while figure 1 overlap (partially) figure 2? I have seen some other questions however I want no space between figures and part of a figure ...
2
votes
1answer
16 views

Is it possible to have the subcaption letters (a),(b) right next to the caption number 1? Figure 1(a): NameOfTheFigure

Within the figure environment, I have minipages that include graphics. The graphics have subcaptions because all of them belong to one figure, but I do not need a caption for figure. Instead I want ...
1
vote
1answer
160 views

The image in pdf overlap the text, and not come in its specified place, can any body help please?

The problem is that the image overlaps the text which is not required, all images look like they moved toward left and down side. I used the following code to insert images: \begin{figure}[!h] \...
0
votes
1answer
45 views

How to move a header to the extreme top of the page?

I have a image as footer: \usepackage{fancyhdr} \pagestyle{fancy} \renewcommand{\headrulewidth}{0pt} \fancyhf{} \usepackage{lipsum} \setlength\headheight{26pt} \fancyhead[L]{\includegraphics[width=...
71
votes
3answers
29k views

How to include graphics with spaces in their path?

I want to import graphics into my main input file using the macro \includegraphics. It does not work if the filename contains spaces. Include image with spaces in path directory to be processed with ...
1
vote
0answers
39 views

Lyx - Figure Margin - Text Showing Strangely

I'm having trouble inserting images that take up 100% of text width in a Lyx document. When I don't do anything, I get the following image: (the text overlaps the image on the left). The quick fix I'...
135
votes
11answers
39k views

Compile a LaTeX document into a PNG image that's as short as possible

I need to convert my LaTeX documents into PNG. The problem is, I also need the resulting image to be as short as possible (height-wise). I've tried latex followed by dvipng, but the result is always ...
16
votes
4answers
57k views

Putting two images beside each other

If I want to put two images beside each other, what should I do? I have inserted a figure. But, rather than having the next figure on a new line, I want it to be beside the already inserted figure. ...
3
votes
1answer
364 views

Add photo to moderncv style banking with modifications

How to add a photo to moderncv style banking Follow up question from the above. How is the modification of the code create the photo only on the resume page but not to the letter page? And also with ...
0
votes
0answers
18 views

Insert eps image

I want to insert a (.eps) image, I used (epstopdf) package, the problem is the image appear in the top of the paper. I want it to be in a specific position (below a specific line, how could I do that?...
1
vote
2answers
57 views

How to adjust tikzpicture in the table?

I insert tikzpicture in a table, but the picture is always not in the center of the cell, especially when in a multirow. This is my code: \begin{table}[H] \begin{center} \begin{tabular}{cccccc} \...
0
votes
0answers
32 views

Inserting PS and PSG graphics files

I have some PS and PSG graphics files that I need to include in a document, graphics file types that I have no experience with. Similar questions have been asked on this site before, but, regrettably, ...
1
vote
1answer
68 views

Characters missing from R-generated graphic when \pdfinclusioncopyfonts=0

I have a .pdf figure generated by R/ggplot2, which renders correctly when viewed as a standalone file, but when embedded in a document by pdftex, one character is missing. I've cut the problem down ...
3
votes
2answers
196 views

How can I create good looking integral paths?

I'd be really grateful if someone could inform me of a method to replicate the attached diagram for inclusion in LaTeX.
110
votes
5answers
128k views

How to add border for an image?

I use \includegraphics command to insert image to the document. But how can I add a border around this image w/o any margin between border lines and image? It seems to be very easy, but I can't find ...
0
votes
0answers
24 views

Image not shown when bounding box is used

I have a DIMENSION TOO LARGE error when I don't put bounding box syntax (bb=200 570 350 699). but when I include bb=200 570 350 699, pdf is generated but there is no image. Below is my code. Please ...
1
vote
2answers
12k views

includegraphics - Problem with compiling

I am actually writing a latex file in which I would like to insert pictures. I have the following preambule: \documentclass[a4paper, french]{book} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} ...
2
votes
1answer
28 views

Adding citations to an external image

I am writing a document, in which I re-use a figure from an article. Some values in the figure are obtained from certain models, and the label (in the figure) for these datapoints contain references ...
0
votes
1answer
20 views

Strange printing error when including different PDFs [closed]

First of all: I was not able to compile a MWE, since the error seems to be connected to one of my documents, all of which are classified. I'm experiencing (for the first time) the following error: ...
1
vote
0answers
22 views

Wrapping text next to image

I have issues displaying three images with wrapfig. The first two are formatted fine, but, for the third, the text comes beneath the image instead of to the side. After the image and its accompanying ...
0
votes
1answer
29 views

Wrapping text around image in memoir document class

I am using the memoir document class and I want to wrap text around an image. The image should be on the left and the text beside it. This is my main syntax: \documentclass[a4paper,oneside]{...
52
votes
4answers
29k views

How can I position an image in an arbitrary position in beamer?

I am making a presentation using beamer, and I want to be able to position a certain image the way I want in a frame. I am not sure how to do that. Is there some way you can specify coordinates in the ...
90
votes
5answers
45k views

Why should a table caption be placed above the table?

In the papers I read the caption in figure floats is placed below the figure and in table floats the caption is placed above the table. I recognize that this is a common style that a lot of people ...
1
vote
1answer
23 views

Add existing PDF literally

I am new on LaTeX and I am struggling to take a pdf and just use it as is. I need the pages of a PDF to be placed there, no includegraphics or similars. Just take the 2 pages of the PDF and place ...
1
vote
0answers
11 views

Image not appearing in the correct section [duplicate]

im new in the latex program and im having a problem thats puzzling me... I introduced 2 figures inside a section, but these images appears outside that section. Thanks guys
3
votes
0answers
47 views

Easiest way to quickly include or exclude all images from Latex file [duplicate]

I have several images saved in pdf. However, due to the way they are generated, each are 800 Kb each. (The maximum size I worked with previously was 200Kb) Each figure is included in the file in the ...
0
votes
1answer
105 views

Caption of figure from PDF overlap page number and at the end of page

I have a drawing from Word 2010. As I would like to insert this drawing into latex, I save this Word file as pdf file. Then I insert the pdf file into latex using includegraphics. Although the size of ...
15
votes
1answer
1k views

Ligatures in figures and pdftex

In the following example, the 'ff' ligature in the figure labels (in 'differential') disappears when pdflatex is used, but the fault does not occur if latex-dvips-ps2pdf is used instead. Both lualatex ...
2
votes
1answer
36 views

Turning off and on images in figures 2

I am having troubles with the draft command in the graphic package. \usepackage[draft]{graphicx} My document is large so I don't want just the images to load, but want to keep the rest of the text ...