2

How can I save a template using Lyx? I know I can just save it somewhere and then copy and edit the file. But I want to use the new from template option in Lyx.

2
  • Maybe this helps: wiki.lyx.org/Layouts/CreatingLayouts Commented Jul 27, 2017 at 7:52
  • 1
    Looks like the "templates" that are included with LyX is just normal .lyx-files with some dummy content. So just set up a document with whatever settings you need, and add and example author, title, sections, content, <whatever>, save the file, and you have yourself a new template. Commented Jul 27, 2017 at 8:31

2 Answers 2

1

But I want to use the new from template option in Lyx.

You can save your own file with dummy content in:

  • the directory of the default templates, for example in my Linux is /usr/share/lyx/templates. But probably you will need root privileges to do this and ... be careful with the system updates!
  • your own template directory. Go to menus Tools > Preferences ... > Paths > Documents templates > Browse... to select one. Then, make this directory non writable if you want avoid accidental updates of the templates that you open frequently.
0

As Torbjorn in the comment above says, there's no need to save the file as a template. Any Lyx file can be opened as a template.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .