LyX ⇒ How to add a few logic symbols?
How to add a few logic symbols?
I am taking a Mathematical Logic course as a graduate student, as the assignments get harder and harder, the default mathematics symbols simply don't cut it anymore, so my professor gave me 2 sty files(see attached).
I am running a windows vista 64bit
my LyX installation path is
C:\Program Files (x86)\LyX16
my latex installation path is(i think)
C:\CTEX\MiKTeX
will someone please kindly explain what exactly i need to do? I am not a lazy person that expects everything to be fed to me, I have tried to figure out this myself, but after roughly 5.5 hours of trying(google for and follow instructions), I simply realized, it's beyond my capability.
I have three classmates who I introduced LyX to, so they know even less about LyX. We are trying to submit our term project by next Friday, we have everything figured out we just need to type everything up. I promised them that I will figure out a solution this weekend because I didn't think it would be this hard.
I give my sincere thanks to anyone that tries to help.
- Attachments
-
- 136macros.sty
- (5.15 KiB) Downloaded 368 times
-
- 136ass.sty
- (2.06 KiB) Downloaded 367 times
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
How to add a few logic symbols?

1. Put those two .sty files in your userdir so LyX can find them (or, alternatively, put them into the same directory as your .lyx files).
2. Reconfigure LyX (Tools > Reconfigure) and then restart it.
3. Those files contain new environments and commands which you can use instead of manually formatting entries. However, to use them in LyX, you'll have to use "plain" LaTeX code, i.e., use Ctrl+L shortcut and enter the code into the box (known as ERT box: "Evil Red Text"

4. Every \newenvironment command defines a new environment. Example usage:
Code: Select all
\begin{notation}
Some text...
\end{notation}
5. Every \newcommand defines a new command. Example usage:
Code: Select all
\pair{1}{2}
In the attachment is a .lyx file which may serve as a small example of all this I said above.
- Attachments
-
- example.lyx.zip
- (991 Bytes) Downloaded 226 times
How to add a few logic symbols?
i have one more question, the reason LyX appeals to me is because it's "WYSWYG", so is there a way to turn those "Evil Red Text" into symbols like those that LyX comes with?
so basically, instead of i want (i do understand that the generated PDF's look exactly the same)
Re: How to add a few logic symbols?
Re: How to add a few logic symbols?
how do i know what the commands are? my professor mailed those sty files to me, but I don't see a list of the commands.
so far i only know that \propmodels is the "triple bar gate"...
How to add a few logic symbols?
For all intents and purposes, those .sty files are lists of commands. Open then up in your favorite text editor and look at them. If you have questions about them, ask your professor.lyxrocks wrote:one more question, sorry...
how do i know what the commands are? my professor mailed those sty files to me, but I don't see a list of the commands.
so far i only know that \propmodels is the "triple bar gate"...
How to add a few logic symbols?
Thanks.frabjous wrote:For all intents and purposes, those .sty files are lists of commands. Open then up in your favorite text editor and look at them. If you have questions about them, ask your professor.lyxrocks wrote:one more question, sorry...
how do i know what the commands are? my professor mailed those sty files to me, but I don't see a list of the commands.
so far i only know that \propmodels is the "triple bar gate"...
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
How to add a few logic symbols?
Best regards and welcome to the board
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10