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

5
votes
1answer
76 views

Inherit backgroundpath when declaring new shape in PGF/TikZ

I am trying to create some basic optic elements (a beam splitter in this case) to be used in PGF/TikZ. Well, since I am quite new to PGF/TikZ (and even LaTeX), there is something I am not quite sure. ...
0
votes
0answers
34 views

Getting longtable to display an image when first on page right

I've been battling with this problem trying to get this to work properly. I have a complex group of longtables I'm trying to get to display right. What I'm trying to do is compile a catalog ...
1
vote
2answers
72 views

How can I determine the max dimensions to use for an image I'm adding to my document?

I'd like to add a picture to my document. I'd like it to be as wide as possible without overflowing the margins. I have a few questions accordingly: How can I calculate the number of pixels wide my ...
1
vote
0answers
105 views

Highlight a group of nodes in a tikz graph

Is it possible to extend the approach of the question: Highlight a group of nodes in a tikz tree to a generic tikz graph? In particular I don't have a graph in form of a tree, so I can't specify the ...
2
votes
1answer
74 views

Directed graphs

I have a problem with the alignment of my diagram, i dont know how make the first two directed graphsto be aligned whith the "=" and aligned with the left brace ( "{" ) too. The code i have is the ...
2
votes
1answer
74 views

latexmk and \graphicspath

This is (imho) the same question as this but I'm going to provide more information on how to reproduce. The general problem seems to be that latexmk does not seem to work together with graphicx' ...
0
votes
1answer
45 views

Creating a title with an image

I am trying to create a title with an image, using the environment titlepage. I would like to have the title on the left and the image on the right, but I do not know exactly how to do it. I know we ...
2
votes
1answer
73 views

How to change the following graph?

I have the following tikz picture I created: \documentclass[tikz]{standalone} \begin{document} \begin{tikzpicture}[auto=left,every node/.style={circle,thick,minimum size=5pt}] \draw node ...
1
vote
1answer
67 views

Create table in Latex, then save it as image in vector graphics format

I have created a table in Latex, and I would now like to save the table as an image using a vector graphics format such as EPS. Is there a way I can do this?
7
votes
2answers
169 views

what is a quick generic way to draw graphs (in the graph theory sense)?

I am looking for a very simple way to write a command for drawing (undirected or direct) graphs in Latex. I am aware of tikz, but it is an overkill for what I want, especially since I want the .tex ...
0
votes
0answers
31 views

Serious trouble inserting image in MacTex [duplicate]

So I was using the online editor Writelatex and inserting images there is pretty straightforward. However, it's quite slow so I began to use MacTex. I'm using the \usepackage{graphicx} but I guess ...
0
votes
1answer
93 views

Strange warning [duplicate]

I've just got the following warning: libpng warning: iCCP: known incorrect sRGB profile It is referred, seemingly, to Lemma2.png, which is the following image: What does it mean and how do I fix ...
2
votes
2answers
180 views

Getting pictures from TikZiT to LaTeX and seeing them in PDF format

I'm using TikZiT(see link) to draw graphs with nods and edges. How to translate that picture to pdf version of my LaTeX document if possible. There is a code below picture in TikZiT which I copy ...
4
votes
4answers
156 views

Align multiple graphics at different indentation levels

I want to include centered graphics with items at different levels in an enumerate environment, such that the images line up with each other horizontally. I currently have \documentclass{article} ...
1
vote
2answers
93 views

Title and caption to all Subfigures

Hi I am using subfigure pacakge to plot multiple figures as: \begin{figure*}[t] \graphicspath{ {./images/} } \centering \subfigure[Original]{\includegraphics[]{2_o.eps}} ...
0
votes
0answers
107 views

Gear or cogwheel tikz graphic

I found the code that permits the design of a gear. But what I want is to be able to Control the distance between teeth so I can increase their numbers. Fill each tooth with different colour. Be ...
0
votes
1answer
76 views

Inserting eps file into Quantitiave Finance's document class

I'm putting together a paper for submission to the journal of quantitative finance, they provide a latex template: ...
3
votes
0answers
126 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 ...
3
votes
1answer
153 views

Customised Sequence Diagram

I want to draw this With the light gray shadow (not black) and round corners. Here is what I have Can anyone show me how to change it? Another points, when I have text that is very long, how can I ...
0
votes
0answers
35 views

Add text to a specific page at a specific position

Well in our style guide we have the "\makecover" to create a cover page - we're not allowed to actually change this as it should adhere to standards. However this coverpage includes already a ...
3
votes
2answers
191 views

Drawing specific curves in LaTeX

I have the following table to draw as a graph in LaTeX. Notice that we don't have coordinates to be drawn. For each method, there is one accuracy value. For example the Method 1 has an accuracy ...
0
votes
0answers
31 views

Histogram with separate group of columns and common caption

I have to draw an histogram like the following one (I have uploaded the corrispondent Office Word version). As I could not find any solution yet, my main question is how I can separate groups of ...
3
votes
1answer
126 views

Graphics not centering properly

I am inserting an image into my document using \begin{figure}[!htbp] \centering \includegraphics[width=0.7\textwidth,natwidth=338,natheight=176]{images/cloud_stack.png} \caption{Service model stack} ...
1
vote
0answers
114 views

Creating overlapping text and image

I am trying to make a title page for my master's thesis, and I want my name (written in text) and signature (with transparent background) slightly overlapping. My thought was to adjust the distance ...
0
votes
0answers
19 views

Align text and image topwise [duplicate]

I would like to top align an image with a text. The problem is that the text is aligned with the baseline of the image. The current code I have is this: \documentclass[margin,line]{res} ...
4
votes
1answer
90 views

Pgfplots closes paths in polar plot

I'd like to create an antenna radiation pattern in the form of a polar plot like this one: (image credits: C.A. Balanis; Antenna theory, analysis and design) What I've done so far is the following ...
0
votes
1answer
127 views

Wrapfigure placing image on the wrong side of page

I'm using wrapfigure to place images on the outside (o) edge of my document. Mostly it seems to work fine but sometimes an image gets placed on the wrong side. You can see the problem on page 3. The ...
0
votes
0answers
41 views

How to remove “SS” from images placed in LaTeX? [duplicate]

I am having trouble placing images into LaTeX. When I place images/graphics into my document, a "SS" appears in the lower left-hand corner of the image/graphic. My professor commented to my class ...
3
votes
2answers
71 views

Add and align photo placeholder with title

I am trying to learn TeX and I need to add a photo placeholder and align it with a title. I have the following code \documentclass[margin,line]{res} \usepackage[utf8]{inputenc} ...
0
votes
0answers
40 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 ...
0
votes
0answers
93 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 ...
3
votes
1answer
94 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
640 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 ...
0
votes
0answers
54 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" ...
2
votes
2answers
112 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 ...
3
votes
1answer
171 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} ...
8
votes
1answer
123 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} ...
0
votes
0answers
59 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
103 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, ...
0
votes
0answers
29 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
339 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
1answer
87 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
567 views

\includegraphics Error “File not found” but other images work fine [on hold]

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, ...
1
vote
0answers
75 views

eps image not identical to original after compiling [closed]

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
334 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
2answers
223 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
95 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
157 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} ...