tud-cd / tudscr

TUD-Script
Other
105 stars 22 forks source link

Math accents not placed correctly with tudscrfonts and accents package #54

Open baloe opened 3 years ago

baloe commented 3 years ago
\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

mrpiggi commented 3 years ago

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.

baloe commented 3 years ago

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.

mrpiggi commented 9 months ago

see also #62