# Questions tagged [pdf]

{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}.

1,913 questions
29 views

I have this table: \documentclass{article} \usepackage[T1]{fontenc} \usepackage{array} \textwidth 15cm \textheight 22cm \parindent 10pt \...
28 views

### extract two 2 A5 pages from 1 A4 page

I have a pdf with 14 A4 (Landscape) pages, each of which consists of 2 A5 (Portrait) pages. I need to print this for an old lady whose sight is somewhat impaired. So I need to enlarge the text so that,...
34 views

### How to make 'Form' fields in line with other text

I used the second answer (by Christian Lindig) to this question to make my own fillable PDF form. I edited it slightly to suit my needs. I tried to make a MWE: \documentclass[11pt]{article} \...
41 views

### Bibtex & formatting CSL title

I found a way to use pandoc-citeproc to create a PDF from a markdown file with references in Bibtex and citation with footnote-like references using an edited ieee.csl file. I used miscand put the (...
149 views

### PDF vs. PNG figure: why does figure load so much faster even if file sizes are the same?

I have some figures I'm making that consist of tens of thousands of points. The PDF version of one of these figures is 1.1 MB, while the PNG version is 1.3 MB (both figures generated with the ...
72 views

### Fastest way to have JPEG pictures into a PDF document? [duplicate]

What would be the fastest way to have JPEG pictures into a PDF document? I consider include graphics. Ideally, it would be great if a package could read the file content of a given directory, and ...
44 views

### Why TexStudio convert my .eps images to .pdf? Can I avoid that?

When I build my pdf presentation with texstudio it uses epstopfd and convert all my eps images to .pdf, keeping the originals. My img folder duplicate the size beacause of that. Can I avoid that ...
139 views

### Avoid that star symbol is searchable with questionmark “?”

Given the following minimal example: \documentclass{article} \begin{document} $a \star b$. \end{document} This produces the desired output in the PDF file. However, my problem is that if I search ...
26 views

### Render/export latex into non-paper-oriented formats

I use Latex very much and I generate many PDF files. I love the output quality. However I almost never print these PDF files, I always read them from the computer. Thus I find it nonsense to have the ...
88 views

### Remove PDF restrictions [closed]

I am using Texstudio to write my thesis. But the resulting pdf has Document Assembly and Page Extraction restrictions. How can I remove these two restrictions?
153 views

### Textmaker does not generate a PDF file? [duplicate]

I have compiled so many source codes files in latex and it works perfectly. I downloaded another template and run but my texmaker could not generate the pdf of that file. Although I have tried this ...
32 views

### Set different PDF page box on odd and even pages

How can I globally set different PDF page boxes on odd and even pages? I tried using the everypage package but it does not seem to actually insert the PDF page box into the current page object. I ...
184 views

### Are Knuth's fonts searchable in pdf yet?

Donald Knuth at the Desktop Publishing Pioneers meeting laments that converting to pdf using his fonts yields pdf files without searchable text. Is this fixed yet? https://youtu.be/WVRMPihnZZM?t=4363
26 views

### Extract a table-float from a TeX-typeset PDF?

I have this article which was near-certainly created with LaTeX. One of its floats is a table, and I would like to extract it from the PDF, i.e. obtain a PDF with just that figure (excluding the ...
26 views

### How can I use toc entries containing spaces for external URL anchors?

When the hyperref package is used, it creates nice anchors that can be used as part of a URL to get to specific locations in the generated PDF file. \documentclass {book} \usepackage{hyperref} \...
184 views

### Automatically compile several .tex files to pdf

I have several .tex files in different folders. The files are named: name10.tex, name20.tex, ..., name200.tex and the folders: 10, 20, ..., 200, i.e. file name25.tex is in folder 25 and file name60....
39 views

### Zapf dingbats for use with pdftex option to hyperref package?

I'm trying to use pdflatex to process the ex0001.tex example file that comes with the pdf-forms-tutorial (https://ctan.org/tex-archive/info/pdf-forms-tutorial?lang=en). I hit the fatal error: ...
38 views

### I want to add 12 pictures in one page without entering the writing between pictures

\begin{figure}[!htb] \minipage{0.32\textwidth} \includegraphics[width=\linewidth]{0000.png} \caption*{(a)} \endminipage\hfill \minipage{0.32\textwidth} \includegraphics[width=\linewidth]{11.png} \...
35 views

### How to insert a TeX(LaTeX)-formatted block inside a pdf-file, enlarging the page in which this block in inserted?

I have a pdf file with no source code. (Possibly generated from a series of scans with no OCR or some WYSIWYG text processor, or even drawn in Gimp.) Clarification: The pages are not necessary image-...
31 views

### PDF converted from EPS output directory

How can I change the output directory of PDF figures converted from a EPS file? I have a output folder for my auxiliary files that are made on compile of the document, but figures in the format of EPS ...
13 views

### How can I include multiple graphics from the same pdf in my beamer? [duplicate]

I usually use \begin{figure} \includegraphics{figure.pdf} \end{figure} To include a figure that is in a one-page .pdf file into my beamer presentation. Now I have a pdf with multiple pages. On ...
16 views

### Dashed lines in pdf-figures turn out as solid lines when printed

I just stumbled into an unexpected problem. I included something like the following in my tex-file to show a graphic that includes one dashed line: \begin{figure}[htbp] \centering \...
36 views

### Must PDF always eat source code indentation? [duplicate]

The packages listings and minted present source code inline. My publication target is PDF. From my own documents as well as from the documentation for those two packages, copying and pasting the ...
28 views

### Plotting empirical pdf plot using pgfplots?

I would like to plot an empirical density plot (pdf), of a column of data that I have. The example I am going after, looks like this: just without all the white lines in the background. However, I am ...
64 views

### Arial appearing incorrectly in the built-in PDF viewer in Texmaker

I am using XeLaTeX with TeX Live 2019 in Windows 8.1 (64 Bit). Arial appears incorrectly in the built-in PDF viewer - when I compile the document with XeLaTeX in Texmaker and click on "View PDF" the ...
67 views

### \includepdf command disappear the pdf's transparency information?

I have a pdf which has some transparent graphics and words. Like this:(of course it had more words ) then I use \includepdf command to insert this to a latex project . \documentclass[10pt,a4paper]{...
96 views

### Reducing the document preparation time with lualatex [closed]

I am trying to render a document that is around 2300 pages from a JSON file using lualatex. It takes around 32 seconds to create a document. The document is a series of tables and paragraphs. I think ...
21 views

### pdfbookmark redefine name only for pdf navigation tree

I want to have all my entries in the document TOC as small caps. I am using classicthesis which defines section headings to use small caps and uses \MakeTextLowercase. there is only one "Special ...
57 views

### Why does xelatex produce a different binary of the pdf each time? [duplicate]

This is doc.tex \documentclass{article} \begin{document} a \end{document} Then I xelatex doc.tex and md5 doc.pdf, so I get a unique md5 code. If I run xelatex again on the same tex file it produces ...
53 views

### scale entire document

Is there a simple way to scale the dimensions of my entire document? I'm trying to make a A0 sized poster, but I'm finding it is much easier to work with an A4 size document, since that way I don't ...
51 views

### Markdown and bibtex to PDF with numbered references

I have a markdown file with resources in a bibtex file that I compile to a PDF. Is it possible to make the citelinks as numbers (footnote style) instead of e.g. (Jia et al. 2013)? I have seen ...
128 views

In the file below: \documentclass{report} \usepackage{tikz} \begin{document} This is a test. \end{document} commenting and uncommenting the {tikz} entry changes the PDF file produced. Since tikz ...
43 views

### Include and edit a pdf in LaTeX-Beamer

I want to include an excerpt of a pdf-document in my Beamer-presentation. Furthermore, I want to highlight a part of this document, i.e. draw a red rectangle around it, maybe even have an arrow point ...
26 views

### Beamer background does not match pdf background when including pdf as image

I want to include some pdfs in my Latex beamer presentation like so: \begin{figure} \includegraphics[]{./path/to/image.pdf} \end{figure} Unfortunetaly there is a clear change in color between ...
32 views

### Insert Fullscreen PDF rotated 90°

I have a PDF in landscape and would like to add it to my thesis just as it is in the picture below. It needs to be on the fullpage and I would like to add the caption directly in the middle over the ...
124 views

### How to include PNG (or PDF) and EPS Files in LaTeX (Overleaf)?

I need to include both types of these files in my document (and definitely need EPS as I'm importing organic mechanisms), but I can't seem to find anything that works. As such, I'm on the setting ...
51 views

### ∞ symbol in external pdf disappears when used as figure

I'm trying to embed an external pdf as a figure in some latex. However, there is an ∞ symbol in the external pdf that always disappears. How do I resolve this? Included pdf Latex code: \...
31 views

Running PDFTeXify in MiKTeX Revision 2.9.6809 I sometimes get this warning about PDF versions. pdfTeX warning: pdflatex.exe (file ./Plato.pdf): PDF inclusion: found PDF version <1.6>, but at ...
46 views

### Wrong path error message with pdf xchange editor after build and view

I have the following problem with my PDF viewer giving me errors when I want to build and view my Latex output directly. Weird thing is, that my configuration has worked in the past without issues. I'...
20 views

### adding tables of a PDF that was added using \includepdf into the main list of tables

I am using a latex document which defines a new command as follows \newcommand{\includearticle}[2][] { \cleartorecto \def \ps@default { \let \@mkboth\@gobbletwo ...
29 views

### Incorrect section title in PDF outline when cref is used in section title

I have the following MWE: \documentclass{article} \usepackage{hyperref} \usepackage{cleveref} \begin{document} \begin{enumerate} \item\label{item:45} An item \end{enumerate} \section{About \...
34 views

### Page is empty and I can see only titles

I dont know what happened I can see only the titles i.e "List of Tables" and "Contents" and the rest of the page is empty. Here is the list of packages I used in my code to write thesis. Comments will ...
40 views

### Thin Lines from PDF Figure in Latex get thicker when exported to final PDF [duplicate]

To have the best quality of figures in my document I'm using pdf images. But it seems that when the pdf images have very thin and/or transparent lines the final figure in the pdf gets messy, basically ...
416 views

### PDF generation from Latex output (generated by doxygen) does not output function documentation when @param is used

I am trying to generate pdf from LaTeX. LaTeX output is generated using Doxygen. I see that the the pdf is gets generated but the function documentation is missing. I narrowed it down to usage of @...
118 views

### Big book (328 pages), XeLaTeX compilation: OK with TeXLive 2017, KO with TL 2018, OK with only 100 pages

Since TeXLive 2018, my books (all of them, not a special one) compile (XeLaTeX) without special errors, the PDF file display correctly with Acrobat Reader, but with Evince or Xpdf the answer is “the ...
189 views

### Pandoc font family not changing

I tried to set the font family to Source Sans Pro, but pandoc gives me the following error: pdfTeX error (font expansion): auto expansion is only possible with scalable fonts. \AtBegShi@Output ......
71 views

### Failed to load PDF - TexWorks

I am trying to export my tex file to a PDF but it is not working. When I open TeXworks (under pdfLaTeX) and hit the green run button, it opens a window and displays my pdf correctly. However, when I ...
31 views

### Control PDF file folder & filename output by global variable

I use LaTeX with Texmaker. Is output PDF always in same folder with main.tex? I have Arrayvariable.tex: %Client Name \def\ClientNames{{"VarA"}} main.tex: \pgfmathsetmacro{\ClientNamesNull}{\...