> > I am writing a NIH grant proposal. Is there some kind of plugin for > > lyx > > that will format the manuscript? I found the following website > > (http://www.cs.dartmouth.edu/~brd/NIH/tips/) with latex (.sty) & > > (.cls) > > files. But I cannot figure out how to use them with lyx. Any help > > is most appreciated. > > Hi, James. > > The .cls file is used by LaTeX to typeset your document, but is > essentially an irrelevance to LyX. LyX needs an nih.layout file. > > Looking at nih.cls, it doesn't define any new environments and derives > from the standard LaTeX 'article' class. (I think.) > > That being the case, I think that it is sufficient to define an > nih.layout file that LyX can use as: > > #% Do not delete the line below; configure depends on this > # \DeclareLaTeXClass[nih]{NIH Grant Proposal} > Input article.layout > > Put this in your $HOME/.lyx/layouts directory, reconfigure and restart > LyX and cross your fingers ;-) When you restart LyX you should find > "NIH Grant Proposal" in the document class list of the Document > dialog.
Thanks Angus for you suggestion. Unfortunately it did not show up in my document class list. I have also noticed that other .layout file which are in the directory /usr/share/lyx/layout/ are not listed as well, for example apa.layout. I have also noticed a directory /usr/share/lyx/txt/ which has several .cls files in it.