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 automatically determined based on the first text that appears after \begin{document}
I've tried setting optional arguments to \title, comments, etc. I've looked for an answer online but haven't found one.
Is there an intended way to explicitly set this value?
Below is a MWE, note that this isn't specific to beamer-type documents.
- I've generated the file as
test.pdf. - The browser tab description is:
*1.5cm My Presentation [width=0.6\textheight] My Name My University August 23, 2013 - test.pdf - The
*1.5cmappear due\vspace*{1.5cm}
Code:
\documentclass[9pt,mathserif,aspectratio=169]{beamer}
\usetheme{Montpellier}
\title{
\vspace*{1.5cm}\\
\textsc{\LARGE My Presentation}\\
\includegraphics[width=0.6\textheight]{example-image}\\
\large My Name\\
\large My University\\
\large \today
}
\begin{document}
\begin{frame}[plain]
\titlepage
\end{frame}
\end{document}
Here is what shows up on Chrome:

Here is what shows up on Firefox:

Edit: Removed unnecessary \centering from above.
Additional information:
- Compiled using TeXMaker 5.1.3, calling TeXLive 2022
- Windows 10, Version 10.0.19045 Build 19045
- To open PDF: Right-click
->open with->Chrome / Firefox








\hypersetup{pdftitle={Your PDF title},}after including thehyperrefpackage. – epR8GaYuh Aug 23 '23 at 04:59\usepackage{hyperref} \hypersetup{pdftitle=TestTitle,pdfdisplaydoctitle}to my preamble (and a few other places in the document as well) but unfortunately this didn't work either. – Kvo Aug 23 '23 at 06:21