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

22
votes
0answers
686 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 ...
8
votes
0answers
50 views

Performance difference between different graphics formats in pdflatex

I have a very complex document with many pictures (jpg, png and pdf). In trying to improve compiling performance I tried to convert all pictures to jpg, then all pictures to png and then to pdf (with ...
7
votes
0answers
454 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) ...
6
votes
0answers
88 views

Why does the picture appear in a different position in XeLaTeX?

Min reprex: \documentclass{article} \usepackage{graphicx} \usepackage{adjustbox} \usepackage{showframe} % just to illustrate \begin{document} \adjustbox{trim={.5\width} 0 0 0,clip}{\includegraphics{...
5
votes
0answers
165 views

Obtain a PDF animated from SVG animated

I have read Animations in LaTeX, but my question (I think) is different. I have an SVG animated file and I want to create the same animation in LaTeX, without rewriting the code. An example is this ...
5
votes
0answers
154 views

Is there ANY kind of design app that can output latex?

I'm a designer working at a software company, and it's been decided that we're going to be using Latex to design some newsletters for our customers. I've designed one as I normally would in Adobe ...
5
votes
0answers
166 views

Chess figurines for kindle, both eink and kindle fire

I wrote 13 chess books, using images, well seen on every kind of kindle, old and new. However, they mantain the same size when you change the size of the text. I just saw an old post by Asim, who ...
5
votes
0answers
1k 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} \...
5
votes
0answers
199 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
937 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} % \pdfmapfile{+rotis....
4
votes
0answers
75 views

How can I prepare a PDF file for a colour overlay with `\color`?

I want to include colorised icons in a mdframed environment. Since I think that in the near future I will probably need the icons to have varying colours, I'd like to use the \color{...}{\...
4
votes
0answers
282 views

svg package failing to find svg files

I am trying to get the svg package working on an OSX system. If I use inkscape to save the *.svg files as *.pdf and *.pdf_tex, then the sample file from this question works fine: \documentclass{...
4
votes
0answers
428 views

Interactive graphs in PDF file with Latex?

There are several questions which are asking similar question, but not exactly. I'm looking for a tool/method in Latex to generate really interactive graphs, when by dragging something on the graph ...
4
votes
0answers
201 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 ...
4
votes
0answers
253 views

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

I need to import a figure from Matlab. I export it as an .eps. I use epstopdf to import it in LaTeX and for some unknown reasons the greek letter pi in the title of the plot that looks ok in the .eps ...
4
votes
0answers
485 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
611 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 ...
4
votes
0answers
257 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
51 views

Synchronization between source code and PDF viewer fails for \include{.} (go to source / go to PDF)

In my LaTeX document I am using the following structure: I have a main tex-file from which chapters are included via include(.). Thus, each chapter has its own tex-file. For some time now, I ...
3
votes
0answers
35 views

Adjusting EPS figure text

I've got a series of EPS figures in my LaTeX article which each contain some title texts and labels. I would like to adjust these texts according to the text font type and size in my article, making ...
3
votes
0answers
71 views

Vector Graphics for Textbooks

I am editing a math textbook with a lot of graphs and plots. I'd like to know if it's better to draw these figures outside of latex (using Matlab for example) and import them using \includegraphics or ...
3
votes
0answers
40 views

Set a caption under an image in Report documentclass

I've been working on a report but i can't seem to find out how to get the caption of a image UNDER the specific image, instead it stays at the top of the image. Heres my code: \documentclass[12pt]{...
3
votes
0answers
39 views

Auto images height to get specified number of pages. Is it possible with LaTeX?

I am a very beginner in LaTeX, and need to know if it is possible to do next. There is a book, consisting of text and photos, going one by one. Questions: Is it possible in LaTeX to make images ...
3
votes
0answers
87 views

\includegraphics image not displaying in beamer

I am trying to add an image made in inkscape to a beamer presentation as follows. \documentclass{beamer} \usecolortheme[dark]{solarized} \usetheme{default} \begin{document} \begin{frame} \...
3
votes
0answers
105 views

Generate QR Code with image inside

How can I generate in xelatex a QR code with any given image inside, like so or better like this, using either pstricks or the new qrcode package? Note that the QR-code must still work after including ...
3
votes
0answers
583 views

Problems with epstopdf: using .tif files in Latex does not work

I am writing my thesis in Latex and have multiple .tif pictures to include. Of course, I can convert them manually, but I would prefer to let Latex do this job to save time. I am trying to use the ...
3
votes
0answers
152 views

Synctex fails for input files. Related to fancyhdr + graphicx?

I have run into a problem with the synctex option of pdflatex that seems to be related to the fancyhdr and graphicx package. Problem: Forward and inverse search between editor and PDF viewer work ...
3
votes
0answers
60 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
166 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 I'...
3
votes
0answers
96 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 \usepackage{...
3
votes
0answers
61 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 ...
3
votes
0answers
57 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
268 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
51 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
147 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
107 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
161 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 ...
3
votes
0answers
122 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
225 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
637 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
1k 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
249 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
1k 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
734 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
2k 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 ...
2
votes
0answers
38 views

Image missing on different computer

I produce presentations with beamer using a custom style. A part of that style is my affiliation logo. However I found I have a problem, where the logo is missing when I send the pdf to a different ...
2
votes
0answers
18 views

Reversing order of graphics file extensions with `TikZscale`

I am using the tikzscale package and having trouble with the search order of different graphics files. Consider the following MWE: \documentclass{article} \usepackage{tikz} \usepackage{tikzscale} \...
2
votes
0answers
60 views

Moving a subsection directly under an image using wrapfigure, how to remove the white space

I have read and tried solutions from various answers, but I haven't reached a solution to my problem; In my document I have an image on the left side, and an equation right next to the image on the ...
2
votes
0answers
45 views

Crop images - OK for png - NOT OK for jpg

In my .tex file I use heavily images that are usually cropped. They way I do this is like the following example: \includegraphics[trim=52mm 20mm 30mm 10mm, clip=true, height=0.7 \textwidth]{img.png} ...
2
votes
0answers
66 views

shadow in the picture

I try to put a drop shadow on a picture, so that it looks like it is sunk in the background. I only find ways to make a drop shadow on the background, so that it looks like the picture is on top of it....