Tagged Questions

{pdf} is specifically about the PDF file format. If your question is about producing PDF output, choose an appropriate tag such as {pdftex} or {ps2pdf}. If your question concerns PDF reader software, also use {viewer} or a reader specific tag such as {acrobat}, {evince} or {okular}.

learn more… | top users | synonyms

11
votes
1answer
85 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 ...
1
vote
1answer
195 views

Problem with \psshadowbox [duplicate]

Why doesn't this work? I think I've got all the packeges I need, and I've copied it from http://tug.org/pracjourn/2008-3/morales/morales.pdf. \documentclass[landscape,a0paper,final]{a0poster} ...
1
vote
2answers
673 views

How to change the setting of WinEdt to open all newly generated PDF files in another PDF reader?

I am using WinEdt 6.0 software for my regular latex typesetting. The operating system is windows 8. There are several PDF viewers in my computer. Default PDF viewer is Foxit Reader. So a newly ...
8
votes
2answers
229 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} ...
2
votes
1answer
43 views

Change how hyperlinks are displayed

By using \usepackage{varioref} \usepackage{hyperref} \usepackage{cleveref} one automatically gets hyperlinks in a red box or a green box . Is it possible to change this? For example instead of ...
2
votes
1answer
59 views

Error with using \pdfpxdimen: “Undefined control sequence”

I am trying to change the DPI of the output PDF using \pdfpxdimen in the preamble, but it returns an error: "! Undefined control sequence \pdfpxdimen". I guess that is because I am using XeLaTeX ...
1
vote
1answer
201 views

How to add SyncTex support for evince (or Okular) and LaTeXing for forward and backward navigation between source and pdf

I'm currently using LaTeXing in sublime text 3. Unfortunately I couldn't find a proper solution for enabling forward and backward synctex between source and pdf. The LaTeXing uses evince (on Linux). ...
19
votes
4answers
397 views

Two pdf versions from one single .TEX file?

I publish a lot for science journals and some of them are very strict on the number of pages your manuscript will be, as usual the final version of the articles is double column but for review and ...
1
vote
0answers
129 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 ...
4
votes
1answer
43 views

How to save a figure with multiple sub floats to a single pdf file

How to save a figure with multiple sub floats to a single pdf file. Here is the code: \documentclass[12pt]{article} \usepackage[percent]{overpic} \begin{document} \begin{figure}\centering ...
4
votes
1answer
85 views

What are hyperref’s PDF bookmarks and how do I use them?

I have very often met the Package hyperref Warning: Token not allowed in a PDF string. Being fed up about it and curious to know what it meant, I was about to ask the n-th duplicate of that questions. ...
0
votes
1answer
99 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, ...
2
votes
0answers
281 views

XeLaTeX Ghostscript call for EPS to PDF conversion failing

Updated with properly minimalistic example.. I've been wrestling with this for a while now. I had a setup using pdfLaTeX with epstopdf that works nicely, but I need mathspec so I've moved to XeLaTeX. ...
3
votes
2answers
571 views

T1 Encoding causing bad PDF quality? [duplicate]

I recently noticed that some of the papers I've listed on my homepage look a lot sharper than others when rendered in a PDF viewer. Curious about this, I tracked it down to this import: ...
1
vote
1answer
108 views

How can I avoid blank spaces when I insert a pdf figure?

in the following piece of latex code, I would like to place a pdf figure called sharpideq2 at page 1 among the text rows, avoiding blank space. What I get instead is the figure placed alone in the ...
3
votes
1answer
31 views

how to print the heading from my appendix on the first page of an inserted pdf file

I have an appendix in my document but it only consists of a large pdf file. When I do it in the following way, I get my title from the Appendix at the end of the previous page or on a new page, but ...
1
vote
0answers
29 views

embedded pdf inside original pdf

Is it possible to embed or show a pdf inside a main pdf. Suppose user click on "Address" - is there a way to popup another pdf showing the detailed address from which the user can copy.
1
vote
0answers
162 views

Why do fonts look thinner in adobe and different and richer in sumatra pdf [closed]

Same question posted on other portal : Why do fonts look thinner in adobe and different and richer in sumatra pdf. Sumatra Adobe Adobe reader settings:
0
votes
1answer
73 views

How do I get rid of vim-latex's output from PDF viewing?

I use vim with VIM-LaTeX. I can use \ll to compile and \lv to view. I've set the following options in my .vimrc file: let g:tex_flavor='latex' let g:Tex_DefaultTargetFormat='pdf' When I type \lv, ...
7
votes
2answers
236 views

Randomly assign color to background in the PDF whenever page is turned

Is it possible to change the background color of a Beamer presentation in the PDF in such way, that whenever I switch a page, the color is switched as well? Note that I do not seek a solution to ...
1
vote
0answers
299 views

How do I make it so that pdf outputs open in a maximized screen?

I'm using a recent version of MikTeX and my pdf outputs open in a window not maximized. This is quite annoying. How can I make it so that they open in Adobe reader in a maximized window? Please ...
11
votes
1answer
284 views

How to produce unicode copyable alternative text? (with accsupp)

In the following example, I can't manage to make accsupp store the unicode alternative text. The resulting PDF looks as expected but the copyable text is not the correct one. I tried this with ...
1
vote
0answers
21 views

Why might I not want to set naturalnames and hypertexnames both equal to false in hyperref?

I know from these questions that you can solve a lot of internal linking problems in your PDF by setting naturalnames and hypertexnames both equal to false (naturalnames being set to false by ...
5
votes
1answer
55 views

pdftooltip color assign

How can we assign a color for the pdftooltip ? For example I want the text CD to be blue. How can I get the color of my choice in RGB? \documentclass{article} \usepackage{pdfcomment}% ...
2
votes
0answers
472 views

Problem with converting from lyx file to PDF

I'm trying to convert from latex to PDF but whenever i hit CTRL+R, a message appears that reads: File does not exist: C:/Users/name/AppData/Local/Temp/lyx_tmpdir.Hp6680/lyx_tmpbuf2/assignment1.pdf ...
3
votes
1answer
156 views

Do not count appendix with total page count

When you open a PDF file made by TeX, you usually have some means of telling what the total page count is in the client GUI. I want to modify this page count such that the appendices is not counted ...
3
votes
1answer
416 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} ...
3
votes
0answers
163 views

How to automatically optimize the PDF output of TiKZ externalize?

I use pgfplots with externalization for generating plots in my document. For heavy plots the output PDF for a figure can grow to few hundred KB. I used Adobe Acrobat to optimize the PDFs which ...
0
votes
0answers
231 views

How to batch convert PS to PDF without leaving windows open?

I am new to TexShop and new to this forum so please forgive me if the question is dumb. I need to convert about 13,800 postscript files to PDF. TexShop can do it but the only ways I know how means ...
1
vote
0answers
63 views

Remove off-page vertices in PDF [closed]

I have asked a similar question before, but this time my goal is different: I have a PDF containing blueprints on a single page. There object it depicts is drawn a couple of times: from the side, ...
1
vote
2answers
102 views

Font problem when editing TeX produced pdf in external software [closed]

When I try to import TeX/LaTeX produced pdf code in Inkscape, then I loose a lot of the interletter and interword spacing, almost all interword spacing is shown wrong, the exponents are not at their ...
6
votes
1answer
193 views

Break in square root line

I'm having a problem where the line that runs the top length of my square root sign is discontinuous. \begin{equation} N_t(\text{V})=\sqrt{\sum_{i=0}^{n}N_i^2} \end{equation} Yields this... ...
5
votes
0answers
124 views

How can I create a show/hide button?

I would like to create a show/hide button that appears on a typeset PDF so that when it is clicked, the content appears. This is similar to the ideas here: Hide all but one instances of a custom ...
7
votes
1answer
189 views

Implementing full-page Screen-Only & Print-Only in PDF

I am interested in displaying some things (e.g.: title page) in full color on screen, while having the same object/page display in a black and white friendly form when printed. According to this SO ...
0
votes
0answers
81 views

Text font thinner on pages with pictures

I have a problem with font thickness on pages containing heavy pictures, the font looks slightly thinner than usual (see the example). Does anyone know how to solve this? FYI: I use TeXShop to ...
5
votes
1answer
235 views

PDF inverse search in acrobat revisited

I've found this question about impossibility of inverse search with acrobat, but it is from 2012 so I decided to post in case there is some update. Does anybody know if situation has changed in any ...
1
vote
1answer
165 views

Make table of contents appear on a PDF index

I want the entries for my table of contents at the beginning of my document to appear in the PDF index, for a PDF generated with pdflatex. Currently only my \chapter entries appear there, and adding ...
2
votes
0answers
39 views

How to enable security in LaTeX using pdflatex 1.40.14 [duplicate]

I want to disable copy/write/edit ... option in my .pdf document. I don't want the document to be password protected ... I am using LaTeX to produce the document. Here is the shapshot of the ...
3
votes
1answer
71 views

pdftitle and such ignored if specified after \maketitle with report and book classes, not with article class

The following MWE shows that, with report (and book) class, PDF information entries such as pdftitle specified thanks to \hypersetup are ignored if they are inserted after \maketitle (and not ignored ...
7
votes
1answer
189 views

How do I make pdfcrop output all pages of the same size?

I am trying to crop a powerpoint animation that I converted to pdf for import into beamer (using ppsplit), but when I run pdfcrop (from texlive) to reduce the whitespace, it crops the pages ...
4
votes
1answer
147 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 ...
7
votes
2answers
199 views

Invisible markers in PDFs using pdflatex

I'm using latexdiff to show changes that I make in a large text (200+ pages). Most of my changes affect only a few pages though, so I don't want my readers to sift through 200 pages looking for the ...
3
votes
2answers
779 views

Live-Preview of LaTeX on OSX

I use the following to live-preview my LaTeX files: latexmk -pvc -pdf my_file.tex However, in OS X, Preview only updates when you bring it into focus (e.g. you click on the the window). In many ...
2
votes
0answers
65 views

Copying latex from scanned book [duplicate]

Suppose I have a scanned book with equations, is there a convenient way to obtain latex that reproduces them?
1
vote
0answers
35 views

obfuscate latex->pdf document [duplicate]

Is there any package that can easily allow you to obfuscate a Latex->PDF generated document such that copy-paste is not longer possible and produces random letters for instance. And if yes, is it ...
9
votes
1answer
55 views

Protect footnotemarks from selection in pdf

Inspired by this question i used accsupp to protect the headers of my pdf from being copied which works nicely so far. I tried to do the same thing for the footnotemarks which hasn't worked so far. ...
3
votes
0answers
68 views

text wrapping around an image across several A4 sheets

I am doing a project that intends to cover a wall with the words of a book. It will consist of 84 sheets of A4 paper, (cut to remove the margin), with six columns on each sheet. The text is printed in ...
1
vote
0answers
73 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
150 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. ...
3
votes
1answer
776 views

Vertical orientation landscape page in a PDF output file

I'm using the lscape environment to produce landscape pages in my LaTeX document for pages that have large figures or tables, so that my page numbering is in the right place when it comes to printing ...