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

6
votes
2answers
120 views

How to Access Files Outside of Current Direcory

I have a simple question. How do I access files outside of my current directory in LaTeX? I have a project that I am updating and saving each day's version in a separate folder. I would like to ...
3
votes
2answers
63 views

Unexpected behavior of arraystretch and figures in table cell

Using the graphicx and the includegraphics command, I want to place a figure in a table cell. In addition, I use the arraystretch command the increase the padding of cells. Unfortunately, I get a ...
4
votes
1answer
57 views

Arbitrary positioning in math mode without size restriction

In the MWE below, are all general methods, of achieving arbitrarily shifting of symbols up or down or left or right in math mode, represented? If yes, that is the answer. If no, what good methods are ...
0
votes
0answers
31 views

Figures on the left (even) page of a book

There are some more postings on this topic but I've found no working/satisfying solution for my problem. Some solutions work well for figures spread over the whole document. For me it is much more ...
3
votes
1answer
102 views

Given a 3x4 table of images, how do I make all the images the same size and remove vertical space so the table looks seamless?

I'm using a table to format a series of images. My goal is to create an image array where the transition from one figure to the next is seamless i.e. no white space anywhere. My problem is that the ...
1
vote
0answers
60 views

Ipe extensions (ipelets)

I'm using ipe to draw a lot of figures and I find out that I can, for example, plot some functions. What extensions do you use in Ipe? There are some already installed when we download it, but are ...
0
votes
1answer
73 views

Graphics: Moving Images and aligning with text

So currently I have this code written out: \begin{figure}[ht!] \includegraphics[width=60mm, scale=0.3]{titanium-distillation-vessel.jpg} \caption{Argon Vessel, containing TiCl$_{4}$ and Mg} ...
1
vote
1answer
107 views

Opacity of images in TikZ with beamer

I'm creating some slides and want to integrate a (pixel) graphic in a TikZ picture with opacity less than 1. I expect this code to work: \documentclass{beamer} \usepackage{tikz,graphicx} ...
2
votes
1answer
37 views

How to keep image file extension when exporting LyX to LaTeX

With the workflow: LyX -> LaTeX -> ePub (via pandoc) And I'm having a problem where an image filename included in LyX (say "image.jpg") will be converted into "image" (no extension) in LaTeX. pandoc ...
2
votes
1answer
82 views

Is there a way in latex to put hotspots on an image that link to chapters?

I would like to insert an overview image (visualizing a timeline) that shows different chapters of a book. When somebody hovers over the image, I would like to show a tooltip ("Go to Chapter 3") that ...
1
vote
2answers
79 views

Vector graphics format

I have noticed that the PDF of some of the books have vector graphics with tranparancy feature, which is very illustrative. Could someone tell me what the format of these graphics could be? I was ...
5
votes
2answers
152 views

Dotted line between nodes in two graphs

I need to create some match graphs for my masters thesis report, something like the following: I have found something called PG 3.0 that can make the graphs, but i do not know how to make the dotted ...
0
votes
1answer
32 views

Inserting B/W .jpg image causes image to be entirely black [duplicate]

I am working with .jpg images that are all B/W. Here is an example image I am using: and here is what I am using to put the image into my document: \begin{figure}[!htb] \centering ...
9
votes
1answer
352 views

Correct pronunciation of graphicx?

I know that this question may be not in the main stream, but it is the matter of communication. We have LaTeX graphic packages graphics (s as standard) and graphicx (x as extended). I am thinking ...
4
votes
2answers
64 views

LaTeX graphic[sx] package with eplain fails with driver dvipdfmx

According to UK TeX FAQ, in order to get bounding box support (with .xbb and .bb files) with dvipdfm[x] and non-eps graphics files, one must specify the driver as in: \usepackage[dvipdfmx]{graphicx} ...
1
vote
1answer
156 views

Convert eps figure to grayscale without removing white space around the figure

I use eps2eps command followed by pscol command which convert color eps to grayscale. But this combination remove white space around the figure (which is probably done by eps2eps command). Directly ...
7
votes
1answer
288 views

What generically CANNOT be compiled inside an equation environment?

Certain macros or whole environments which are themselves not equations, like whole tikz diagrams can be placed in the equation environment and compile. For example Diagram displayed as an equation ...
1
vote
0answers
58 views

Page numbers being cut off every time I add a picture

I've got a silly problem every time I add a picture to my document the page numbers get cut off as shown in the picture: This is what I am using to import the image in my latex file: Right at the ...
3
votes
3answers
296 views

How do I make my document look like this?

I want my document to look like this. It is an extract from the Calculus solutions book by James Stewart. I would like to know something about the following: fonts (I guess Times New Roman was ...
2
votes
1answer
128 views

Drawing an echo state network

I've already asked a question for drawing nodes in ring form but this one here seems to be much more sophisticated. Is there an "easy way" to draw such a network in LaTeX? It does not have to ...
1
vote
1answer
51 views

Best layout for figures padding

This is a bit off-topic, but I think there may be people here that has already dealt with this doubt. When including a typical 2D plot, we usually put a label on the left border. My question is: do ...
0
votes
0answers
40 views

tikz picture inside main code or include tikz output

Suppose that someone wants to include a tikz picture inside a LaTeX document. Suppose that a simple tikz code is the following \documentclass{standalone} \usepackage{tikz} \begin{document} ...
2
votes
2answers
131 views

“samples” option yields empty graph with addplot3 and gnuplot contour (tikz)

The following code plots the desired level set : \documentclass{minimal} \usepackage{tikz} \usepackage{pgfplots} \begin{document} \begin{tikzpicture} \pgfplotsset{mystyle/.style={% ...
0
votes
1answer
130 views

TeX Live unable to call inkscape (SVG Package)

I am working with a fresh install (from source) of TeX Live on Ubuntu Server 13.10. I would like to use the svg package to allow SVG files to be directly included. In the background, the svg package ...
0
votes
0answers
40 views

Block Diagram with image in it [duplicate]

I am trying to write a block diagram of my system in latex. My problem is that I do not know how to import images inside tikspicture. A sample of the thing which I want to do is as below: For ...
1
vote
1answer
169 views

DVItoPDF gives an error

I have previously compiled my tex file with images, and everything worked alright. Lastly, I have changed only the text in my tex file and when compiling the pdf I received in error of DVItoPDF due to ...
5
votes
4answers
213 views

How can I use a usepackage only for one section?

I need 2 different usepackages: one for a floatchart ( http://www.texample.net/tikz/examples/simple-flow-chart/) and one for my whole document. . For the Floatchart: \usepackage[latin1]{inputenc} ...
0
votes
3answers
246 views

Presentations that don't take up too much time to create

I am teaching a course in the upcoming semester and am trying to settle on a way to prepare presentations as rapidly as possible. I have used LaTeX beamer for years, and have even contributed some ...
0
votes
0answers
40 views

Any way to change a character to an image?

Sometimes, it is needed to change a character to an image: for example, change @ in an email address to an image. Is there any way to do that?
1
vote
1answer
67 views

Centering images

I made my images in Ipe. But there are some not centered: But, there are others centered: I use the same code for both (just changing, of course, the files names): \begin{center} ...
2
votes
0answers
45 views

Speed problems beamer presentation (post-compilation) [closed]

I am running kubuntu 14.04 and pdfTeX 3.1415926-2.5-1.40.14 (TeX Live 2013/Debian). When including images (jpg,eps,png) into a beamer presentation via \includegraphics[]{}, I encountered delays of ...
1
vote
0answers
42 views

Making cover page of a report; I want to put title below image [duplicate]

Below is my LaTeX code, I want it to continue the title under image, but, unfortunately, it continues to the next page and leaves a big space at the first page. How can I fix this.? ...
2
votes
2answers
59 views

keyval error on passing macro as an optional argument to includegraphics [duplicate]

I am trying to include an image in my document: \documentclass[a4paper,10pt,twoside]{book} \usepackage{graphicx} \begin{document} \def\foo{scale=0.1} \includegraphics[\foo]{fig1.eps} ...
1
vote
0answers
98 views

Why picture is not clear?

I am writing in latex for the very first time. I have tried to insert a figure using \begin{figure}[p] \centering \includegraphics[width=0.8\textwidth]{figures/quicksort.png} ...
5
votes
1answer
156 views

Defining a LaTeX macro with optional arguments as keywords inside square brackets

I want to define a macro to insert pictures in figures, called \centeredfigure, which I am hoping to use the same way as \includegraphics. In \includegraphics, all optional arguments are given in the ...
0
votes
0answers
49 views

How to add an image in second column after some text of a two-column article

In a two column article, after some text in the second column I want to add an image. While the pace has required space for it, but it is skipped and it is shown in next page (in case if I use figure* ...
1
vote
1answer
76 views

Figure at the wrong vertical and horizontal position

I'm trying to add an eps figure to my document. I'm using Texniccenter 2.02 and Miktex. In the output document the picture moves about a third to the right and to the top. It then exceeds the page ...
2
votes
1answer
50 views

Putting Images on the top right [duplicate]

Hi everyone am just a beginner on latex, can anyone please show me, how to put a picture on the top right or top left and on bottom left and bottom right only thanks.
0
votes
1answer
37 views

Why does \usepackage{invoice}+\usepackage{graphicx} interfere with \documentclass{letter}? [duplicate]

Reproducible example: \documentclass{letter} \usepackage{lipsum} \usepackage{graphicx} %\usepackage{invoice} \begin{document} \begin{letter}{} \opening{Muy se\~{n}or nuestro:} \lipsum[34] ...
0
votes
0answers
35 views

Fix image in top column

I made a text with 4 columns. I am trying insert the image in the top of second column, independently of the length text. I see: Placing figures inside a two-column document but there is plenty of ...
1
vote
1answer
153 views

runaway argument?

Here is the minimal example. It gives me error Runaway argument? {\includegraphics [width=3in]{readavail13.jpg} \label {Worst Quorum S\ETC. ! File ended while scanning use of \sf@@@subfloat. ...
3
votes
1answer
147 views

Latex is making-Tikz generated pdf figure, converted to eps, and then included to latex document using \includegraphics- transparent

At the out set, I must say I have just started using Tikz. I draw a picture using Tikz. It generated pdf output which I converted to eps (required figure format for submission in a journal) using ...
1
vote
1answer
91 views

Why is “width=\textwidth” setting not properly scaling graphic?

I'm including a jpg figure in my LaTeX document like this: \begin{figure}[htbp]\centering % fbox here only for illustrative purposes ...
2
votes
1answer
215 views

How to insert an image into Latex IEEE document by using miktex?

I wish to include my 1.png image into the LaTeX document, however I get the error when using the command as below: \begin{figure} \centering \includegraphics{1.png} \caption{Figure 1: A picture ...
3
votes
1answer
69 views

tikz node graph

i have a big graph \begin{center} \resizebox{\textwidth}{!}{% \begin{tikzpicture} [ line/.style = {draw, thick, -latex}, dot/.style = {draw, fill=black}, % scale=0.2 ] \coordinate ...
1
vote
0answers
65 views

Error when trying to import an Image

I am new to LaTeX and I am trying to import a .jpg file. I have this code that I compiled from different sources online: \begin{figure}[ht!] \centering \includegraphics[width=90mm]{svm.jpg} ...
5
votes
1answer
50 views

Align top of images using subcaption

I'm trying to align the tops of two images using the subfigure environment from the subcaption package. Unless I'm misinterpreting the other questions, I believe I have read multiple questions asking ...
2
votes
0answers
185 views

Generating On-Shell Diagrams

There is a paper called "Scattering Amplitudes and the Positive Grassmannian", and they have diagrams that they call "On-Shell Diagrams". (See pg. 10 of http://arxiv.org/pdf/1212.5605v2.pdf). I am ...
2
votes
1answer
275 views

Curve CV - Photo in Rubric

I just started to create my CV by using CurVe package (CurVe at CTAN). But while I tried to include my photo inside the personal category I had some troubles, because I was not able to place the image ...
1
vote
1answer
106 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 ...