f

#### Italic text and math: spacing / lm-math silently fails to display glyphs

Hello,

I am trying to solve the following problem:

Using math in italicised text yields to unpleasant spacing. It seems to be
even more obvious while using Latin Modern (lmodern or cfr-lm). In my
document it looks almost as if there were two spaces after an equation
that ends with "Y". Also, punctuation after such an equation is way off.

Compare http://tex.stackexchange.com/questions/3490/ and see below for a
minimal example. In times of sophisticated packages as microtype I find it
surprising that there seems to be no "proper" fix for this.
Nonetheless, using unicode-math (and lm-math at that) seems to solve this
problem (feed the example below through lualatex). The drawback is that lm-
math seems to lack (many?) glyphs; at least they do not show up in the
document (eg. the \mapsto below). This problem is specific to Latin Modern
Math; if I use XITS or Asana-Math, all glyphs are displayed.

So my questions are:

a) Is there really no solution for this problem using pdflatex?
b) Am I correct about my assumption that lm-math is lacking all these
glyphs or is it something specific to my setup? http://www.gust.org.pl/
projects/e-foundry/lm-math states "LM and LM Math taken together may now
be regarded as a full descendant of Computer Modern" which certainly lacks
that certain notion of being half-finished.
b1) If so, how can I tell what glyphs are affected? I did not spot any
complaint in lualatex's output or in the log file.
b2) If so, is it possible to substitute these glyphs from, say Computer
Modern Math?

Can someone help me with the answer of any of these questions?

Dominic

------------

\documentclass{minimal}

\usepackage{ifluatex}

\usepackage{amsmath}
\usepackage{mathtools}

\mathtoolsset{mathic}

\newtheorem{theorem}{Theorem}

\ifluatex
\usepackage{unicode-math}
\setmainfont{Latin Modern Roman}
\setmathfont{Latin Modern Math}
\fi

\begin{document}

\begin{theorem}
This text is typeset in italic. Let $$Y$$ be a vector field. This vector
field, denoted by $$Y$$, is parallel. Consider a family $$Y_{t}$$ of
things.
\end{theorem}

Testing: $$x \mapsto \int_{0}^{1}x^{2}dx$$, as well as $$\in$$, $$\not\in$$ and $$\notin$$.
\end{document}
 0
8/26/2012 9:25:44 AM
comp.text.tex 39029 articles. 3 followers.

0 Replies
766 Views

Similar Articles

[PageSpeed] 13

Similar Artilces:

program to display text files with imbedded TeX Math expressions.
I am looking at a file I have created named TMGUSRI2.m This is with GT.M 6.2-002A Here is a stat of the .m file and the .o file kdt0p@poweredge:/opt/worldvista/EHR/p$stat TMGUSRI2.m File: `TMGUSRI2.m' Size: 19171 Blocks: 40 IO Block: 4096 regular file Device: 821h/2081d Inode: 705008 Links: 1 Access: (0744/-rwxr--r--) Uid: ( 1000/ kdt0p) Gid: ( 1000/ kdt0p) Access: 2015-08-10 20:50:51.000000000 -0400 Modify: 2015-06-23 20:23:12.000000000 -0400 Change: 2015-06-23 20:23:11.000000000 -0400 Birth: - kdt0p@poweredge:/opt/worldvista/EH... Pages I have a titel-textfield over a pic (headline) , text is black, background for text transparent. A second textfield should overlapp the first textline..... When i arrange the second field with the same settings like the first, the first text disappear... How can i do, that the second text overpapps the first, all over the pic. Any help appreciated! Thanks for replies! I am german and hope that the engish speaking people understand my problem! Soory! Gerd In article <611db9e2-b085-4fe5-907a-ca714b0c32dd@m74g2000hsh.googlegroups.com>, hurlebaus <gerd.schenk@freenet.de> wrote:... Surrounding text with text I was wondering if it was possible to surround a text body with text like so: +--------------+ |ABCDEFGHIJKLM | |H N| |A Main Body O| |L Text goes P| |B here Q| |-=+_ZYXWVUTSR | | | | | | | | | +--------------+ This seems far-fetched, but just curious. I suppose that I could just move stuff around by hand in the GIMP later on, but there's probably a {better,more {extensible,clean}} way of doing it from (La)TeX. -FreeSmith ptjm@interlog.com (Patrick TJ McPhee) wrote in message news:<bffbhe$per1@news.eusc.inter... Math alignment in text mode. Hello and happy new year. I am looking for an alternative solution to give an equivalent result with the following code. The problem is that \left and \right go beyond the text when the formula is aligned on top. I am quite sure there is a better solution. Thank you, Kon. \documentclass{article} \usepackage{amsmath} \begin{document} Text aligned at top\begin{aligned}[c] {}\\ \Biggl\{ \end{aligned} \begin{aligned}[t] a &< b \\ &< c \end{aligned} \begin{aligned}[c] {}\\ \Biggr\} \end{aligned}with aligned formula. \end{document... Beamer: math characters in text Hi, as scientist I often use Greek letters in a non-mathematical context, e.g.,\alphaup$-subunit (using the kp-fonts, but$\alpha$gives the same problem). Then alpha is in math-color, rather than text-color. Of course one could change mathcolor, but that would also affect the display of math proper. It would also not work in other contexts, say, in \frametile. Any suggestions? Thanks Engelbert Am Samstag, den 13.08.2011, 09:05 -0400 schrieb Dr Engelbert Buxbaum:=20 > Hi, >=20 > as scientist I often use Greek letters in a non-mathematical context,=20 > e.g.,$\alphaup$-subunit (using the kp-fonts, but$\alpha\$ gives the=20 > same problem). Then alpha is in math-color, rather than text-color.=20 >=20 > Of course one could change mathcolor, but that would also affect the=20 > display of math proper. It would also not work in other contexts, say,= =20 > in \frametile. >=20 > Any suggestions? >=20 > Thanks >=20 > Engelbert Search for "textalpha" plus "LaTeX" http://de.wikibooks.org/wiki/LaTeX-Kompendium:_Sonderzeichen: Im Herbst 2010 ist das Paket textgreek auf CTAN erschienen. Es stellt im normalen Text \textalpha sowie alle anderen Griechischen Zeichen bereit (auch Gro=C3=9Fbuchstaben, \textPi), wechseln in den Mathemodus ist nicht notwendig. I did not test that. Bernhard On 2011-08-13, Dr Engelbert Buxbaum wrote: > as scientist I often use Greek letters in a non-mathematical context, > ...

Web resources about - Italic text and math: spacing / lm-math silently fails to display glyphs - comp.text.tex

Raqqa Is Being Slaughtered Silently - Wikipedia, the free encyclopedia
The group has published first hand accounts, videos and photos of life and war crimes in Raqqa through its Facebook page and website, other social ...

‫Chronik-Fotos - الرقة تذبح بصمت Raqqa is Being Slaughtered Silently - Facebook‬
#الرقة_تذبح_بصمت #Raqqa #Syria #ISIS #Exclusive #IS's Al-Khansa'a all-female battalion uses new torture techniques against women in the city ...

Silently Cooking - Gumbo - YouTube
NOT AUTHENTIC. The first in my video series based around Simple Cheap Cooking - created for those of us who wish TV food personalities would ...

NRL's top stars silently fume over cash stash
The NRL is about to be hit by a new issue - the game's elite players are fuming about the decision to allow the game's boss Dave Smith to throw ...

Woman suffered spousal abuse silently for eight years, police say
She allegedly suffered eight years of domestic abuse in silence, but told police her main concern was that her children would hear.

Prototype rootkit silently modifies Android apps
Installed web browser replaced with keylogger doppelganger.

Bali Nine pair go silently ahead of execution
Myuran Sukumaran and Andrew Chan go quietly from Kerobokan prison to their place of execution.

Anzac 100: Greatest generation silently disappears as World War I is celebrated
Australia's preoccupation with the centenary of World War I means the rapid thinning of the ranks of the WWII generation is being ignored, speakers ...

Andrew Robb: 'How a 'game changer' politician became an unlikely hero to those suffering silently
He's landed major trade deals and held some of the most senior roles in federal politics. But Andrew Robb's real legacy is not the most obvious. ...

Resources last updated: 3/11/2016 1:31:20 AM