LyXUnwanted Red Text in mathmode

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
Andrew Valtak
Posts: 3
Joined: Sat Jun 22, 2013 10:17 pm

Unwanted Red Text in mathmode

Post by Andrew Valtak »

Hello,

I am curious if there is a way to remove the red text that gets put into mathmode when you use a package not standard in lyx. For example, when I wish to use a dsfont character and the improved right/left parens of mleftright, in the lyx window I see

Image

even though the output compiles properly as

Image

Does anyone know a way to alter this? I would prefer that Lyx actually puts large left and right parenthesis and dsboldface letters directly into my lyx window, but if there is a way to simply stop the redtext from appearing I would be happy to get rid of it. Thank you.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Andrew Valtak
Posts: 3
Joined: Sat Jun 22, 2013 10:17 pm

Re: Unwanted Red Text in mathmode

Post by Andrew Valtak »

Hello all,

I have yet to find a solution to this, but I did go to Tex a document on my mac and noticed that in the mac version of Lyx, this behavior is absent. If you put in commands from a nonstandard package, the red text appears as long as you are in mathmode, but when you exit to resume typing regular text the mathmode boxes parse the Tex, and show the proper symbols after a few moments.

This is exactly the behavior I was looking for, and the fact that it is standard behavior for the Mac version of Lyx makes me hopeful. Did this added information perhaps spark an idea for how I can activate this feature in the Windows version of LyX?
scottkosty
Site Moderator
Posts: 542
Joined: Sat Sep 01, 2012 6:38 am

Re: Unwanted Red Text in mathmode

Post by scottkosty »

Probably a difference in versions. You might want to try LyX 2.1 beta and see if it's fixed there:
ftp://ftp.lyx.org/pub/lyx/devel/lyx-2.1 ... ller-1.exe

If not, please post a bug report on www.lyx.org/trac
Post Reply