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

Filter by
Sorted by
Tagged with
0 votes
0 answers
15 views

Cite a reference with the possibility of opening an internal pdf file at the right page number

I want to cite a reference in my document with the possibility of opening this reference, which is stored as a pdf file in my directory, on the right page. It should look something like this: [1, ...
ANT Learner's user avatar
0 votes
0 answers
16 views

How to write over an uploaded pdf file on overleaf [duplicate]

Thank you for taking a look. I want to upload a pdf file and write over it using This document class, however the text automatically goes to the next page. Can I make it so that the text stays on top ...
user292225's user avatar
0 votes
2 answers
95 views

How to make my entire document to fit into a single PDF page?

I have a rather long document that normally renders as two pages. Now, I want a single page PDF document to be generated instead. In other words, I want a PDF of A4x2 size. How would you do it? It's ...
yegor256's user avatar
  • 11.5k
0 votes
0 answers
78 views

Overleaf PDF produces unselectable and undetectable text

I wrote my thesis in Overleaf, but when I compile a PDF, you can not select or copy the text. Therefore my supervisor can not make comments in my PDFs and the plagiarism tool does not recognize text ...
Charlotte's user avatar
0 votes
1 answer
34 views

Figure not displayed in pdflatex after exporting from lyx

I am able to add the figure in a lyx document, by using float and insert graphics. But when I view in the pdf, I don't see the figure in the inserted location. Instead I see the location of the file ...
triangular_triffle's user avatar
1 vote
0 answers
34 views

How can I add text above a horizontal line?

I am trying to produce a LaTeX document with the following code: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{xcolor} % For \textcolor \makeatletter % For \@height and \@z@ \begin{...
XiaoBanni's user avatar
0 votes
0 answers
31 views

Can we play the video in the pdf without having to change the setting in Adobe Reader using media9 package?

Good evening/morning! Straight to the point, I am trying to embed videos in pdfs and that I did manage to do that thanks to the help provided in the answers to this question. The first problem I faced ...
Omar Emad 201-901-607's user avatar
0 votes
0 answers
60 views

TexMaker doesnot update the pdf file with WileyNJD-v5

I am preparing a document using the WileyNJD-v5 template. but when I compile it, it doesnot update the pdf file.
Khalid Karadh's user avatar
1 vote
0 answers
50 views

PDF/A compliance with pdf metadata

I am trying to create pdf/a-1b compliant pdf with the \DocumentMetadata and properly add the metadata. Firstly, I tried with pdfx, but the metadata was empty. My question is similar to this one, so I ...
gasar8's user avatar
  • 119
0 votes
3 answers
138 views

pdf plots/figures have weird artifacts

So I used to use svg-files for my plots, but compiling with too many figures took way too long, so I switched to pdf-figures, which works way better in that aspect. I did not convert the svg files to ...
maxxel_'s user avatar
  • 51
1 vote
1 answer
32 views

text insert annotation in pdfcomment

When annotating a PDF with Adobe Acrobat to suggest a new text insertion, Acrobat makes a very nice job by doing this: When using e.g. Abbyy Finereader, it denotes it by this: , not as nice but clear ...
atapaka's user avatar
  • 228
21 votes
4 answers
2k views

Can you control the PDF description that shows in browser tabs?

I've taken to using browsers as my go-to PDF viewer over the last few years and I've noticed that most TeX documents have an issue with the title as it appears in the browser. The title seems to be ...
Kvo's user avatar
  • 331
0 votes
0 answers
39 views

Extra white borders showing when using .pdf format to include figures in LaTex

i'm writing my first document using LaTex. I want to include good-quality figures, so i opted to use the PDF format. i saved the images from the plots in Matlab as pdf files, and when i included the ...
joy's user avatar
  • 1
0 votes
1 answer
33 views

How to center smaller unscaled page on A4 page with pdfjam

I have pages sized 145×205 mm. I can put two-in-one with command: pdfjam file.pdf --nup 2x1 --landscape --twoside \ --papersize '{205mm,290mm}' --outfile nup.pdf Now I want to put ...
Marcel S.'s user avatar
  • 1,283
16 votes
4 answers
2k views

Evaluating TeX output in competitive programming

Online Judges are platforms used in competitive programming. Participants write code that solves a problem. Competitors submit their programs to the online judge, which runs all pieces of code in the ...
wh8658's user avatar
  • 163
6 votes
1 answer
149 views

Big LaTeX delimiters have a weird encoding in the pdf. How can I avoid this?

I noticed recently that changing the size of parentheses in LaTeX results in a different encoding of the text in the pdf (as determined using the copy/paste functionality in my pdf viewer). For ...
user134824's user avatar
1 vote
0 answers
101 views

Decrease the space between title and toc in Quarto

I am using Quarto to create a PDF. When I chose not to include the author and date, the distance between the title and table of contents did not shorten but left a vertical space. I have attempted ...
Thea Ng's user avatar
  • 11
1 vote
1 answer
42 views

Image output different color as in preview - HATCHCOLOR TIKZ

As shown below, when running my codes via Xetex/Xelatex, the output should be a red rectangle (page 1) and a green circle (page 2) with hatch. But when opening the PDF file with different programs ...
Bilal Yilmaz's user avatar
2 votes
0 answers
61 views

Recovering the textual content of a PDF file with luatex

Is it possible, with LuaTeX, to retrieve the textual content of a PDF (using lua code I imagine)? For my purposes, it doesn't have to be "clean" (for example, the order doesn't really have ...
Maxime Chupin's user avatar
0 votes
1 answer
56 views

Issue with Hyperlinks in PDF using Hyperref Package

I am currently facing an issue with the placement of hyperlinks in a PDF document that I am typesetting using LaTeX and the hyperref package. I have tried various approaches, but I haven't been able ...
oierpa's user avatar
  • 1
0 votes
2 answers
36 views

Different Picture is imported in the pdf

I use Texmaker with MikTex, and I am writing a file where I use a logo image as a background for the first page. I put a folder (with name: data) in the same working directory, inside which the logo ...
Mohammad Ali's user avatar
0 votes
0 answers
41 views

Converted a .tex into pdf by mistake in TexStudio

I saved a .tex file as a pdf with TexStudio. It has made a weird conversion and I was hoping to recover my original .tex file by saving it back as a pdf. However I now have this when I open it in ...
DLM's user avatar
  • 1
0 votes
2 answers
177 views

Backrefs not working when creating a pdf using bookdown/latex

I'm writing a latex/PDF book with R/bookdown. I'm trying to include, in the bibliography, a list of the pages that each article was cited in (i.e., backrefs). However, the backref and pagebackref ...
itpetersen's user avatar
0 votes
1 answer
53 views

Why is my TikZ fill command (using foreach) not shown correctly by all PDF viewers?

When I use a foreach in a fill (or draw) command, the resulting PDF appears only in some PDF Viewers (VS Code, Firefox) but not in others (MS Edge, Google Drive, Dropbox). Here's a minimal piece of ...
Alessio Boh's user avatar
1 vote
1 answer
45 views

Visibility of fillable PDF from TeX in Android PDF viewer

I am compiling a fillable PDF from TeX with pdfLaTeX. It works fine when looking at the PDF on a Laptop or PC, however, when opening the document from my cellphone with Acrobat Reader or similar PDF ...
Hristova Daniela's user avatar
0 votes
0 answers
35 views

Recover table back from pdf document created with latex

I recently converted a libreoffice spreadsheet to a pdf using latex and the odsfile package like this (using lualatex). The table contained numbers with comma as decimal separator. \documentclass[...
dp21's user avatar
  • 1
0 votes
2 answers
119 views

discrete line spectrum in latex [closed]

I am trying to make this line spectrum. I found a code of this type but the tilde sign does not recognized in my latex environment. I have most updated version of latex \tikzset{ % define the bar ...
Sophia N.'s user avatar
0 votes
0 answers
166 views

LaTeX VScode on mac - stuck on activating extensions

I've reinstalled VScode and all the libraries several times but I still can't get my latex project to compile. VScode is stuck on activating extensions: Any ideas?
jimbob97's user avatar
0 votes
0 answers
34 views

Why do the letters in the PDF become blurry after compiling when I add \usepackage[T1]{fontenc} to my LaTeX preamble?

Before adding \usepackage[T1]{fontenc} to the preamble I have in the pdf preview After I add \usepackage[T1]{fontenc} I get Why? Can anyone help me please?
RataMágica's user avatar
0 votes
0 answers
90 views

How to embed .wav audio files into PDF?

I have tried using packages media9, media15, multimedia, and attachfile, but I can not for the life of me figure it out. I don't know if I need to install anything for these packages or if using the '...
Andy's user avatar
  • 1
1 vote
0 answers
39 views

Open an external PDF at the specific section in a new tab

I want to hyperlink to an external pdf file at the specific section. I have a solution to open the file on a specific page but not at the specific section. Next problem Im facing is that every time ...
Žan's user avatar
  • 23
0 votes
1 answer
72 views

Inserting a PDF Comment with pandoc

What's the easiest way to insert a PDF comment attached to a block of markdown? I discovered pdfcomment but don't know how to use it with pandoc (or if that's even possible).
Mark Richman's user avatar
0 votes
0 answers
43 views

Tikz button CLICK color and CLICK shape in Adobe Reader

I would like to control the click color and click shape of the following tikz button with rounded corners that I created. When I download the PDF (generated by pdflatex) into Adobe Reader and click on ...
Steven's user avatar
  • 317
0 votes
0 answers
30 views

Batch correct Latex PDF's with wrong encoding to correct umlauts

at my university the template everyone uses seems to use the standard ot1 encoding. This leads to all umlauts to be correctly displayed but if copied they turn into two characters. Ex. Makro¨okonomik, ...
Luis's user avatar
  • 1
0 votes
1 answer
27 views

tikzexternal no pdf output

I am trying to use tikzexternal to produce pdf of my images. I was using tikzpicture in \begin{figure} environment. However, I could not get any pdf output. Then I removed the \begin{figure}, tried ...
j.doe's user avatar
  • 121
0 votes
0 answers
33 views

Small lines showing after accesibility check of a PDF (created with pdfLatex)

After doing the accesibility check with Adobe Acrobat PDF, some small lines appear and some big parenthesis appear too. Why this happens? What can I do to avoid this lines appearing? Here it is the ...
Banach333's user avatar
0 votes
1 answer
20 views

the string position in code doesn't correspond with the position in the output pdf

I have a code like below, and I want to insert the string "22222222222222222222222222" at the place above \date{today} as is in the code, but it appears on the first page and today is on the ...
user2925716's user avatar
  • 1,928
0 votes
1 answer
122 views

How to get bounding boxes for jpg/png in latex

Currently i include png/jpg files with graphicx package compiling with lualatex, no problem, in particular no error message because of bounding box not found. This question is about historic ways to ...
user2609605's user avatar
0 votes
0 answers
45 views

gv: the outputs of pdflatex, latex+dvipdf, and latex+ps2pdf are slightly shifted upwards compared to the output of latex+dvips

Let's create mwe.tex containing \documentclass{article} \usepackage[paperwidth=1cm,paperheight=1.25cm,margin=0cm]{geometry} \pagestyle{empty} \usepackage{tikz} \begin{document}\noindent \begin{...
AlMa0's user avatar
  • 439
0 votes
0 answers
27 views

Alternatives to Mathpix for converting pdf to LaTeX code [duplicate]

I am self-learning a lot of Computer Science and Mathematics. I am using ChatGPT 4 to help me in this endeavor. Basically, if I like a set of lecture notes or if a book doesn't have solutions, I ...
Arham Zahid's user avatar
0 votes
0 answers
46 views

How to create a document with collapsible proofs?

I am trying to create a document which has a series of theorems and proofs, one right after the other. I would like it so that in the pdf, one can click a button next to a proof that collapses that ...
graphtheory123's user avatar
0 votes
1 answer
42 views

Having issues inserting an A1 size, landscape PDF page into LaTeX document [duplicate]

I would like to insert an A1 sized, landscape oriented, PDF page into a LaTeX document that besides this page only has regular A4-sized portrait pages. I'm currently using the pdfpages package, but ...
Emiel's user avatar
  • 1
2 votes
0 answers
37 views

Ensure anonymity when using latexmk -view=pdf [duplicate]

I am doing a review for an article where I need to write some equations myself and want/have to stay anonymous. So far I plan to just LaTeX my notes, compile them with latexmk -view=pdf and send them ...
mcocdawc's user avatar
  • 323
2 votes
1 answer
79 views

Are background color and border color supported for pdf forms?

I'm playing a bit with the new l3pdffield-testphase. \RequirePackage{pdfmanagement-testphase} \DocumentMetadata{uncompress} \documentclass[varwidth, margin = 5pt]{standalone} \usepackage{l3pdffield-...
cjorssen's user avatar
  • 9,848
1 vote
0 answers
127 views

LaTex Jupyter Notebook "Undefined Control Sequence"

I am attempting to save down a Jupyter notebook to a PDF using LaTex. I just installed the latest version of LaTex through Jupyter terminal but when I run jupyter nbconvert --to pdf mynotebook.ipynb ...
coder_bob's user avatar
1 vote
1 answer
69 views

I got this error message although every font is installed: "Error producing PDF ! LaTeX Error: File `[fontname].sty' not found"

I am using pandoc to convert txt files to pdf. Whenever I specify a font in my metadata, I am getting the following error message, although I've checked that every font is installed: % Error producing ...
kcho17's user avatar
  • 15
1 vote
0 answers
54 views

pdfs in attachment

what is the best way to attach pdfs to my LaTeX document so that the entries are automatically written to the attachment? So far I have always solved this by simply creating a list that then reflects ...
TheDice's user avatar
  • 35
0 votes
0 answers
49 views

Minted copyable spaces

I looked at a lot of answers regarding this topic, but they all seemed to be pretty old. I also looked into the documentation of the minted package, which did not give me a solution either. I want a ...
Titanlord's user avatar
  • 521
0 votes
0 answers
73 views

How to add Text Widget Annotations to a pdf form?

I am trying to create a fillable pdf form using Latex. Backstory: I have a pdf form that can be both filled in by a person or by using a python script. That pdf was created using inkscape, ...
David Fear's user avatar
0 votes
0 answers
16 views

Need additional space between chapter and leading section from PDF

I'm working on formatting my thesis in LaTex, and there are specific formatting requirements for the TOC. Let me warn you that I'm fairly inexperienced with LaTex, so forgive me for if there's ...
D. Young's user avatar

1
2 3 4 5
53