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

3
votes
1answer
43 views

Make listing a floating image

I have used the listings package for including a program into a LaTeX document. But the program splits into two when a page is finished. I want to make the listing behaved like an image, so that it ...
1
vote
1answer
32 views

Align text with center of picture in Beamer

\documentclass{beamer} \usetheme{Madrid} \begin{document} \begin{frame}{Members} \begin{columns}[T] \hfill \begin{column}{.32\textwidth} \hspace{2mm} \includegraphics[height=0.2\textheight]{john....
3
votes
1answer
49 views

\includegraphics filename starts with #

How to include graphs with filename starting with # sign? Say I have an image #1-1.png. The following error message will pop up when I try to include it. Package pdftex.def Error: File `##1-1.png' ...
0
votes
1answer
64 views

Border around includegraphics

Seems like the problem of border around includegraphics has already been brought up. But none of the solutions worked for me. Here's how my border looks like: And here's the code: \documentclass{...
1
vote
0answers
24 views

git-latexdiff and relative imports on linux

I have a paper which is basically structured in a directory this way: mypaper/ main.tex sections/ intro.tex methods.tex conclusions.tex img/ img1.png ...
2
votes
2answers
60 views

Side-by-side figures with caption, specify height but use whole textwidth

I found this answer which does exactly what I want except the fact that I can't use a caption for my figures: Forcing subfigures to have same height and take overall X% of linewidth in LaTeX I want ...
2
votes
1answer
26 views

Take figure from big PDF file

I am sorry if I am missing something that might be obvious, but after searching for a while I cannot find a simple solution to my problem. I have a big PDF file, from which I want to take some figures ...
2
votes
1answer
46 views

Multiple hyperlinks from single \includegraphics

I have an image like this which I have included with an \includegraphics command. I want each of the circles to be a link to a different part of the document. I.e. clicking on the blue circle ...
1
vote
2answers
54 views

Option clash for [framemethod=tikz]{mdframed} & [draft]{graphicx} | same clash for [demo]{graphicx}

The following combination of options and packages gives an Option clash, and thus prohibits anybody from compiling the code: \usepackage[framemethod=tikz]{mdframed} \usepackage[demo]{graphicx} (or \...
0
votes
1answer
57 views

How I can create a water triple jump graphic - pgfplot?

How can I create a water triple jump graphic like the one in the picture \documentclass[border=3mm]{standalone} \usepackage{pgfplots} \usetikzlibrary{intersections} \begin{document} \begin{...
1
vote
0answers
20 views

Group together subfloats and reset caption counter in two-column figure

I am creating a figure for a document using the IEEEtran class. The figure spans both columns and is made up of various subfloats. I have provided a MWE of what I have attempted so far (see code and ...
1
vote
0answers
39 views

Divide one pdf file into more tiles

I need to split a single pdf file into multiple pages. Well, let's say the file is 1 x 0,2 m. I'd like to obtain an output file where every page has the dimension of 3 x 20 cm. I'm trying to achieve ...
1
vote
1answer
39 views

How to insert subfigure with caption in IEEE trans?

I am trying to insert some subfigures with caption to all the figure in IEEE trans and i don't want to span two columns. But it is not working. I want to do the following: . And what i tried: \begin{...
3
votes
1answer
24 views

How to have captions above each “pseudo-subfigure”?

The following subfigures are not real subfigures, but I will call them pseudo-subfigures, since I would like to have captions above them like one can easily do with real subfigures. However, I would ...
2
votes
1answer
48 views

Adding image to node in Forest

I would like to take a Forest like so: Forest: MWE: \documentclass[border=10pt,tikz,multi]{standalone} \usepackage[edges]{forest} \begin{document} \begin{forest} styleA/.style={top color=green!...
1
vote
1answer
94 views

How to plot a wall section

How can I plot a wall section with the part of sin graph in the middle like the one in the picture. I wrote this code: \documentclass{article} \usepackage{tikz} \begin{document} \begin{...
1
vote
0answers
123 views

How to include eps figure MiKTeX 2.9, pdfLaTeX, shared Windows computer

I've finally managed to get my file to compile, but the image I want to include isn't showing up. I get a big bit of blank space. Without all the actual text stuff going on, this is what I've got: \...
2
votes
1answer
93 views

Signature over printed name in a `moderncv` letter

When trying to get the signature (transparent PNG) properly placed using the following code: \name{Andrés}{BC} \closing{\color{red}Atentamente,\\ \vspace{-10pt}\parbox{120pt}% {\includegraphics[width=...
0
votes
0answers
76 views

How to draw a graph in Texmaker

i want to draw a graph identical to that in the photo below but unfortunately i failed, can any one please draw such a graph for me ?
0
votes
0answers
13 views

Adding an \abstract{…} makes all figures shift to the right: how to fix [duplicate]

Adding an \abstract{...}, makes the figures shift to the right unwantedly (even outside of the supposed text boundaries). How to fix that wonder? Lot's of fixes can be found, but the best answer ...
2
votes
2answers
69 views

How can I define a new symbol in latex (with its own image)?

I'm new to LaTeX and I'm using TeX Writer for iOS and I want to insert a new command "\dotplus" (symbolically: $\dotplus$) on my .text to .pdf. All I did was: And I got three errors: I have also ...
3
votes
1answer
49 views

Place matrix and image side-by-side

I am trying to place a matrix and an image side-by-side in a tabular format, using the following code (following the style in Image next to Equation). \documentclass{article} \usepackage{amsmath} \...
2
votes
1answer
52 views

How to make \captionof have: 1) more space between image and caption & 2) encompass less width than \textwidth

This question is specifically regarding \captionofs, which I have been using instead of captionss since the latter are floating. (Unfortunately, I have experienced that \captionof's sometimes ...
2
votes
2answers
80 views

Equal size subfigure

I want my subfigures to look uniform, thus each having same width and height. Additionally, each of the two rows should have a center, around which all subfigures in that row are centered. I want ...
2
votes
1answer
24 views

Linebreak in overlaid figure text

As a simple example, consider this MWE: \documentclass{memoir} \usepackage{graphicx} \begin{document} \begin{figure}[h] \centering \includegraphics[width=0.4\columnwidth]{example-image} ...
0
votes
1answer
32 views

I am trying to get a saved image into my share latex doc

I have an image stored in my file system under the following path: file:///C:/Users/jacob/Documents/Unix%20CW/ERD.png I have imported the graphicx package using \usepackage{graphicx} and have ...
6
votes
1answer
244 views

Reserve the same space a given picture would take

... \usepackage{graphicx} ... \begin{center} \includegraphics[width=7cm]{demo.png} \end{center} ... And output... But, that I want below the picture. Not \usepackage[draft]{graphicx}, not shown ...
0
votes
1answer
44 views

How to insert image figure numbers in list of figures section under the table of contents

I have couple of images in every chapter and I need to specify a figure number for every image depending on the chapter and it must get automatically reflected in the list of figures section. How do I ...
-2
votes
2answers
111 views

How I can create a graph of forces - tikz?

How can I create a graph of the forces acting on an object like the one in the picture? \documentclass{article} \usepackage{tikz} \begin{document} \begin{tikzpicture} \end{tikzpicture} \end{...
2
votes
2answers
55 views

How to use aligment in a list?

At the moment: What I want: Here is the code: \begin{enumerate}[(a)] \item $3,6,9,12, \dots$ \item $3,5,7,9,11, \dots$ \item $2,3,5,7,11,13, \dots$ \item \includegraphics[scale=...
2
votes
1answer
48 views

Mirroring effect on images with fade

I hope you guys can help me. I try to create a mirroring effect on images with a fade. It is working so far but I would like that the mirror image is already at the half (adjustable) complete ...
2
votes
2answers
42 views

How to put a figure in the page that spans whole page on a two column document

I want to include a figure that spans the whole page of a twocolumn document. I've tried this link: How do I make a figure that spans a spread of two pages, but it results in the figure being onn the ...
1
vote
1answer
20 views

Working on a poster wanting to put an image and a table side by side

Hi all I am sorry I am new here, still struggle even imputing the question I apologize. What I have is an image and a table inside a mini page of a poster that I want to put side by side but I cannot. ...
3
votes
2answers
43 views

Center Image to Page Inside Enumerate

I am trying to post an image inside an enumerated list but the left margin it starts with is the indented margin from enumerate. Is there any way to ignore that without having to break the enumerate? ...
1
vote
0answers
36 views

Can't change width yet using {graphicx}

I just finished installing LaTeX and I would like to resize an image but I'm getting the message "! Paragraph ended before \Gin@ii was complete.". I am already using the package {graphicx} so I'm not ...
2
votes
1answer
36 views

Narrow subfigure caption in one line

I have the following TeX code: \documentclass{article} \usepackage{tikz} \usepackage{amsmath,amssymb} %\usepackage{subcaption} \usepackage{xcolor} \usepackage{subfigure} %\usetikzlibrary{backgrounds,...
1
vote
0answers
23 views

Figures occupy 1 page [duplicate]

I have a figure that occupied 1 page. When I put this in my latex document, the other following documents and this 1 page document automatically are thrown away at the end of the section. Therefore, ...
1
vote
0answers
33 views

Biomedcentral figure caption outside bounding box [closed]

When using the BioMed Central template (bmcart documentclass) the figure caption overflows the figures bounding box. How can this be fixed? \begin{figure}[hbtp] \centering \includegraphics[scale=0.4]{...
0
votes
0answers
153 views

How to convert pdf to eps

I know that this post provides a windows batch file conversion option, but after I run the batch file, a .cmd UI comes up, and I'm not sure what to do from there. I have tried entering the file name ...
3
votes
1answer
54 views

Is this character causing the graphics path error?

I have a graphics path: \graphicspath{{C:/Users/Username/Documents/Project 1 - Project Title/Project Writeup/Project/Graphics}} That is not working: File 'Figure' not found. \...
1
vote
1answer
65 views

Template for a heavily illustrated book [closed]

I'm writing a short maths book containing lots of pictures and illustrations. Can anyone suggest a suitable template for that purpose? Thanks.
3
votes
1answer
40 views

How do I position my image such that it's in the centre of the slide?

What I'm trying to do over here is that I want to position my plot as shown in the second image below in the centre, covering the text behind it. However, after passing different position parameters ...
-3
votes
1answer
90 views

How I can create a graph of acceleration and speed - tikz?

How can I create a graph of acceleration and speed like the one in the picture. Knowing that they are each other's consequence? \documentclass{article} \usepackage{tikz} \begin{document} \begin{...
0
votes
0answers
19 views

Does svg package work on Windows?

The 2012 documentation for the svg package says "Finally, this package will not work on Windows". Is this still true?
0
votes
1answer
84 views

How can I insert pictures in (EPS/JPEG/PNG) format in a tex file?

I have a .tex file which goes something like this: \NeedsTeXFormat{LaTeX2e} \documentclass[border=10pt]{standalone} \usepackage{fontspec} \newcommand*{\NewFont}[1]{% \expandafter\newfontfamily\...
0
votes
0answers
61 views

graphics with Latex

I am doing the last touches of my PhD report. I have this graphic that I did it with Ms word (shame on me). I would like it to do it with latex or other professional tool to have best quality. Any ...
7
votes
1answer
79 views

What is wrong with this syntax?

If I write \noindent\vskip 0ex plus 2ex\includegraphics[width={\textwidth plus 2pt minus 2pt}, angle=0]{J2-23-1} it is correct However, if I write \noindent\vskip 0ex plus 2ex\includegraphics[...
5
votes
2answers
80 views

How to prevent graphicx from searching TEXINPUTS

My usual practice for large documents with a lot of illustrations is to organize the graphics files into one or more subdirectories, and then to add those subdirectories to the graphics path so that \...
5
votes
1answer
430 views

Is there an upside-down version of the symbol for $\pi$?

I have been looking at the Comprehensive list of Latex symbols, but can not seem to find an upside-down letter $\pi$. Is there a package that I need to add so that a command like $\copi$ or $\invpi$ ...
1
vote
1answer
38 views

Figures in LaTeX from different directories

I've seen this sort of question on a lot of fora, but I haven't found an answer to my question. If the answer is already out there and I didn't find it, I apologize in advance. The situation is as ...