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

13
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
354 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
252 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
130 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
558 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
87 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
150 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
324 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
425 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
46 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
41 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
20 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
71 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
64 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
90 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
93 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
169 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
377 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
685 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
187 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
608 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
468 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
190 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
35 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
164 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
66 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
93 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
168 views

Highlight a group of nodes in a tikz graph

Is it possible to extend the approach of the question: Highlight a group of nodes in a tikz tree to a generic tikz graph? In particular I don't have a graph in form of a tree, so I can't specify the ...
2
votes
0answers
48 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
146 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
78 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
110 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
122 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
127 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
317 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
253 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
182 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
454 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
148 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
108 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
12 views

adding natwidth and natheight to \photo in moderncv

I am using winEdt 6 with MikTex 2.9 and writing a resume with moderncv package. The problem is I can't make the cv title because it cannot determine the size of the photo. I want a way to put the size ...
1
vote
0answers
24 views

I am trouble syncing page/figure numbers with images

I am writing my M.Sc. thesis and have made graphs with captions. It's the first time that I am using latex and really love it. I still have a learning curve. I have made my graphs with standalone. ...
1
vote
0answers
63 views

I am trying to draw a DNA sequence with a point mutaion

I am trying to draw the following: met thr glu tyr lys leu val val val gly ala gly gly ORF ATG ACG GAA TAT AAG CTG GTG GTG GTG GGC GCC GGC GGT TAC TGC CTT ATA TTC GAC CAC CAC CAC CCG CGG CCG ...
1
vote
0answers
39 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 ...
1
vote
0answers
43 views

Pixelated image in ps format!

I have a big problem with the figures in my paper. I need to submit a postscript file to a journal. Figures are in a good shape while I directly convert the file to pdf. But while I save the file in ...
1
vote
0answers
34 views

Help in shadow of cycles

want to know how do I make the shadow of cycles \usepackage[tikzpicture] \begin{document}[article \begin{tikzpicture}[x=\imagescale ,y=\imagescale] %posicione a imagem ...
1
vote
0answers
35 views

upgraded to Yosemite, texshop 3.50, problem with graphics in pdf output

I have just upgraded to Yosemite and texshop 3.50. My code worked fine before but now some figures won't appear correctly and seem to be a tiny mosaic of other figures when I scroll through the pdf ...
1
vote
0answers
24 views

pdf image is imported without x and y axes label

I am trying to import a pdf image into Latex with the below code, however, the image appears without any x and y axes labels. Not sure what is the problem. Here is a link to the pdf file. ...
1
vote
0answers
44 views

How to insert an image in the footline of a beamer presentation

I'm using the Madrid theme but I would like tu use images instead of colored backgrounds for the frametitle and the footline. This is what I have so far I want to do the same thing I did for the ...