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

14
votes
0answers
8k 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. ...
12
votes
0answers
418 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 ...
6
votes
0answers
314 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
143 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 ...
5
votes
0answers
656 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} % ...
4
votes
0answers
100 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
177 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
363 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 ...
4
votes
0answers
473 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
25 views

trying to load images with foreach

Im trying to load images from a directory but I cant because I dont know why \i does not indicates the number, code searches the directory and the files were not found.. \documentclass{beamer} ...
3
votes
0answers
34 views

LaTeX /includepdf stacks images on top of eachother

I'm trying to insert a pdf with multiple images into my LaTeX document using \includepdf but either no image shows up (for page={1} or page={1-4} etc.) or it stacks them all on top of each other and ...
3
votes
0answers
41 views

Inserting images in report class document

I am writing a thesis report, and would like to insert images. A majority of the images that I am using are high resolution bitmap. I am using the following to insert the images ...
3
votes
0answers
52 views

Export PDF for two printer - one pdf with just the pictures, the other one with the text

Do you know a possibility how to export a pdf, that has just blank space where the grahpics should be? (And the other way round) Why do I need this? I have a black and white laser printer and an ...
3
votes
0answers
108 views

Fit bounding box to gnuplot legend

Summary: Is there a way to automatically reduce the bounding box of an eps file to only fit displayed text? Details: A while ago I asked a question about combining multiple gnuplot graphs into a ...
3
votes
0answers
27 views

What is the best approach regarding .cfg files for the LaTeX graphics bundle?

The manual for the 'graphics' LaTeX bundle includes instructions for setting up the right conditions for the use of colour and the inclusion of graphics in documents. For example, on page 2, it says ...
3
votes
0answers
81 views

Transparent png prints incorrectly from Reader

I have a transparent PNG over a tikzpicture. This prints fine from TeXworks (left image), but from Adobe Reader the transparent area is noticeable (right image). Since most people use Reader, this is ...
3
votes
0answers
77 views

Is xelatex compatible with pgf masks?

When making my presentation with beamer I use xelatex to get nice fonts or I use pgf package to make images with transparent backgrounds. Unfortunately, I cannot use both at once as xelatex ignores ...
3
votes
0answers
99 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
121 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
211 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 ...
3
votes
0answers
426 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
807 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
198 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
711 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
513 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
1k 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
202 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 ...
2
votes
0answers
22 views

Psfrag not replacing tags into LaTeX typeset

I am trying to use the psfrags package to include LaTeX typeset into my .eps figures, but it is not working. I have followed the instructions provided in the following link. The psfrag.sty file is ...
2
votes
0answers
38 views

Replace latex equations in a PDF by rasterized graphics

Is it possible to generate a PDF file with pdflatex where the equations are replaced by rasterized images? This would make conversion to other word processors formats easier.
2
votes
0answers
105 views

eps/pdf figures not shown with XeLaTeX (with WinEdt)

I have a trouble in including eps/pdf files using XeLaTeX. It only give a white patch where the figure supposed to be if I compile with WinEdt 8 (Build: 20130513 (v. 8.0) - 64-bit), without any ...
2
votes
0answers
38 views

What is going on with my PDFs filesize?

I have a LaTeX document with 4 images in it. I tried with PNGs (optimized with PNG Gauntlet: Total filesize 3.85 MB) and got a PDF with a filesize of 9.14 MB, which is getting rather large. I resaved ...
2
votes
0answers
56 views

Why is LaTeX creating an empty page after an image?

I am using the following code: \documentclass[12pt, a4paper, pdftex]{article} \usepackage{graphicx, color} \usepackage[utf8]{inputenc} \usepackage{indentfirst} \usepackage [bottom=2cm, top=3cm, ...
2
votes
0answers
59 views

Damaged file in acroread when include .pdf graphic with other graphics that are clipped

I came across a weird issue when you include multiple graphics files when one is a non-clipped .pdf and the others are clipped non-pdf. I'm running pdflatex and the resulting pdf is created and can be ...
2
votes
0answers
50 views

How to protect a word from finding by google search machines

With Google it's possible to search for documents uploaded on webpages which contain a specific text inside the text. \begin{titlepage} A summary\\ \vspace*{3cm}\\ © Max Mustermann\\ % I used the ...
2
votes
0answers
50 views

LaTeX, Image placed below ToC

I am trying to insert a picture (pdf) below a ToC, but when I do it through \includepdf it just appears on the next page. I have tried some absolute positioning, but haven't gotten any of them to ...
2
votes
0answers
49 views

How to align figure with subsection?

I have placed numerous figures beneath subsections, but there is a one page gap between the subsection title and the actual figure. Does anyone know how to resolve this placement issue? An MWE of ...
2
votes
0answers
471 views

Problem with background pictures (\AddToShipoutPicture)

EDIT: adding \usepackage{grffile} did the trick!!! I'm having some troubles with the frontpage of my document. I use \AddToShipoutPicture*{\BackgroundPic} to print 2 .eps files as background on which ...
2
votes
0answers
74 views

Call “cmd” from within latex

As I asked here, I'm trying to add a link to an image, which already works this way: \documentclass{article} \usepackage{graphicx} \usepackage{hyperref} \let\oldincludegraphics=\includegraphics ...
2
votes
0answers
112 views

Best practice for including standalone commented equations with tikz

I'm writing a document where there are some equations which I'm commenting with hf-tikz package. It needs two LaTeX compilations in order to get the right coordinates and to draw everything in the ...
2
votes
0answers
55 views

Setting paths for different types

I wonder if it is possible to set several paths for different types of images, that im including in my document. Currently im using \graphicspath{{./Figures/}} for saying that, it should use ...
2
votes
0answers
165 views

How do I get a straight line in \begin{tikzpicture}[decoration=Koch snowflake]?

The following code \documentclass{standalone} \usepackage{tikz} \usetikzlibrary{decorations.fractals} \usepackage{pgfplots} \begin{document} \begin{tikzpicture}[scale=3,decoration=Koch snowflake] ...
2
votes
0answers
158 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 ...
2
votes
0answers
94 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
127 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
139 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
143 views

Include eps figures in class: report

\documentclass[a4paper,12pt]{report} \usepackage[paper=a4paper]{geometry} \usepackage[draft]{hyperref} \begin{document} \begin{figure} \centering \includegraphics[scale=0.5]{graphs/power.eps} ...
2
votes
0answers
351 views

Drag/Drop of image files onto Texstudio Editor

I have installed the latest svn version of Texstudio (2.6.6) under Windows 7 and OSX Mavericks. Drag and Drop of image files (have tried .eps, .png, and .pdf) works fine in OSX but does not work under ...
2
votes
0answers
307 views

Image centered on full slide with background color in beamer

Specifying both a background color and a background image for beamer slides is a bit tricky when notes are shown. I tried three approaches but none works perfectly (the idea is to avoid white borders ...
2
votes
0answers
219 views

Span background image across whole page

I want to put a background image on a file which uses the scrartcl class. The target pdf output size is A4 which is exactly the size of the background image (210mm x 297mm). The image should therefore ...
2
votes
0answers
506 views

Is this a bug with Inkscape and/or LaTeX or am I missing something?

I want to include figures generated by inkscape which include transparency. When I change the width of the figures, things get weird. Have you ever noticed this and is there a better way to do? % ...