Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I'm trying to export a PDF of a LyX document (it has never caused a problem before). Below I have posted pictures of the error message along with the equation LyX highlighted for me. I don't know what \hbox is, and I didn't use that in my code. Can someone please help me edit the equation so that I can export a PDF?

enter image description here

enter image description here

share|improve this question
    
This \hbox thing is just an example for a typo, has nothing to do with your text! –  vaettchen Feb 1 '13 at 16:57
add comment

1 Answer

up vote 8 down vote accepted

The command \coloneqq is unknown, you need to load a package for this, such as mathtools, txfonts or pxfonts.

Add to your document preamble:

\usepackage{mathtools}

LyX 2.1 will have direct mathtools support.

share|improve this answer
    
Thank you. Where would I type this "\usepackage{mathtools}"? –  The Substitute Feb 2 '13 at 4:21
1  
The document preamble can be edited via the LyX menu: Document/ Settings. –  Stefan Kottwitz Feb 2 '13 at 8:13
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.