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

2
votes
1answer
48 views

Sideways picture shown on wrong page

My picture and my section won't be on the same page. I have tried the float package with [H] and [!] and so on but it won't work \documentclass[a4paper]{report} \usepackage{float} ...
0
votes
0answers
27 views

Why my table not showing up where it should? [duplicate]

I'm doing something like this some text \input{tables/ratings} some more text However, it's popping up randomly. How can use the \ref{} command in this case? Please suggest some simple solution. ...
2
votes
1answer
56 views

Centering images in lyx

I am having some trouble in centering images in lyx and have read a number of questions on the topic. However, when attempting to apply the solutions from the answers the images are still not ...
1
vote
2answers
44 views

Add an image in the table (tabularx)

I'm new to LaTeX, I have a table and I want to add an image in the first column of my table and I want that it fits a column. Can you give me some advice how to do it correctly? ...
1
vote
0answers
35 views

Winedt cannot output pdf after inserting image [closed]

I can generate a pdf without inserting image, but after inserting a eps image, the preview button turns gray and I cannot find the pdf.
1
vote
0answers
10 views

Automatically scale image based on its native/actual size [duplicate]

I want Latex to detect images that are larger than the page width and automatically scale them down to fit, similar to what this does: \includegraphics[width=\textwidth]{path/to/image} However, I ...
1
vote
1answer
45 views

\hyperref error when using figure. Colors and too many }'s?

I am having trouble with the colorlinks=true command with the \hyperref package. When I include it as well as the \figure command I get an error relating to colors. Excluding it allows the document to ...
1
vote
0answers
62 views

path of figures in different directories with subfile latex

This is the structure of my directories - Main tex file /Diss/main.tex chapter tex files Diss/chap1/chap1.tex, Diss/chap2/chap2.tex etc Images Diss/chap1/images/f1.png, Diss/chap2/images/f2.png etc ...
1
vote
1answer
51 views

\startcombination spanning multiple pages? (ConTeXt)

I make extensive use of \startcombination for my grid of images and am very happy with what it produces. \startcombination[4*3] ...
1
vote
0answers
46 views

Trouble inserting image into ShareLatex

Using this structure: \usepackage{graphicx} \graphicspath {Z:\My Documents\images/} \begin{document} \includegraphics{cup} \end{document} File is a jpg Getting error stating "undefined control ...
0
votes
0answers
43 views

Best way to tile images in LaTeX [duplicate]

In my document I need quite often tiled arrangements of images. I could tile the images externally using e.g. Matlab or Gimp. However I dislike this unflexible approach. I found another way of tiling ...
1
vote
1answer
63 views

Zeno's Paradoxes Graph with Latex (half circles, arcs and spirals)

I am pretty new to Latex and wanted to know how would go about to create the following graphic or something similar (only interested in geometrical aspect, not the turtles and achilles) with Tikz or ...
2
votes
0answers
65 views

Wrong color figures in pdf output

I am composing a large number of pdf figures with includegraphics that contain pixel graphics with xelatex. The individual figures are themselves compiled with xelatex using includegraphics. As the ...
2
votes
1answer
63 views

Place multiple external images in a PGFPlots axis from a PGFPlotsTable

I am trying to create an environment in which I can place several georeferenced images into a PGFPlots axis. I have working code that reads in the specified image, reads in the world file (a text ...
0
votes
0answers
22 views

Change page orientation and place an image filling the whole page [duplicate]

I would like to change the page orientation from vertical to horizontal just for one page and in this new page, place an image that will fill and fit to this page. ¿How would I go about doing this? ...
1
vote
1answer
24 views

Breaking the twocolumn to add a large figure

I am using \documentclass[twoside,twocolumn]{article} and I need to place a very large figure composed of 12 smaller plots: \begin{figure}[h] \includegraphics[scale=0.28]{usti1} ...
1
vote
0answers
80 views

Background in a0poster documentclass

I am using the a0poster documentclass to prepare my scientific poster. I would like to add a transparent background in my poster. I found a solution for the beamer class with \usebackgroundtemplate ...
2
votes
1answer
102 views

How to depict Hierarchical State Machines in Latex

I want to depict a Hierarchical Statemachine (HSM) in a latex document. I've implemented the state machine I want to depict in Qt's Statemachine Framework. Just so that you know what I'm talking ...
0
votes
1answer
61 views

Trouble Including .png file using graphicx

I'm using MikTex 2.9 and TeXstudio to write up a little report, and I've hit a bit of a snag when trying to include relevant figures. I've specified the correct path to the file directory using ...
2
votes
0answers
76 views

Pandoc: LaTeX to HTML - no images shown

I use pandoc to convert my LaTeX file to a plain HTML file. Everything works fine so far. However, images and references are not parsed. I use pandoc guide.tex -o guide.html to generate the HTML ...
1
vote
1answer
35 views

interpolate with graphicx and beamer in luatex

In TeX Live 2015, using the interpolate option of \includegraphics{...} with lualatex causes an error unless one specifies \pdftexversion appropriately. For example, following Kurt’s explanations in ...
1
vote
1answer
33 views

Manually position caption inside a figure

How can I place my caption in the indicated arbitrary box in the below figure. This is what I am using for now for my usual figures: \begin{figure}[h] \centering ...
2
votes
1answer
46 views

multicols environment stretches content

I'm using the multicols package to place a graphic next to a description: \subsubsection{Geometrische Darstellung} \begin{multicols}{2} Für $z = (a + ib)$: \begin{itemize} \item $|z| = r = |\vec v| = ...
2
votes
3answers
51 views

Suppressing addition of blank page before figure when wrapping long JPEG image

I have the following LaTeX file, whose sole purpose is to wrap a JPEG file. This file does not convert well to PDF, so I'm using this unorthodox technique to convert it. \documentclass{article} ...
1
vote
0answers
97 views

includegraphics throw error with eps file

I want to use the ACM Latex proceeding template available at: http://www.acm.org/publications/proceedings-template I have downloaded all the needed files that are defined on the LaTeX2e section, and ...
1
vote
1answer
39 views

Putting figures in MacTex

I don't know why but I'm not being able to put an image in my Latex file. I'm using MacTex and saving the code in .tex extension. Also I put the image in the same place I'm saving the file/code. Can ...
2
votes
0answers
86 views

Image appears half Latex EPS Photoshop/Gimp

This is the first time this is happening in years of latex usage. I recently started using photoshop, and having exported the image in a variety of formats in photoshop (pdf/jpeg/png) and ...
1
vote
1answer
64 views

debugging missing reference to figure

to put it plainly: is there a way to debug the way a \begin{figure}...\end{figure} block is processed? I got all my figures in my paper, their references are alright except for 2 of them ...
1
vote
0answers
58 views

\includegraphics does not find desired file [closed]

I'm using xelatex and trying to incorporate a .png file. I've done this a thousand times, but never with eso-pic; is that the issue? Or is it something else? MWE \documentclass{tufte-handout} ...
1
vote
1answer
47 views

How to show 'Table' instead of 'image' when I have a table in the form of image? [duplicate]

I don't know if the question has been asked or not. I have a table in the form of image and I want to put instead of "Figure 1", I want to put instead "Table 1", so on my way to show this, I ...
2
votes
1answer
48 views

How to put an image on maketitle page below the author's name

latex newb here. I used a solution proposed here Image within \maketitle - not separate page which recommended using the titling package but was only able to fiddle enough to get the image on the top ...
1
vote
1answer
69 views

Two-column RevTex blank space issues

I am a first time user of LaTeX and I am attempting to write a report featuring many graphs. I am using the adapted from the American Physical Societies REVTeK-4 Pages format with the following ...
3
votes
1answer
77 views

How to display Git console logs(==colored text) beautifully in LaTeX?

I basically want a similar output in a direct LaTeX format, like the picture below. The Background color is not important, but e.g. the different colors of the commit hashs, the commit message and the ...
3
votes
1answer
67 views

Picture with four intersecting lines

I have the following picture: \documentclass{article} \usepackage{tikz} \begin{document} \begin{tikzpicture}[scale=1.5] \draw [<->,thick] (0,3) node (yaxis) ...
2
votes
2answers
93 views

Different backgrounds, clipped to paths in a figure? [closed]

In this post there is this image: Is there a way to create such backgrounds? It doesn't have to be a LaTeX native method, hopefully open source. A library of backgrounds usable would be a nice ...
0
votes
1answer
61 views

Magnify picture using tikz

I have a representation of automata as black boxes (left part of the figure), and I want to show on the next beamer slide the same figure with a magnification of automata B4 (as in the right side of ...
0
votes
1answer
59 views

documentclass Beamer graphicspath subfolder

I want to use a subfolder for my graphics. Folder structure: script, graphic, Chapter1 \documentclass{beamer} \usepackage{graphicx} \graphicspath{{graphic/Chapter1}} Latex wont find the images ...
2
votes
1answer
60 views

XeLateX misplaces figures over text

When I do Latex > DVItoPS > PStoPDF figures appear correctly. But when I use XeLaTex, it misplaces some figures over text. I draw the frame of eps files by ...
1
vote
1answer
64 views

How can one bound a selection of items (as below) using a pair of vertical parallel lines?

The following represents the elements of a theorem which I want to highlight from start to finish between a pair of vertical parallel lines. A block of text. An equation - not necessarily numbered. ...
0
votes
1answer
72 views

How to move the abstract to the left column?

My question is similar to this question, however, instead of a picture, I wish to move the abstract section to the left column, using same document class. Can anyone help with this? The document ...
4
votes
0answers
52 views

Cannot center pdf image [duplicate]

I'm using sharelatex and pdflatex as a compiler. I am using the memoir class. (It's for a book.) At first I used .png images but the compiler always took too long so I converted all my image files to ...
0
votes
2answers
175 views

How to include PDF image in Latex

I want to use a PDF image embedded as a figure. I am using the following code. The result is a blank page followed by a page without any figure at all. Just the text appears on the second page. ...
2
votes
1answer
77 views

Problem when importing images. Please help!

\documentclass[a4paper]{article} \usepackage{vntex} %\usepackage[english,vietnam]{babel} %\usepackage[utf8]{inputenc} %\usepackage[utf8]{inputenc} %\usepackage[francais]{babel} ...
1
vote
0answers
58 views

Arrange 8 photos automatically on one page

I'm printing posters for a birthday with pictures. Im putting 8 photos on a1 plot. currently all i do is: \begin{minipage}{.45\linewidth} \includegraphics[width=\linewidth]{1-4.jpg} ...
0
votes
0answers
39 views

Writing text and formulas on external figures and graphs [duplicate]

I have generated a publication-figure from my data (I used Mathematica), and now I would like to write text and formulas on it. The figure is in a vectorized format. What is the standard way of using ...
0
votes
0answers
78 views

No file error when including png image [closed]

Installed MikTex2.9 from scratch on Windows and started getting an \syntaxerror from gs for the below png image. MWE: \begin{figure*}% ...
1
vote
0answers
45 views

Path of includegraphics is relative - but to what?

I am trying to include graphics for a document. The arborescence is as follows: + REPORT +-- RESOURCES | + icon.png +-- TEX + report.tex + report.cls The report.tex starts with {report}, ...
0
votes
0answers
81 views

How to give caption on ShareLatex

I am trying to give a caption for my figure on ShareLatex. I need the caption below the figure. But using the following code, caption appears above the figure. What is my mistake? Your help would be ...
3
votes
1answer
57 views

Spacing in 2x2 images

I'm trying to embed 4 images as a 2x2-grid in my LaTeX-Document. The insertion works so far, here's a minimum working example and it's result: \documentclass[oneside,12pt,pointednumbers]{scrartcl} ...
1
vote
1answer
32 views

What symbols are allowed in names of video files imported with media9?

I occasionally found that comma cannot be used in names of .mp4 and .swf files imported by \includemedia macro defined in media9 package although comma is allowed in names of a graphics file imported ...