OCIAM Thesis for LyX - readme
These files form a LyX skeleton structure for the OCIAM Thesis class by Keith A. Gillow firstname.lastname@example.org, which is available online at http://www.maths.ox.ac.uk/help/faqs/latex/thesisclass. Here, I have modified the class file slightly and transposed it into a version that plays nicely with LyX.
I give no license to do anything with it, warranty or guarantee that it will work. Use at your own risk. Enjoy responsibly. Oxford's "visual identity" is legally protected, the logo is a trademark, and they have very specific branding rules, which can be found at http://www.ox.ac.uk/branding_toolkit/. That's all the issues I can think of, so onto installation...
Firstly, you'll need to have a working copy of LaTeX and LyX. Next
- Copy the ociamthesis-lyx.cls into your LaTex installation directory
- Refresh your TeX installation so it finds the new file
- Copy the ociamthesis-lyx.layout file into your LyX userdir layouts directory
- Open LyX and run the 'reconfigure' command.
- Restart LyX and you should be ready to go.
The steps will vary depending on your operating system and LaTeX setup. For example, for me on my Mac:
Mac OS X
Copy over the ociamthesis-lyx.cls to
From the terminal run
Copy over the ociamthesis-lyx.layout to
Go to menu LyX > reconfigure
- Restart and you'll be ready
Linux directions courtesy @NDavidBrown:
Copy over ociamthesis-lyx.cls:
mkdir -p ~/texmf/tex/latex cp ~/path/to/files_to_copy/ociamthesis-lyx.cls ~/texmf/tex/latex
From the terminal run
Copy over the ociamthesis.lyx layout to
cp /path/to/files_to_copy/ociamthesis-lyx.layout ~/.lyx/layouts/
Then in lyx:
Tools -> Reconfigure Document -> Settings -> Document Class -> ociamthesis-lyx
You will then need to restart lyx.
Directions courtesy @NDavidBrown:
C:\Users\<username>\AppData\Roaming\MiKTeX\<version>\tex\latex. You may need to create this directory manually, though the parent
texdirectory should already be present.
Settings (or on Windows 8:
<Press Windows Key>, Type 'settings', choose the non-admin
Settings item with MikTex icon) then click
Now load Lyx and run:
Reconfigure. Once complete you'll receive a notification to restart Lyx. Do so then load your
thesis.lyx and go to
Document Class (item in left sidebar list) In the
Document class dropdown choose
ociamthesis-lyx (items are in alphabetical order).
Frequently Asked Questions
Q. How do I know if I installed the document class correctly?
The 'litmus test' is simply going to Document -> Settings -> Document Class and seeing that ociamthesis-lyx is available for selection.
Q. How do I change the logo on the titlepage to my university?
A. First, get a copy of your logo in PDF format, preferably square, and put it into titlepage/mylogo.pdf. Then, go into Document > settings > Latex preamble and change the line:
to point to your new logo file.
Q. Where is my LyX user directory?
A. The location of the LyX user directory depends upon the system LyX is installed on. Some common locations are below. * Linux and other Unix-like systems: usually found at ~/.lyx, where ~ is your home directory. * Mac OS X: ~/Library/Application Support/LyX-/ * Windows Vista / Windows 7: usually at C:\Users[your username]\AppData\Roaming\lyx\ (note: this is if you installed LyX for all users) (from http://wiki.lyx.org/LyX/UserDir)
Q. What are the main differences between the ociamthesis-lyx.cls and the original one?
A. I've edited the ociamthesis.cls and removed all the metafont definitions because from experience they complicate things -- and hey, who uses metafonts nowadays? I also moved the titlepage logo definition to the document preamble. I felt these changes made it a derivative so appended -lyx to the filename.
Q. Is there an equivalent ociamthesis.cls for Humanities?
A. Yes, there is a latex class out there: S. Evans has modified the ociamthesis.cls to make it conform to the regulations for Humanities. This can be found online at http://samuelevansresearch.org/main/2010/05/oxford-thesis-latex-template/. He's added a definition to ociamthesis.cls called 'frontpages' which adds a few necessary bells and whistles.
Q. How can I change the title page to my requirements?
A. This isn't particularly easy: https://github.com/telegraphic/Oxford-LyX-Thesis-Template/wiki/Custom-titlepages
Good luck, email me with any questions at email@example.com and I'll try and help out!