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.

  • Maybe this helps: wiki.lyx.org/Layouts/CreatingLayouts – Henri Menke Jul 27 '17 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. – Torbjørn T. Jul 27 '17 at 8:31

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.

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.