Theses, Books, Title pages ⇒ Pdftooltip adds undesired space
Pdftooltip adds undesired space
when I use \pdftooltip and the Masters/Doctoral Thesis Template from http://www.latextemplates.com/template/ ... ral-thesis , Latex adds undesired space in front of the "tooltipped" word. This happens only with the Thesis document class. How can I use the tooltips and avoid the additional whitespaces?
Thanks for any help,
Jos
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- Stefan Kottwitz
- Site Admin
- Posts: 10397
- Joined: Mon Mar 10, 2008 9:44 pm
Pdftooltip adds undesired space
welcome to the forum!
Do you have a specific code sample to test and to see that behavior? In the meaning of a
Stefan
Pdftooltip adds undesired space
Actually I didn't add an example because it seems to be a general behavior. Here is one though, which could not be more minimal
Code: Select all
\documentclass[11pt,oneside]{Thesis}
\usepackage{pdfcomment}
\usepackage[utf8]{inputenc}
\usepackage[ngerman,english]{babel}
\begin{document}
This \pdftooltip{is}{believe it or not} text.
\end{document}
jos
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
Pdftooltip adds undesired space
Thesis.cls.Either way, the updated template has the same bug, a spurious space.
Find the line in Thesis.cls containing
Code: Select all
\pdfstringdefDisableCommands{ % If there %.