I want to use a new class in LyX. I know where to save the .cls file so that LyX can use it. I have already done that. I also know that I need a layout file and need to save it in the layout folders. My problem is that I do not know which software to use to write the layout file. Any answers?
Asked
Active
Viewed 695 times
1
1 Answers
1
A .layout file is just a plain text file, so use any plain text editor. E.g. Notepad, Gedit, Kate, Textedit, Notepad++, Sublime Text, Atom, Vim, Emacs etc. Whichever you prefer.
Torbjørn T.
- 206,688
-
Thanks.When you save a Notepad file, the file extension is .text not .layout. Notepad does not give the option to change the extension of the file. Is there a way to save a file created with Notepad with a .layout extension? – LyX2394 Aug 24 '17 at 11:41
-
@LyX2394 Can't you select "All files" or something, and type
.layout? (Haven't opened Notepad in years.) Alternatively just rename the file afterwards. – Torbjørn T. Aug 24 '17 at 11:43 -
@LyX2394 Seems an alternative is to type filename with extension in quotes (http://lifehacker.com/5883860/change-the-file-extension-of-any-file-through-windows-save-as-menu), i.e. write
"something.layout"as filename, and even if.txtis selected as filetype, the file will be calledsomething.layout, notsomething.layout.txt. – Torbjørn T. Aug 24 '17 at 11:47
latex. or i misunderstand question? – Zarko Aug 24 '17 at 11:29.styfiles (if "template" means this). apparently i'm wrong (and this is one thing more why i not use lyx :-) ) – Zarko Aug 24 '17 at 11:35.styfile in it, and a layout file is not the same as a.styfile, other than both being plain text files. – Torbjørn T. Aug 24 '17 at 11:42