tudscr icon indicating copy to clipboard operation
tudscr copied to clipboard

Math accents not placed correctly with tudscrfonts and accents package

Open baloe opened this issue 3 years ago • 3 comments

\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}

\usepackage{amsmath}
\usepackage{mathtools} % fixes some stuff of amsmath
\usepackage{bm}
\usepackage{accents}

%\usepackage[cdmath=false,cdfont=heavy]{tudscrfonts}

\begin{document}

$
      \tilde{f} 
\quad \bm{ { \tilde{f} } }
$

\end{document}

With the accents package:

This is without the tudscrfonts package loaded, just like in the MWE above: without tudscrfonts, with accents

This is with tudscrfonts loaded (by uncommenting the corresponding line above): with tudscrfonts, with accents

Without the accents package:

Here the positioning is only subtly affected by tudscrfonts noticeable only when observing the pdf file update.

without the tudscrfonts package: without tudscrfonts, without accents

with the tudscrfonts package: with tudscrfonts, without accents

baloe avatar Feb 03 '21 10:02 baloe

Dealing with all the font stuff, especially with math alphabets is really a torture. Do you have a real need for package accents and so an urgent issue or is this only for information. In the latter case, I will have a look for the next main release.

mrpiggi avatar Feb 03 '21 10:02 mrpiggi

No, it's not very urgent, plus egreg pointed out another way of setting the accents that I need without loading the accents package. Provided that the accents package was last updated in 2006 it may be advisable to avoid it anyway.

baloe avatar Feb 03 '21 17:02 baloe

see also #62

mrpiggi avatar Dec 14 '23 11:12 mrpiggi