Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Automatically define macros in LyX documents

Tags:

latex

lyx

I'm using LyX all the time and over the last 2 years I've accumulated some very handy macros for my lecture notes. As it is today, every time I start a new document, I copy and paste the macros from one of my other documents. Is it possible, somehow, to automatically load macros for all files?

like image 326
Amir Rachum Avatar asked Feb 25 '26 04:02

Amir Rachum


1 Answers

Just define your macros in the preamble (Document > Settings... > LaTeX Preamble) then press the "save as document defaults" button.

like image 162
Benjamin Avatar answered Feb 27 '26 01:02

Benjamin



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!