Dr Paul Verschueren said on Tue, 18 Apr 2023 15:12:10 +0000 >Dear all - >I just had to change the AMS document type for a long paper.
Does long paper really require a change of doctype? I think you can do what you need by putting the following two lines in your Docuument=>settings=>Latex_preamble: ================================================ \pageheight=14in %Paper height \pagewidth=8.5in %Paper width ================================================ The preceding works as long as you compile with luatex, which is the best way to compile anyway. I don't know about the AMS document type, but my best guess would be it would accommodate the preceding. Naturally you'd need to change all the margins in LyX, but that's easy. >I have made heavy use of the paragraph/subparagraph environments, but >these do not exist(!) in the new doctype. Is there any way of doing a >find/replace via Lyx? If not, is there any alternative to hacking the >Lyx source, and does anyone foresee any gotchas with this approach? >(I'll obviously take a backup first). Many thanks If worst comes to worst, you could create a new document type, based on whatever new document type you are moving to, in a layout file, and just create new paragraph/subparagraphs environments. SteveT Steve Litt Autumn 2022 featured book: Thriving in Tough Times http://www.troubleshooters.com/bookstore/thrive.htm -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users