[Tex/LaTex] How to create the universe of discourse symbol with LyX


I've been using OpenOffice and/or MS Word to do my college assignments, but since I started this new discrete math course, I'm finding myself very annoyed with the math formula options in those programs. I learned about LaTeX and figured it would be my best option. Since I really just want to get my college assignments done with it and not use it for printing books I've written or anything, I decided to go with LyX. It has a quick and easy preview option, and isn't so different from what I'm used to. I still can't find a way to make the fancy, cursive script "U" that represents universe or universe of discourse that is used in set theory. Is there a specific package I need, or did I just miss it somehow. Also, if I do need a new package, how is that even done with LyX. Anyone with assistance has my gratitude.

Best Answer

One advantage of LyX over LaTeX is that mathematical formulas can be displayed quite similar to as the will appear in the PDF.

  • To type a math formula or symbol open a "math area" by <Control>-m or by the menu item "Insert" > "Math" > "Inline Formula". You will see a blue rectangle with pink edges and a new toolbar will appear. (If not see menu "View" > "Toolbars" > "Math Panel (auto)".)

  • The fourth botton of this toolbar has four capital A's (one in black, three of them in blue). Click on it and find a list of different styles.

  • Choose "Italic - \mathit" or "Calligraphic - \mathcal" or ... "Formal Script - \mathscr" to meet your needs... Type your letter U.

Note: LyX will take care which package to include. There is no need for "\usepackage" in this case.

(By the way, after typing "U", "right cursor key" once will get you out of the new font style and you can continue with normal math style. A second "right cursor key" will leave the math mode.)