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

7
votes
0answers
3k views

eps-converted-to.pdf not found

I was trying to include a figure in LuaLatex, but got an error message of !Package pdftex.def Error: File 'test-eps-converted-to.pdf' not found. The same code run in pdfLaTex+MakeIndex+bibTex. ...
6
votes
0answers
99 views

Typeset book for children

I am working (writing and typesetting) on a book for children. I have used the memoir class. The book looks good for an adult audience. But I had ideas of making it more interesting for the children. ...
6
votes
0answers
339 views

best practice to include (standalone precompiled) graphics

General understanding I know that several people have asked about how to include plots and graphics (created by tikz and pstricks) into a latex document. What is the best way to include Matlab ...
6
votes
0answers
187 views

Changing colors of included cmyk jpg

I am trying to convert a pdf containing grayscale pictures and black text into shades of a single color in cmyk color space (for printing). I was thus very happy to learn, from a side remark in one ...
5
votes
0answers
70 views

Creating a PDF form that accepts uploaded images

I am creating some forms that require users to stick photos in boxes. I was wondering if one could, with some PDF magic, create forms that could accept user supplied (via an upload button on the form) ...
5
votes
0answers
79 views

How can I print a LaTeX document with raster images in halftone?

I have a LaTeX document with photos in it, and I would like to print this in high quality halftone on a black and white laser printer. I would like to achieve a better halftone than the one my printer ...
5
votes
0answers
221 views

Characters missing when embedding PDF with pdftex

I have the feeling this must have been asked before, but I couldn't find it with search... When I run the following test file \documentclass{article} \usepackage[T1]{fontenc} % ...
5
votes
0answers
106 views

Can I bundle images in the source file?

I am including some jpeg images in a LaTeX file using \includegraphics. Is there a way I can bundle the image files with the source file, and so just send one file to other machines, or ...
5
votes
0answers
252 views

includegraphics: How to check if PDF/PNG are transparent?

I am trying to generate PDF/A-1 compliant documents, in which transparency is not allowed. I would like to check, if included PDF and PNG images have transparency. Is there a TeX way to check this? ...
5
votes
0answers
163 views

How to fix the error when importing EPS images with spaces in their path?

I am using Windows. The objective is to import all images in a sub directory. I divide into 2 categories, for PNG and EPS, separately as follows. For PNG This category works without problem. So you ...
5
votes
0answers
102 views

Best practices for setting figure width/hight ratio across the document in a consistent fashion

When I have many plots in a document I usually lose a lot of time to individually set width and hight of each pictures to make them appear right within the document. Additionally complicating the ...
4
votes
0answers
58 views

How do I include Postscript graphics in a LaTeX file?

I am trying to include sample.ps file to my document with the following code \documentclass{article} \usepackage[margin=3cm,a4paper]{geometry} \usepackage{amsmath,amsthm} \usepackage{amsfonts} ...
4
votes
0answers
82 views

how does \includegraphics from the graphicx get the size of a .jpg image

Is there someplace where I can read about how \includegrapics uses the metadata that is stored with a JPG image? I have carefully sized 80 images with Photoshop such that the Photoshop's ImageSize ...
4
votes
0answers
86 views

eps import wrong title in graphic \pi looks like \neq

Need to import a figure from Matlab. I export it as an eps and use epstopdf to import it in latex for some unknown reasons the greek pi in the title of the plot that looks ok in the .eps does not ...
4
votes
0answers
298 views

htlatex options

I'm using htlatex (Miktek 2.9, on windows command prompt) with the command: htlatex source.tex "3" "" "" "--interaction==nonstopmode" to generate HTML from existing documents written in LaTeX. I've ...
3
votes
0answers
47 views

Fillable PDF: radiobutton & other

I'm having hard times trying to create a fillable pdf form. In particular, I can't find a way to implement two things: • radio button with text on top • fillable blank field for the "Last Comment" ...
3
votes
0answers
43 views

How to get and process bitmap graphics at a pixel level on-the-fly?

We are trying to solve How to get intersection point(s) of two glyphs? and there are some interesting subtasks. In word cloud algorithms they are converting glyphs (a vector form) to a raster form and ...
3
votes
0answers
70 views

How do determine the arrow form in Tikz

I plotted following image: Using this code: \documentclass[10pt,a4paper,twocolumn]{article} \usepackage{bondgraph} %Draw bondgraphs ...
3
votes
0answers
154 views

Clip image to drawing area

I have a vector graphic that I need to include in a LaTeX file. Since LaTeX doesn't support SVG, I attempted to include it as a PDF. The problem is, that there are some elements of the image that ...
3
votes
0answers
90 views

Include PDF images with interpolate=true

I was happy to read that \includegraphics allows setting the interpolate flag for imported images: \includegraphics[interpolate]{testimg} This works wonderfully if testimg is a PNG image. ...
3
votes
0answers
149 views

Include R output as pdf in Texmaker

I just switched from texshop to texmaker on Mac OS X. However, now the plots I want to insert from R as pdf in the document are missing the fonts in the pdflatex output. It used to work fine with ...
3
votes
0answers
329 views

Interactive PDF - Click thumbnail images to open in quicklook like window

Is it possible to create an interactive PDF where you can click a scaled down embedded image and it opens it up large in a preview like window hovering in front of the open PDF? Sort of like the PDF ...
3
votes
0answers
76 views

Graphics confusion

I am compiling a latex file like this: pdflatex path/to/file.tex There is a png in the same directory as the .tex file: path/to/img.png I get an error, presumably because pdflatex is looking in ...
3
votes
0answers
164 views

Difference in PDF loading in lua- and xelatex

Someone is trying to install a package of mine (http://www.ctan.org/pkg/lilyglyphs) in MiKTeX on Windows 7. After some hassles with file and font paths we managed to get him going, but there is one ...
3
votes
0answers
231 views

How to diagnose 'gs' failure converting eps to pdf as part of pdflatex

I'm creating a beamer presentation using a custom theme with company logos on the frametitle and footer of the pages. I've got these in EPS format and the resulting document does generate correctly ...
3
votes
0answers
294 views

TikZ scaling graphic and adjust node position and keep font size

I have several pictures in my thesis. I want to draw arrows with text over these pictures. After that I want to scale the picture, but the node position should adjust to the scaling and arrows, and ...
3
votes
0answers
235 views

Pandoc not exporting bibliography, images and nested sections

I'm a new Pandoc user, primarily for converting .tex files in .odt format. The following command: pandoc -f latex -t odt -o prova.odt roottoptesi.tex Works well apart for the fact that it can't ...
3
votes
0answers
576 views

PDF images not showing up with lualatex/pdflatex

I am trying to include an image in PDF format into my document as a figure. When compiling with lualatex or pdflatex, the image does not appear. If I take that very PDF image and convert it to PNG and ...
3
votes
0answers
112 views

pdflatex change my text format following after one figure, using this figure's format

I have a figure between some texts. The text after the figure appears to use the figure's format. which is "centered" and "scale=0.65". As well as the following sections appeared in the same page. Can ...
3
votes
0answers
149 views

How to define a style for drawings using a special font and siunitx?

I would like to define a style (e. g. style=techDraw) that gives me the possibility to define the behavior of all technical drawings made by tikz or imported as pdf_tex a. s. o. when the style ...
3
votes
0answers
2k views

Resolution (dpi) for \includeimage pictures and pdflatex

I am trying to create a pdf file with some pictures in it. Those are PNG files with 300dpi. I use texlive and pdflatex from Debian Squeeze. A simple code of my document would be: ...
2
votes
0answers
110 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
0answers
39 views

Unwanted graphic offset

I'm getting a small difference in horizontal alignment when using the two ways of placing an image as shown in my code below. I know it doesn't look like there's much point in what I've done, but this ...
2
votes
0answers
186 views

Want to add more column on the left side?

Want to add more column on the left side? \documentclass{article} \usepackage{pgfgantt} \usepackage{rotating} \usepackage[graphicx]{realboxes} \newganttchartelement*{mymilestone}{ ...
2
votes
0answers
66 views

How can I generate a nicely laid out image including text and a png image?

I would like to generate an image which incorporates some text, nicely laid out with a nice font, and a png image which has to be included in the image. I could put this together quite quickly in ...
2
votes
0answers
71 views

! Undefined control sequence on tables

I am new in LaTeX. I have created LaTeX and Gnuplot to build my graphs. Currently I have to add new table using LaTeX. but I get error: ! Undefined control sequence. l.60 \mycaption ...
2
votes
0answers
32 views

Add photo to moderncv style banking with modifications

How to add a photo to moderncv style banking follow up question from the above. how is the modification of the code create the photo only on the resume page but not to the letter page? and also with ...
2
votes
0answers
47 views

No BoundingBox in LaTeX for a JPEG figure

I am creating a pdf file with MiKTeX editor. I am including a figure as follows: \begin{figure} \centering \includegraphics[width=0.9\textwidth]{MonitoringConcept.JPEG} ...
2
votes
0answers
71 views

Help identify tool used to produce graph in LaTeX paper

In a paper by Ruth Gregory (see http://arxiv.org/abs/1203.0576), I found a graph: It does not seem to be an image from an application, e.g. Mathematica, but either rendered/generated by a LaTeX ...
2
votes
0answers
21 views

How to make gv (DOT) files work under LyX

I'm using LyX. After adding this gv file using Insert->Graphics, LyX automatically generated a perfect preview of the file, as expected. However, when I try to export or get a preview using dvi ...
2
votes
0answers
70 views

mdframed box spanning over page break: prevent images in between

I've run into a problem in a bigger documents where pictures get in between the breaks of mdframed boxes. So the scenario is that the mdframed box should break at pageend if it's to large and not ...
2
votes
0answers
111 views

Placing a figure that occupies 2 columns

Thanks for reading my thread. I have a two-columned IEEE format journal latex, and I want to insert a wide figure. Here is my code \begin{figure*}[ht!] \centering \begin{overpic}{profiles.eps} ...
2
votes
0answers
91 views

Umlauts or other special characters in TpX

I'm using TpX to create EPS graphics to be displayed in documents or presentations. At the moment, I'm preparing a presentation in German using the beamer class and include figures via the ...
2
votes
0answers
93 views

Having both EPS and PNG in the same document

I am using style files from this link for Latex in WinEdt 7.0. When including figures, If I use pdflatex or PDFTexify for compiling it doesn't recognize EPS files : ! LaTeX Error: Unknown graphics ...
2
votes
0answers
65 views

LyX enlarging inserted images

I have a problem with inserting images in my thesis that I write with LyX. Images in exported pdf are always larger than they actually are. Here is what it looks like in the editor, that's the real ...
2
votes
0answers
43 views

align icons to dictionary entries

I'm trying to typeset a small dictionary. Many of the entries come with a couple of icons that I would like to display in the margin just left of the entry, top-aligned with the beginning of the ...
2
votes
0answers
66 views

XeTeX crashing when including PDF files with \includegraphics

I've only used XeTeX a little so far for Greek text and it's the first time I am trying to include figures. \includegraphics works fine with PNG images but when I try PDF files, it just crashes. ...
2
votes
0answers
59 views

Subfigure is not working fine into a beamer presentation -

I have this in the preamble ... \documentclass{beamer} \usepackage[spanish]{babel} \usepackage[utf8]{inputenc} \usepackage{color} \usepackage{xcolor} \usepackage{graphicx} \usepackage{caption} ...
2
votes
0answers
52 views

Trouble loading .PNG in article class

I'm in the process of writing my thesis, and am having trouble getting any images to load in my document. I'm using the article class, as it required the least amount of editing to get it to look like ...
2
votes
0answers
108 views

TEX can't see figures on PDF

I am writing for an academic journal in LaTeX and I am using Texstudio. My problem is the journal format is using \usepackage[dvips]{eps fig} and to upload a figure this command being used is ...