LyX ⇒ Adding a custom Class Template
Adding a custom Class Template
I put the .cls under C:\Users\max\AppData\Roaming\MiKTeX\2.9\tex\latex and ran texhash
I put the .layout under C:\Program Files (x86)\LyX20\Resources\layouts
When I compile under LyX, I get "Undefined control sequence" errors on basically every command defined in the .cls (\prevdegrees, \department, etc). But, I do believe LyX has found my .cls, because when the .cls wasn't in the right place, I got errors about not being able to find it. Additionally, when the compiled directly through pdflatex, it seems to work fine. Seems to be that LyX is just having a problem in generating the correct command for pdflatex.
Any ideas?
Thanks,
Max
- Attachments
-
- mitthesis_mas.layout.txt
- Note, I had to add the .txt extension to get it past the forums upload filters.
- (182 Bytes) Downloaded 243 times
-
- abstract.zip
- (84.73 KiB) Downloaded 143 times
-
- mitthesis_mas.cls
- (20.34 KiB) Downloaded 240 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