Re: Specifying a package in Module declaration

2022-04-06 Thread Jürgen Spitzmüller via lyx-users
Am Mittwoch, dem 06.04.2022 um 13:33 + schrieb tush via lyx-users: > 1. The geometry package is not listed in Appendix A of the > customization manual, and I tried passing it to Requires but lyx > doesn't add \usepackage{geometry} to the preamble. It does so when I > specify a package that is i

Re: Specifying a package in Module declaration

2022-04-06 Thread tush via lyx-users
Thanks a lot for your reply. 1. The geometry package is not listed in Appendix A of the customization manual, and I tried passing it to Requires but lyx doesn't add \usepackage{geometry} to the preamble. It does so when I specify a package that is indeed listed in the appendix. 2. I didn't und

Re: Specifying a package in Module declaration

2022-04-05 Thread Jürgen Spitzmüller via lyx-users
Am Dienstag, dem 05.04.2022 um 13:08 + schrieb tush via lyx-users: > Of course, I can do > > AddToPreamble > \usepackage{geometry} > \geometry{..page layout commands go here..} > EndPreamble > > But I prefer the \usepackage{}` command to be inserted automatically, > just like > > Requires pa

Specifying a package in Module declaration

2022-04-05 Thread tush via lyx-users
I want to write a module that calls for the geometry package and inserts page layout commands to my document, once it is chosen to be used. Of course, I can do AddToPreamble \usepackage{geometry} \geometry{..page layout commands go here..} EndPreamble But I prefer the \usepackage{}` command to