Suggestions for custom layouts/templates creation

Steve Litt slitt at troubleshooters.com
Fri May 20 07:09:15 UTC 2022


Rich Shepard said on Thu, 19 May 2022 13:39:14 -0700 (PDT)

>I've read the layout page in the Wiki and learned that I can create my
>own layouts. What I'd like from those of you who want to help are
>suggestions how to approach the project(s).
>
>All environmental regulators have forms that need to be filled by
>permit (or other approval) applicants then submitted to the agency. I
>don't do Windows and want to learn how to make LyX templates for those
>that clients pay me to prepare for them.
>
>I use the KOMA-Script classes and assume the KOMA-Script Article class
>would be the most appropriate. But, not before creating any LyX
>templates I would appreciate suggestions how to go about making this
>first one.

First, if the forms will be OCR'ed, you'd better have the right font
and spacing. Otherwise, it's pretty easy...

Your layout file defines environments and commands. Commands are the
basis of character styles, and can be used for other things too.

So invent a stylename (environment or command) for each appearance you
see on whatever form you're imitating, and then do a little trial and
error with the styles until yours looks exactly like the sample.

I haven't discussed the nuts and bolts of custom layout grammar. If you
need that, give me back a shout.

SteveT

Steve Litt 
March 2022 featured book: Making Mental Models: Advanced Edition
http://www.troubleshooters.com/mmm


More information about the lyx-users mailing list