Pierre van der Laat Ulate wrote:
I want to install a file named:
siimmac.cls
into my document classes. It commes with no other files.
You may find the file at:
http://www.emate.ucr.ac.cr/simmac/simmac.cls
No, but I found it at http://www.emate.ucr.ac.cr/simmac/formatos/simmac.cls.
To install a new class, place the .cls file in an appropriate directory
(for instance, in a subdirectory $localtexmf$/tex/latex/simmac/ under
your local texmf root), then update your LaTeX file directory (somewhat
dependent on your LaTeX distribution -- frequently by running texhash,
in MiKTeX by running the MiKTeX Options application and clicking Refresh
Now under General->File name database). At this point, your LaTeX
distribution should know how to access the class file.
Getting LyX to use it is harder. You will need to create a layout file
for it. The recommended approach is to pick an existing document class
(one LyX supports) that is similar, copy the layout file for that class
to the layouts folder under your document home directory, then modify it
to fit the simmac class. LaTeX uses simmac.cls to generate the output
document; LyX will use simmac.layout (after you create it) to decide how
to format the GUI display of the document while you are writing/editing it.
See chapter 5 of the Customization help document (specifically section
5.2) for details.
/Paul