I'm writting my custom class but I've found a problem I've not been able to solve. When I add the hrule, it's missplaced: instead of using baseline (to keep distance from headings) it uses descenders line. (Yes, I'm spaniard... sorry). I'll try to explain it:
- If text has "g" or "p" or other letter with descenders, headings are at ~ 6pt.
- If text has no descenders, headings are at ~ 4pt.
So you can see that hrule is moving if you compare differentes pages.
This' the code:
Code: Select all
\if@twoside
\def\ps@headings{%
\let\@oddfoot\@empty\let\@evenfoot\@empty
\def\@evenhead{\vbox{{\small\lsc\thepage}\normalfont\hfil\leftmark \vskip 5\p@ \hrule}}%
\def\@oddhead{\vbox{\normalfont\partmark\hfil{\small\thepage} \vskip 5\p@ \hrule}}%
Thanks in advance
