Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

new problem with newpx fonts

40 views
Skip to first unread message

johnny_canuck

unread,
May 24, 2013, 8:05:55 PM5/24/13
to
Having been successfully working with the newpx fonts for several weeks now - sufficiently that I've reformatted a large-ish book (900 pages) using them. However, recently, *something* seems to have happened (package update?) such that certain maths structures no longer 'look like they should'. For example, the vertiucal separator in a condition probability expression - normally I use a \bigl( lhs \bigm rhs \bigr) construct, which used to look as I wanted (using newpx, or any other font), but now, when I compile (MWE example below), the vertical line is 'too high'. if I comment out the newpx stuff, and use good old mathpazo, no problem. Said problem only shows up with newpx. Was wondering if this was an issue with my TeX install only (MikTeX 2.9 under Windoze), or more generally.


Again, as of a couple of weeks ago, I compiled using newpx just fine - no issues as described. Something between then and now has changed - as far as I can tell, the newpx package hasn't changed, but something is now definitely wrong - for some reason. Suggestions/ideas most welcome.



----<mwe below>-----

\documentclass[11pt,letterpaper]{article}

\usepackage{amsmath}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage{nccmath}

% use following for better version of Palatino fonts - makes symbols italicized
%\usepackage[slantedGreek,sc]{mathpazo}

% use following for slightly better formed clones of Palatino
\usepackage{newpxtext}
\usepackage[cmintegrals,nosymbolsc]{newpxmath}
\usepackage[scr=rsfso]{mathalfa}

\usepackage{bm}
\usepackage{eucal}

\begin{document}


\egin{equation*}
{\cal L}\bigl(p \bigm| \mbox{data}\bigr)={N\choose Y}S^Y(1-S)^{N-Y}
\end{equation*}

Or, dropping the binomial probability term (which is a constant, and
not a function of the parameter):
\begin{equation*}
{\cal L}\bigl(p\bigm|\mbox{data}\bigr)=S^Y(1-S)^{N-Y}
\end{equation*}

If we let $Q = (1-S)$, then we could re-write this likelihood as
\begin{equation*}
{\cal L}\bigl(p\bigm|\mbox{data}\bigr)=S^YQ^{N-Y}=S^3Q^5
\end{equation*}

\end{document}

johnny_canuck

unread,
May 24, 2013, 8:11:06 PM5/24/13
to
In checking compilation dates of various files compiled using newpx, things were fine as of 21 May. So, something between 'then and now' has changed. And, looking through the MikTeX logs, it sems as if newtx was 'updated'. Said update has apparently broken something.

Alas.

johnny_canuck

unread,
May 24, 2013, 10:23:29 PM5/24/13
to
Solved - confirmed from maintainer of newpx and newtx that there is/was a problem with the last update. To quote:

"What changed is the package newtx, where I've spent a great deal of effort to try to improve the math extension fonts where all the variable height delimiters draw from. These now work much better in newtx than the old versions. The newpx package calls the same math extension fonts, but I had forgotten that the metrics are burned-in to newpx, and they now have the wrong metrics for the new math extension. I should be able to get this fixed very quickly now that I realize what I did...."

So, a fix will be submitted fairly soon.
0 new messages