Search This Blog

Tuesday, April 26, 2011

How to use UHthesis2e in Lyx

=== Ubuntu ===

Become a root by
$ sudo bash

Go to the latex directory (/usr/share/texmf-texlive/tex/latex)
$ cd /usr/share/texmf-texlive/tex/latex

Make a uhthesis directory
$ mkdir uhthesis
$ cd uhthesis

Copy uhthesis setup files to the dir.
$ cp /somewhere/uhthesis2e.cls  ./
$ cp /somewhere/uht10.clo       ./
$ cp /somewhere/uht11.clo       ./
$ cp /somewhere/uht12.clo       ./

Go to
$ /usr/share/lyx/layouts
$ vi uhthesis2e.layout

Add following lines
#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass[uhthesis2e]{article (uhthesis2e)}
# Input general definitions

Start Lyx and in Lyx
do: Tools > Reconfigure ; Restart Lyx.

And you will see "article (uhthesis2e)"
Now you should be able to use the document class in LyX as usual:
Document > Settings > Document Class > Document Class > article (uhthesis2e)


No comments:


Blog Archive