# 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,861 questions
0answers
13 views

### Inverted colors for TexMaker built-in PDF viewer

I'd like to invert colors of TexMaker built-in PDF viewer. I believe there's no option in the user interface for this. Has anyone ever done this? I'm aware of solutions such as generating the PDF ...
0answers
14 views

### How to hide the pages in the table of content in a PDF [on hold]

:) I have created a PDF from a Word document and ensured to get a table of content in word so I can use it in a PDF. The problem rises when the PDF are ready, and the left side shows the table of ...
1answer
174 views

### Convert DVI into PDF properly

For viewing my work when I'm programming LaTeX, I decided to use the DVI format. The reason is that the result is perfect compare to the PDF. For example, the borders of tabulars appear perfeclty ...
0answers
22 views

### fontawesome icons too big using XeLaTeX

I have the exact same problem as this from 5 years ago: fontawesome icons are getting too big using XeLaTeX, but as I have no reputation I can't comment on the post so need to ask as a new question - ...
0answers
40 views

### Latex PDF encoding issue

I've generated a PDF using summatraPDF. the code was written using algorithmicx and algpseudocode. THe problem arises when i try to read the PDF using some java code(PDFBOX). whenever the code gets to ...
0answers
30 views

### Question Refresh: Is anybody using TeX for business reporting?

I note this question has already been asked about 8 years ago: Is anybody using TeX for business reporting? So I figured it might be time for a refresher... My needs are similar to the ones the ...
1answer
14 views

### How to fit and insert PDF onto a page with a subsection?

So i tried this: \documentclass[11pt]{article} \usepackage[utf8]{inputenc} \usepackage[german]{babel} \usepackage{setspace} \usepackage{graphicx} \usepackage{float} \usepackage{pdfpages} \begin{...
0answers
38 views

### Can LaTeX embed PDF into the QR code too?

In this package, where strings, or texts are embedded into QR code. I recently learned that we can also include PDF into a QR code. Many online site does not provide this service for free. I am ...
0answers
72 views

### Texstudio doesn't create pdf from .tex

I am very new with latex and texstudio. I have created a latex document, I have compiled it without any problems and It works and It showed the output pdf. I unfortunately decided to move it in ...
1answer
109 views

### Algorithm pseudocode in markdown

I am writing a project report in markdown. Use LaTeX inside the markdown to write formulas. Then I convert the markdown file to PDF with pandoc. All works like a charm. But, I would like to include ...
1answer
46 views

### “\pageref” produces wrong page number. It's time to argue!

I know this can be considered as duplicate question. I'm not here to find solution for it. I asked this question just to argue about reliability of pageref. I mean, why this malfunctioning happens so ...
1answer
17 views

### path to image is also plotted in pdf

I have the following problem: If I export the tex file to pdf, I get the figure but also the path written above it. How can I avoid this ? \documentclass{article}% \usepackage[T1]{fontenc}% ...
1answer
40 views

### Multiple Page PDF Export Issue With pylatex

Multiple page issue: I am trying to export a multiple page pdf and there seems to be an error. I cannot find the source... I suppose that it is because of the text " âchemical exchangeâ " where non ...
2answers
104 views

### Get the .tex source of a PDF file (generated from TeX) [duplicate]

I have a PDF file (example), which was generated from TeX. Is it possible to convert into a tex file, or obtain the .tex source? Thanks
0answers
64 views

### When I try to print my LaTex PDF from a PDF viewer, it prints the source [closed]

I'm on Ubuntu 16.04. I compile the document with TexStudio, open it with Okular, Document Viewer, etc., document looks great, but when I print it from the PDF viewer I'm using (Okular, Document Viewer,...
0answers
39 views

### Can't view pdf after compiling

EDIT: I solved this by replacing 'figure' with 'figure*'. Thank you all for your input. I'm using Texmaker and MiKTeX on Windows 10. The file compiles without any issues but the pdf isn't available. ...
0answers
17 views

### Automatically generate citations inside external PDF Figure

I have a massive and complex table that I am designing in an external vector tool and that I import as a PDF figure using \includegraphics. This table has >100 citations in it, and at the moment I ...
0answers
38 views

### Create PDF emergent boxes

I don't even know if this is supported by the PDF format, but is it possible to create something like what is in this image? I mean, something that it is not a link but when you hover the mouse over (...
1answer
26 views

### Viewing a separate PDF in Texmaker

I like the functionality where I can type my tex file and compile it and have it show up on the right, but would like if I could switch between viewing my compiled pdf and viewing a separate pdf (in ...
0answers
30 views

### Package xcolor Error: “Undefined colors when master (classicthesis 3.1) has PDF included” even though the PDF has been deleted from the document

I think this is a bug I've stumbled upon and it's driving me up the wall. Referring to this question, I've got the same setup: Package xcolor Error: Undefined colors “Maroon”/“Royal Blue” when master ...
1answer
57 views

### Saving an image containing labels produced using LaTeX code

For a paper I'm working on, I have a bunch of figures (pdf files) generated using Mathematica which I label using \put commands in LaTeX. However, I want to now save the labeled figures as pdf files. ...
0answers
18 views

### Sentences inline with bullet points will not copy correctly

this is my first document created using LaTex and I've been having some issues. This document is a resume so it is really important that all text be easily parsable for online application tracking ...
0answers
40 views

### Why isn't my output showing up?

I can view the output pdf file if it's from Latex->dvi->pdf but for some reason, it won't show me any figures or my updated title now. If I use latex->pdf, I don't get any pdf output. \documentclass{...
1answer
95 views

### eforms using a LaTeX (custom) font for text fields \textFont

I'm unable to use a LaTeX font (e.g., Augie) for text fields in a PDF form generated with eforms. I'm using MikTeX 2.9 on Windows 10. Acrobat Reader is choosing another font to display in its place (...
0answers
71 views

### PDF/A-1b compliance whilst embedding OTF files

As per this wikipedia article (see Fonts section), only pdf v1.6 and above is able to embed opentype fonts in the document. Now the problem is that, my institution requires pdf /A-1b compliance which ...
1answer
251 views

### Generate non-obfuscated binary content for PDF files

When I open a PDF file compiled from LaTeX with a text editor (e.g. Notepad++), the content of the file is a not human readable and it looks like below, so it seems to me that the information cannot ...
0answers
43 views

### PDF and PNG different in size

When I use different types of pictures (png and pdf) although defining them with same size, I get different sizes as can be seen in the following . Here are the packages and code I use: \begin{figure}...
1answer
39 views

### Find the page size in a PDF file using LaTeX

I sometimes use LaTeX in conjunction with pdfpages package to manipulate the pages of a PDF file (not necessarily created by LaTeX), operations like combining several pages into one, or changing the ...
0answers
16 views

### Hyperref tab order on PDF forms

I'm trying to set the tab order for fields in a PDF with hyperref, but I can't figure out how it works. I assumed it was the tabkey option (from the documentation). Here's my MWE in which I'd like a ...
0answers
32 views

### addtotoc writes heading on pdf - how do I get rid of it [duplicate]

I want to list an appendix on the table of contents. The appendix there shall be without number (chapter*). I got a quite nice workaround here, however, through addtotoc I get the heading written on ...
1answer
493 views

### How to embedded source code on-demand into PDF?

I wondered if its possible to embed source code of some software you are writing about into the PDF but not displayed by default. E.g. you have a long script I would be nice if the user/reader could ...
1answer
34 views

### Biblatex: bibliography force title to line break when needed

Hey I recently discovered a problem in my bibliography and I somehow can't solve it. Its appearing when the titles are too long, but its working with urls normally as you see in the 2nd example as ...
1answer
164 views

### How to reconvert a pdf to LaTeX [duplicate]

I have a really good book (.pdf) that i would like to take some code from there. I know that book was written with LaTeX, so my question is if there are any kind of way to take that .pdf and reconvert ...
0answers
40 views

### Margin problem with equation in .dvi file

I have a Latex file and I need a .dvi output file from that for final submission of my article. Until now, I use the PDF outputs but when I obtain a .dvi output, one of the equations get over the side ...
0answers
37 views

### Tikz fading not shown properly in some pdf viewers

When I use tikz fading options, something simple like this code: \usepackage{tikz} \usetikzlibrary{fadings} \tikz \filldraw[blue, rounded corners = 0.6mm, path fading = east] (0,0) rectangle (\...
1answer
114 views

### what top-level style should I use to mimic MSWord?

I am trying to devise a (possibly easy) way to replace our documentation system. Currently we are bound to two different and apparently irreconcilable systems: internally we use a wiki system based ...
0answers
48 views

### How to flatten or postprocess a Latex generated PDF to crop image outside of viewport? [closed]

I have a large PDF document that includes lot of complex figures. To build these figures I used the viewport feature of the \includeGraphics command from Graphics package extensively. I am aware that ...
0answers
72 views

### How can I produce s separate PDFs for each one of my floats, when their code isn't self-contained

I've written this document (say it's an article) with a bunch of float - figures and tables. Some of them are just \includegraphics, so the figure essentially exists outside as well inside the ...
1answer
442 views

### Can we change (La)TeX linebreaking character so that Word understands it?

Sometimes I need to send someone a .doc file of something I did using LaTeX. But when I copy+paste the PDF content generated by (La)TeX into Word the linebreaks are understood as paragraph characters (...
0answers
25 views

### Directly use pdf generated by tikzexternalize in latex

I'm using tikzexternalize to generate separate pdfs for each Tikz figure of a paper. In my preamble, I have: \pgfplotsset{compat=newest} \usetikzlibrary{pgfplots.groupplots} \usetikzlibrary{arrows} \...
0answers
61 views

### Montserrat font/package, “invalidfont” error when printing

I'm using the montserrat package to use the Montserrat font and I'm having troubles printing the resulting PDF. This is a trivial minimal example: \documentclass{article} \usepackage[utf8]{inputenc}...
0answers
30 views

### How to convert font of included .pdf-“image” [duplicate]

I'm writing my thesis and I need to include specific P&ID-Diagrams that I made in MS-Visio. I safe them as a .pdf, but the font isn't similar with the one in LateX. Is there a tool in Latex to ...
2answers
33 views

### Trimming the blank space in PDF image for insertion in TeX file

I have an image in PDF format like this: There's a lot of empty space in the bottom half of the image. When I insert the PDF image in main.tex using \includegraphics[width=\textwidth]{...
2answers
469 views

### Keep two pdf views of the same tex file

Often, I would like to have two different views of the pdf file associated to a tex file. A typical use case is: you wrote a mathematical paper including several theorems, and the proofs are in an ...
0answers
26 views

### Ubuntu xelatex PDF wont find the existing pictures

I am trying to use xelatex to convert a .tex file to pdf, which is working fine doing so in the directory where the pictures and the tex file are in but i need to execute xelatex from a folder above. ...
1answer
53 views

### Why are eps files of the graphics of my latex document covnerted to pdf?

The graphics in my latex document as eps image files and I would like the latex output pdf file to be as small as possible in size and with higher resolution, but whenever I run the compiler of the ...
1answer
85 views

### How to make some character “unreadable” as text in the pdf output but still visible?

This question might be seen is a follow up/complement to this question and answer. I'm actually taking the example from there: \documentclass{article} \usepackage{xcolor} \usepackage{transparent} \...
1answer
134 views

### Is it possible to not copy numeration using lstlisting?

Please consider the following MWE: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[spanish]{babel} \usepackage{color} \usepackage{enumitem} \usepackage{listings} \definecolor{...
1answer
35 views

### Make appear hypertarget labels in PDF

Some time ago (TeX Live 2013), xelatex stored labels of hypertarget in PDFs. Then (at least in TeX Live 2016) the behaviour was changed, there are no more symbolic names inside. How can I get the ...
1answer
993 views

### How to get pdftex to have same PDF output for each run on the same input

Is there a way to get pdftex to output the exact same pdf each time it is run on the same input? We are using an in-house tool to generate LaTeX for engineering design documentation. We run the ...