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

0
votes
0answers
24 views

Images added with graphicx never stays where I put them

I've tried this in different occasions within the past year and I have always had the same problem. I go to the line of the Latex code where I want to insert my images using \begin{figure}, but the ...
2
votes
1answer
69 views

\centering not working in latex

This is my code, but my picture is on the left!!! Can anyone share a better code? thanks a lot \begin{figure}[H] \centering \includegraphics[width=25cm,height=25cm,keepaspectratio]{1.eps} ...
0
votes
0answers
31 views

CV “Medium Length Professional” - change header position

I'm writing a new CV with the following template: Now, I would like to add a photo in the top-right corner, i.e. same size as the header with name and address. I tried wrapfigure but this does not ...
51
votes
11answers
11k views

Multiple PDFs with page group included in a single page warning

I updated TeX Live to the Ubuntu Quantal version (2012.20120611-4) and I suddenly got this warning: PDF inclusion: multiple pdfs with page group included in a single page This is a minimal ...
8
votes
6answers
4k views

Extracting image from PDF to use in LaTeX document?

I need to include some graphs from a datasheet in my document, but of course I don't have the source files. What would be the best course of action? It's mostly logarithmic scale graphs.
3
votes
1answer
44 views

Per section figure numbering - reset counter each section

I would like to achieve book like figure numbering for my article class document. MWE: \documentclass[11pt,a4paper]{article} \usepackage{graphicx} % optionally - this creates: Figure 1.1 ... Figure ...
2
votes
0answers
30 views

Image was not shown in LaTeX (with TeXstudio GUI), only a black filled box is shown [duplicate]

This is the mini example that I used. \documentclass[a4paper,11pt,reqno,twoside]{amsart} \usepackage{amsmath} \usepackage{amsfonts} \usepackage[demo]{graphicx} \usepackage{float} \begin{document} ...
4
votes
1answer
377 views

How to automatically draw a graph?

Is there a simple package for which I can input an abstract graph and it returns a drawing? A similar question was asked in 2010, it did not receive any answers relevant to my question. I want no ...
2
votes
0answers
27 views

Why does \includegraphics ignore the space in a filename? [duplicate]

I use the following code: \documentclass{article} \usepackage{tikz} \begin{document} \begin{center} \includegraphics{GR0568 q28.png} \end{center} \end{document} and get this output: Why does it ...
8
votes
1answer
94 views

How to draw Area Charts [duplicate]

I want to draw an area chart, something like this I dont know how to fill the area with colors, here is what I have \documentclass{standalone} \usepackage{pgfplots} \usepackage{xcolor} ...
2
votes
2answers
84 views

How can you automatically continue a figure on to the next page?

Below is my code, I have 5 figures (a, b,c,d,e) under Figure 1.. i want them to continue on the next page and not stuck in the middle. I want them to be one under the other i.e. vertically like the ...
1
vote
1answer
102 views

Figures hiding behind text below it

I am preparing a paper for the SIAM journal and had lot of issues with including figures. Finally I converted my figures to pdf and added a bb field in \includegraphics. Now it produces output, but ...
0
votes
0answers
37 views

Inserting graphics - is converting to .tex file type necessary and how do I do that?

I am aware that this question may have been answered but I couldn't find a solution to my case. I am trying to insert a PNG file into my lab report, but kept getting the "Undefined control sequence" ...
14
votes
3answers
6k views

Includepdf as a figure

I want to include some pages of a pdf file into my document and wrap them into a figure with a caption for example (with pdfpages) \begin{figure}[h] \centering ...
0
votes
0answers
37 views

eps file breaks down when converted to pdf

I'm working with winefish latex editor. I am trying to import some images, and the quality of .eps is quite better than .png or .jpg, but my issue is that when the .eps file converts to a .pdf the ...
4
votes
2answers
85 views

How to get a list of the filenames of the figures embedded in a document

I have a TeX document that is embedding a huge amount of figures from a fig folder that is full of another humongous amount of other figures. I would like to move the document along with its figures, ...
1
vote
1answer
2k views

Why can't I scale my image?

I'm using the graphics package and I can insert my graphic into the document without any difficulty, apart from the fact that it's huge! I am using the following command: \documentclass{article} ...
0
votes
0answers
20 views

Figure numbering without section number, problem with subfigure

My requirement is as per the sequence number of the figures a document e.g. 2 (a) 2 (b), but the number is showing 5.3 5.3 9repeated), as it is written in 5th section.
2
votes
2answers
113 views

Drawing MATLAB plots in Latex

I have some 2D and 3D figures in MATLAB. Below are two samples of the same kind- and How to include these figures in LaTeX? Till now I am including the exported PNG image but that doesn't look ...
0
votes
0answers
32 views

Flipbook using right footers

I spent some time looking at similar flip book topics but still cannot produce the intended output. I'm reviewing the FlipBook manual, but the commands I don't understand how to implement yet are: ...
0
votes
0answers
110 views

\includegraphics Error “File not found” but other images work fine

I'm using TexMaker and MikTex. I want to use an image using \documentclass[DIV10, parskip*, headings=big, twopage, pdftex, 10.5pt, cleardoublepage=plain, bibliography=totoc, liststotoc, ...
0
votes
0answers
44 views

eps image not identical to original after compiling

I have created an eps image with gnuplot (terminal postscript enhanced eps), that is just what I wanted But when I put this image in a tex document and compile a pdf with latex dvips andps2pdf, I ...
12
votes
3answers
267 views

\includegraphics: number sign # in filename

I have hundreds of figures with filenames containing "#" to include using \includegraphics, I've tried packages like grffile or currfile, but none of them work. Can anyone suggest a real solution so ...
6
votes
4answers
12k views

\includegraphics — file not found, even when in same directory

Here's the preamble: \documentclass{report} \usepackage{fullpage} \usepackage{amssymb} \usepackage[fleqn]{amsmath} \usepackage{graphicx} \usepackage{color} ... And here's the call to ...
3
votes
1answer
154 views

Very fancy bar chart

Just wonder if this could be done with tikz? I know I should provide at least a MWE, but I am new to latex and have absolutely no idea where to start. MWE (Addition by HK) ...
6
votes
2answers
169 views

Automatically include a sequence of images

I want to include a sequence of images in Beamer (although it can be in another type of document). Something similar to the option Photo Album in LibreOffice and MS PowerPoint. What I did is to make ...
1
vote
1answer
67 views

Illustrator export for Latex

i'm currently searching for a way of creating pictures for a latex document. currently i'm trying to create the pictures with illustrator, but i've got no clue how to import them in an good way to ...
2
votes
1answer
54 views

Lilypond generated with MuseScore does not fit the width of the page in XeTeX doc

I am using MuseScore 1.3 on Ubuntu 14.04 to write my scores. Then I save them as LilyPond files, and include them in my tex document using \lilypondfile, like this: \documentclass[a4paper]{article} ...
3
votes
1answer
27 views

Problems with centering a figure

I have a problem with centering a figure. At first I have set for 12 pt and the figures were centered. Then I put 10 pt and all the figures shifted to right. How can I solve this problem? Here is ...
0
votes
0answers
54 views

png Figures don't work with pdflatex

I'm using pdflatex and it's suddenly refusing to produce .png Figures. They come out as grey squares. The only \usepackage relating to figures is graphicx. It was working fine for a long time. Then I ...
12
votes
4answers
8k views

Scale (resize) large images (graphics) that exceed page margins

Background A large number of screen captures have been scaled 300% at 288dpi. They appear correctly when embedded in OpenOffice, but not LyX. Problem Images that do not extend beyond the margins ...
0
votes
1answer
66 views

No image in PDF using PDF_Tex

I am using .pdf_tex from InkScape to create figures in my LaTeX file, but when I compile the caption appears with no image above it. Any ideas why? \documentclass{article} \usepackage{geometry} ...
0
votes
1answer
31 views

Create Document with empty figures on purpose

In order to have my document checked for spelling errors, grammar mistakes and general consistency, I want to print it with empty dummy figures as placeholders of exactly the same size. The general ...
0
votes
1answer
32 views

\wrapfigure makes my image to disappear

I try to add an image with text side by side. I've googled a lot and found that the most easy way is to use the package \wrapfigure. Actually, it is a mathematical school exercise with the solution ...
2
votes
1answer
62 views

pdflatex.EXE: Not enough room in an internal buffer

I've got a (hopefully) trivial problem. I have a python script that is generating the a .tex file for over 600 figures. The code automatically groups figures in up to 4 subplots depending on some ...
53
votes
8answers
19k 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 ...
5
votes
4answers
2k views

How to create a “Bitcoin accepted here” button?

\bitcoinacceptedhere Is there something like what appears above that causes a logo like this to appear in a document? Postscript: I've tried some of the things suggested in the several answers. ...
8
votes
2answers
125 views

Simple Grid drawing

I new to tikz and want to draw this (Just the grids for now). Here is what I have. As you can see, I use the soul-destroying approach. That is to manually adjust the coordinates of each point to ...
40
votes
4answers
183k views

LaTeX figures side by side [duplicate]

Possible Duplicate: Caption issue when placing figure side by side I want to place 2 images side by side in LaTeX. I have 2 .png files and I don't understand how to do it in LaTeX. I have ...
1
vote
2answers
41 views

Caption position

I am writing a latex code where I include a graphic using \includegraphics[]{}. The caption is always at the center below the figure. How to change its location to the very left (below the figure) ? ...
0
votes
1answer
120 views

Linear Regression Illustration

Is it possible to create a picture that would look like this? I have solved a problem that also asks to draw a similar picture. Don't want to ruin my document by inserting a picture of the drawing by ...
2
votes
0answers
63 views

Could you explain what did I do wrong? [duplicate]

I don't understand why I still got error message. \documentclass{article} \usepackage{braket} \usepackage{mathtools} \everymath{\displaystyle} \begin{document} \title{Quantum Mechanics Homework 3 ...
1
vote
0answers
67 views

Specific format for inserting a picture

I'm preparing a paper. Its Latex template is provided. I don't understand the following quote We suggest that you use a text box to insert a graphic (which is ideally a 300 dpi TIFF or EPS ...
0
votes
2answers
71 views

Convert Tex File into an image [duplicate]

I would like to know what do I have to do if I want to convert the my Tex document into an image. I'm new to Latex World, sorry if it is a dumb question for somebody
0
votes
1answer
16 views

how to display an image at a specific location in LaTex? [duplicate]

I've imported an image but it doesn't display where I put the code. It shows up halfway down the next blank page. Here's the code I am using. \usepackage{graphicx} \begin{figure} \centering ...
6
votes
0answers
44 views

What is this glitch in pgfplots? Plot seems cropped [duplicate]

I have this plot generated following the answers proposed here. \documentclass{standalone} \usepackage{pgfplots} \pgfplotsset{compat=newest} \begin{document} \pgfkeys{/pgfplots/x axis shift ...
-1
votes
0answers
73 views

Directed graphs in latex

I need to draw a directed graph like this, but i don´t know the latex code
1
vote
1answer
45 views

Image not centering in fullwidth even page

My MWE is, \documentclass[a4paper,twoside,openright,11pt]{scrbook} \usepackage[left=1.5cm,right=1cm,top=3cm,bottom=1.5cm,marginparwidth=5.5cm,marginparsep=1cm,outer=8cm]{geometry} ...
15
votes
2answers
2k views

How to convert a png into pdf using LaTeX?

I have a larger png image: width is 5400 pixels and height is 3850 pixels. I need to transform it into a pdf file in SPA3 size, which means 320mm x 450mm. Is there a way to do it with LaTeX? What I ...
0
votes
0answers
40 views

convert latex formula to image using rtf2latex2e

i am having a tex file converted from rtf (OS: windows 8.1) using rtf2Latex2e . is ther e is any options to convert all formula,subscript ,superscript... to image because when i am trying to convert ...