LyXproblems on declare input text/maths

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
colruyt
Posts: 11
Joined: Wed Aug 04, 2010 1:55 pm

problems on declare input text/maths

Post by colruyt »

Hi,

I would like to type the relation operater succeq with a prime on the top right side, $\succeq^{\prime}$, however when I tried to compile the file, lyx says:

$\succeq^{\prime}$
You need to provide a definition with \DeclareInputText
or \DeclareInputMath before using this key.


What should I do to solve this problem? thanks

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

egall
Posts: 1
Joined: Mon Oct 25, 2010 10:31 pm

Re: problems on declare input text/maths

Post by egall »

I have no problem with $\succeq^{\prime}$ in Lyx (Lyx 1.6.4 on Ubuntu 9.10) or straight Latex. Watch out for character encoding problems though. I have seen that error for non-standard characters. Try retyping it, maybe in a TeX environment (Insert->Tex code).

Emilio
colruyt
Posts: 11
Joined: Wed Aug 04, 2010 1:55 pm

Re: problems on declare input text/maths

Post by colruyt »

Thanks a lot, indeed under tex mode it works.
Also something wrong it seems with my preamble code, So I just started a new file, and it works.... :shock:
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

problems on declare input text/maths

Post by localghost »

Now that the problem is solved, please be so kind and mark the topic (not the last post) accordingly as clearly written in Section 3 of the Board Rules (to be read before posting). Please keep that in mind for the future so that further reminders will not be necessary.


Thorsten
Post Reply