{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
7k 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. ...
11
votes
0answers
374 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
279 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
136 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
596 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
47 views

Insert logo in \cventry for modercv (classic style)

I'm using moderncv for my CV. I tweaked with moderncvstyleclassic.sty quite a bit and I'm almost there in terms of the result I want. There's just 1 last thing I cannot solve: I would like to add a ...
4
votes
0answers
91 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
157 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
341 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
445 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
48 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
67 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
22 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
72 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
69 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
93 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
103 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
181 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
396 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
736 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
188 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
637 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
487 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
195 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
25 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
36 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
52 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
30 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
46 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
42 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
259 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
71 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
102 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
54 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
155 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
83 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
113 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
132 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
133 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
332 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
268 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
190 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
476 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? % ...
2
votes
0answers
153 views

Dynamically change images in a LyX File

I am using LyX and have created a document that includes numerous images. I'm wondering if it's possible to reference the path and file name to the images in LyX so that when I compile and create my ...
2
votes
0answers
111 views

Why do some of the characters in my included PDF file show up transparent?

I'm trying to include a PDF file in my LaTeX document (I'm using pdflatex), which looks as follows: \documentclass{article} \usepackage{graphicx} \begin{document} \includegraphics[page=1]{fdt1} ...
1
vote
0answers
35 views

Unknown graphics extension

I have inserted a .wmf (Windows Metafile) into a Scientific Workplace document. Then I tried to convert it to pdf using MikTex 2.9. I am getting this error message: ! LaTeX Error: Unknown graphics ...
1
vote
0answers
13 views

Resizing graphic to show relative size

I have divided my frame in two columns. Both columns have titles,picture,itemized text as in how to add title to column with graphics the only difference is that I am adding graphics in my frame as ...
1
vote
0answers
49 views

jpg image is flipped upside down

I am assembling figures for my thesis using: \documentclass[12, twoside]{report} \usepackage{textcomp} \usepackage{graphicx} \usepackage[a4paper,margin=1in]{geometry} \begin{document} ...
1
vote
0answers
35 views

What is the best way to draw something over an included graphic?

I want to show a frame containing a dog, a cat and a rabbit one by one. Totally three pictures. So naturally, I would draw the frame first, save it to a PDF or an EPS, and include it three times, with ...