I constructed a figure with TikZ in a tufte-book
document class, and I need to use the ulem
package as follows
\documentclass[symmetric,justified,marginals=raggedouter]{tufte-book}
\usepackage{ulem,tikz}
\usetikzlibrary{automata,positioning,arrows.meta,shapes,calc}
\usetikzlibrary{positioning}
\usetikzlibrary{decorations.pathreplacing,calligraphy}
\usepackage{glossaries}
\makeglossaries
\newglossaryentry{latex}
{
name=latex,
description={Is a mark up language specially suited
for scientific documents}
}
\begin{document}
\Gls{latex}
\printglossaries
\end{document}
I'm having problems using the package ulem
, which has two consequences:
the first is that the glossary entries are no longer edited, only the descriptions are edited!
the second is that the formatting of the bibliographic references in the page notes has been modified (underlining of the titles of the references).
How to correct these faults? I specify that I write using Overleaf (I do not think I have access to the codes of the tufte-book
class ...).
ulem
at all (i.e. make\usepackage{ulem,tikz}
read\usepackage{tikz}
) if you don't need it or load it with thenormalem
option (i.e. split\usepackage{ulem,tikz}
into\usepackage[normalem]{ulem}\usepackage{tikz}
). Ifulem
is loaded without thenormalem
option it will redefine\em
and\emph
to produce underlined text instead of the standard italics. (Nothing in the code you have shown suggests that you need to useulem
, but of course there may well be some passages of your document that need it.)\begin{document]
should be\begin{document}