9
votes
1answer
58 views

Other methods to determine the page size of an external pdf?

I would like to query the page size of an external PDF in a document. I can box an included PDF and measure the box (with or without actually using the box), as shown in the MWE, but I'm wondering if ...
3
votes
1answer
57 views

Scanned PDF inclusion problem with XeTeX driver

I have this specific problem about inclusion of my scanned PDF pages with existing LaTeX document. I use an iPad application Scanner Pro to scan and create PDF copies of my hand-written notes. Then I ...
3
votes
1answer
70 views

Import pdf with white background

I have a beamer presentation where the text is in white and the background is black. For some frames I would like to import some pdfs but have them exactly as they are normally. That is all the white ...
1
vote
1answer
61 views

create pdf figures from pdf_tex and pdf files

I am writing an academic article and I saved all my figures in svg format. Then I converted (after a few cosmetic stuffs) it to pdf_tex/pdf so that they fit the paper . The problem is that my editor ...
1
vote
1answer
104 views

DVItoPDF gives an error

I have previously compiled my tex file with images, and everything worked alright. Lastly, I have changed only the text in my tex file and when compiling the pdf I received in error of DVItoPDF due to ...
0
votes
0answers
41 views

Why does the beamer banner appear slightly lighter on any frame that has a pdf figure in it?

I'm using beamer, with Warsaw theme, to prepare a talk. When I include a pdf graphic in a frame, the banners - both head and foot - in that frame are noticeably lighter than all the other frames. This ...
2
votes
1answer
69 views

Included PDF line width

I've an image I made with Inkscape and exported to PDF that I want to include in my document. However, there is one annoying thing: The line width (e.g. the border width of a rectangle) depends on the ...
5
votes
1answer
169 views

Interactive (hoverable) 2D plots in PDF

It seems that embedding 3D plots in PDFs has been around for a few years now (misc3d, for example, and Asymptote), as well as interactive features such as fancy-preview and optional content groups ...
0
votes
1answer
114 views

Best practices for using MATLAB images in LaTeX?

I am writing a paper currently using PDFTEX, and I make heavy use of MATLAB figures. The problem is that when I make a MATLAB figure, I can adjust it to any size, before saving it. When I save it, I ...
1
vote
0answers
59 views

How can I reduce the size of figures and/or the size of the final PDF document? [duplicate]

I usually include .pdf figures (vector graphics) in LaTeX files. The problem is that when I compile everything, the resulting file, which also has .pdf extension, is too large. The size of the final ...
1
vote
0answers
77 views

Print screen img - png/eps loses quality with no scaling

I am trying to include image to LaTeX, but I loose quality. It is a print-screen with image and little bit of text and it looks awful after the conversion to PDF. I guess that DPI of the image is ...
0
votes
0answers
57 views

Image link clickable in non-white areas (excluding the background)

Consider image sample below. I'm including it using \includegraphics and I have linked it to an url using \href. What I would like is to have it in the pdf file in such a way that the mouse would ...
1
vote
0answers
77 views

Avoiding compression artifacts when displaying results of image processing experiments

I'm creating a latex document in which I display results of some image processing experiments. In particular, I'm displaying a black and white image which has been blurred (artifically) and then had ...
5
votes
0answers
80 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) ...
11
votes
1answer
70 views

Inline purified PostScript (MPS)

I just learned how to inline PDF code using the \pdfliteral command and that purified Encapsulated PostScript generated by METAPOST or purifyeps can be converted to PDF code by pdfLaTeX. However, I ...
8
votes
2answers
154 views

Include PDF via \pdfliteral

The pdfinlimg package and perl script allow to include ("binary") images directly into the LaTeX source code via the \pdfliteral command. For example, \documentclass[margin=1cm]{standalone} ...
1
vote
0answers
79 views

Error with pdf image and texstudio [closed]

I'm writing a .tex file with texstudio. In the tex there are some pdf figures. When i compile it the pdf viewer of texstudio shows me this: . while if i open the compiled pdf with another program, i ...
0
votes
1answer
70 views

Two graph - same page? (R/LaTeX)

I am using R to create my graph, and I am doing a paper, where I have to put two graph, as showed in the image: In R, my output looks like: y1 <- c(6524, 6701, 6946, 7080, 6920, 6887, 6660, ...
3
votes
1answer
214 views

Metrics of natwidth parameter in includegraphics when dealing with PDF

I need to get the .bbl file from the .bib and so need to compile the .tex in LaTex, but I have included PDF graphics which can be compiled in LaTex using natwidth, natheight params. \begin{figure} ...
4
votes
1answer
124 views

How to provide alternative grayscale images in pdf?

Is it possible to provide different versions of an image/figure, and have the pdf viewer choose which one is the best at viewing time? I would like to have a color image on screen and on color ...
1
vote
0answers
59 views

Intensity and contrast of black text [closed]

I noticed that the black color of the text in some PDF documents (especially products with InDesign) is more or less intense. Some PDF documents produced by TeX / LaTeX have different shades of ...
3
votes
0answers
107 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. ...
40
votes
2answers
444 views

producing embossed tactile graphics with Tikz for a student who is blind

I work at disability services at a university and recently started working with a student who is blind in upper level computer theory, automaton, and programming classes. I learned LaTeX about 3-4 ...
6
votes
0answers
102 views

Postscript, EPS and PSTricks: what are the differences at this conditions? [closed]

The program that I use as an editor for vector based images is able to export using the following standards: Postscript 2 and 3 ( .ps ) PSTricks macro written in Latex ( .tex ) Eps ( .eps ) SVG ( ...
3
votes
1answer
425 views

How do I get rid of the white space around included graphics? [duplicate]

I know that my question may be a duplicate, but I couldn't find a solution that worked for me elsewhere on the site. Here is the MWE : \documentclass[12pt]{article} \usepackage{graphicx} ...
3
votes
2answers
542 views

Pandoc-generated PDF contains large images, how can I make them fit into the page?

I am using pandoc to generate pdf output out of my markdown code. So far, it works fine without any warning or error, except the fact that figures are large, so that some figures get cut and don't fit ...
3
votes
0answers
392 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
1answer
93 views

PDF files included with `includegraphics` and `pdfpages` don't show some pdf elements

The problem is that if I make comments, text boxes, lines, etc. with a PDF viewer-editor like, in my case, PDF Exchange Viewer, in a PDF image to be included any of that ways, that marks don't show in ...
2
votes
0answers
239 views

Embedding PDF while rewriting fonts in Latex

I have some PDF-files which I embed as graphic-objects into my latex-project. Those PDFs come from different sources. One I created in Powerpoint myself, then exported to PDF to make it vectorized and ...
61
votes
3answers
2k views

Is the filename of an image preserved in the final PDF?

Yes or no questions are pretty rare here now that I think of it. My question is simply this: When producing a PDF file with pdflatex or lualatex, is the original filename of an \includegraphics ...
2
votes
1answer
300 views

Inserting .pdf created in Visio to LaTeX without whitespace [duplicate]

Introduction: I recently created a load of figures in Microsoft Visio. These figures looks great, however, are stored in the .png format. I am interested in raising the picture quality. Method: I am ...
2
votes
1answer
116 views

How to scale images when imported as .tex files

I have quite a few diagrams created by Gnu Octave/MathLab which I need to include in a document. Octave can create several different outputs, but its PDF output is not really that nice as it has a lot ...
5
votes
0answers
269 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? ...
0
votes
1answer
101 views

Error using \tikzexternalize and different graphical inputs

How can this issue be stated more precicely and finally solved? Having a large document and using \input{...} within figure enviorement for including gaphics by tikz and pdf's, png's. Each figure ...
6
votes
0answers
204 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 ...
0
votes
1answer
37 views

Insert an image in LaTeX and create a pdf using: pdflatex file.tex

An image is (attempted to be) inserted using the following script in file.tex: \begin{figure} \includegraphics{/rdata/report/images/buckets.data.csv.png} \end{figure} Running the following code, ...
2
votes
0answers
33 views

Importing A pdf Image [duplicate]

I have an image saved as a pdf file, and I would like to include this image in one of my latex documents. In the preamble of m document, I included \usepackage{pdfpages}; and here is the formatting I ...
6
votes
1answer
180 views

Embed image data (png or pdf) inside tex document [duplicate]

Is there a way to include (or "inline") raw image data or pdf data inside the tex document itself, such that it becomes stand-alone? Something like this: ...
1
vote
1answer
122 views

How to modify imported pdf graphics? [closed]

Is it possible to modify the thickness of lines in an imported pdf image using latex? P.S. I have plots (vector graphics) in pdf format. I import them in latex and zoom into sum parts using tikz ...
1
vote
1answer
232 views

knitr generated pdf cut border off from figure

I have a a problem with a figure that is correctly generated in RStudio but when knitted its right margin is not set correctly. Please consider the following MWE \documentclass[a4papera4paper, ...
5
votes
1answer
76 views

Conditional expression to convert figure to table. Is it possible?

I have a though one for you: I'm writing in MultiMarkdown and all my figures, tables, charts are usually pictures. This allows me to write something like this: The MultiMarkdown input ![This is the ...
1
vote
0answers
50 views

Possibility to show notes on included PDF pages

I include pages from an pdf in my document: \includegraphics[page=4, clip, width=\textwidth, keepaspectratio]{graphics/lorem.pdf} However, if I make notes in the PDF (i.e. used Skim, exported to ...
8
votes
3answers
531 views

Include figure from PDF file

I want to include a figure from another PDF. There is the quick way, where I take a screen shot, save as my desired format and the \includegraphics[scale=xx]{<file path>} but this is messing up ...
1
vote
0answers
402 views

pdflatex \includegraphics changes the font

I've a EPS figure file (and the same as a PDF after "ps2pdf -dEPSCrop") created from a Matlab figure. It contains some text annotations, including a Greek delta ($\Delta$). In GhostView this EPS ...
0
votes
0answers
117 views

Disappearing text in pdf image?

I want to insert a pdf image of a graph into a LaTeX document and rotate it by 90 degrees. The image is below: To do this, I'm using the following code: \begin{figure}[t] ...
3
votes
1answer
672 views

pdflatex, dvips: cannot determine size of graphic in … (no Bound ingBox)

I know that there are threads related to this, but it is really painful... I would like to insert images saved from a tool into latex. The images could be saved in any format of the followings: PNG, ...
4
votes
1answer
144 views

XeTeX (xdvipdfmx) Option to reduce all graphics to 300dpi

I am preparing a Document to be downloadable from the web. The original file has some really high resolution images included (png result images, some >1200dpi), so the original file is 23 MB. Using a ...
1
vote
0answers
199 views

Compressing with Ghostscript - transparency turns cyan

I'm about to finish my paper on fractals, and because fractals can get very detailed I'm including a lot of EPS files at high DPI and lots of pictures... And that way the 40 pages long PDF is nearly ...
3
votes
1answer
270 views

Low quality in tex->dvi->ps->pdf

I took a screenshot an then saved as EPS using photoshop. This EPS looks well as it's original source. I use the following code to insert the image: \begin{figure}[H]\begin{center} \centering ...
1
vote
1answer
117 views

Automatic PDF generation, image scaling

I am currently working with GitHub's wiki and I have markdown pages in the wiki that I would like to convert to PDF files. I have a script that uses Kramdown, bash/sed/grep and custom HTML tags for ...