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?
1 Answer
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.
-
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?– LyX2394Aug 24, 2017 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. Aug 24, 2017 at 11:43 -
@LyX2394 Seems an alternative is to type filename with extension in quotes (lifehacker.com/5883860/…), i.e. write
"something.layout"
as filename, and even if.txt
is selected as filetype, the file will be calledsomething.layout
, notsomething.layout.txt
. Aug 24, 2017 at 11:47
latex
. or i misunderstand question?