I have recently upgraded from Ubuntu 11.04 to Ubuntu 11.10. I also installed "vanilla" TexLive 2011 (instead of the old TexLive 2009 from the repositories) and upgraded it with sudo tlmgr update --self -all
so all the packages are in the latest version. I currently need TexLive to write my PhD thesis and I use classicthessis
package to do it.
In the new version of the classicthesis
, v.3.0 that comes with TexLive 2011 the package is used by issuing just
\usepackage {classicthesis-preamble}
which is loaded as the first package in the preamble and then it sets everything and loads the classicthesis
package (it is in the last line).
My question now is: Is there a way to pass options to the classicthesis
package and/or how can I disable some of the default options that classicthesis-preamble
passes to the classicthesis
package – FROM MY PREAMBLE (i.e. without altering the installed classicthesis files or creating their copies in my document folder and altering those?
For example, classicthesis-preamble passes drafting
option to the classicthesis
\PassOptionsToPackage{....,drafting,...}{classicthesis}
and I want to compile the my document without that option – but would prefer to do it from the preamble of my own document.
I tried reloading the classicthesis
after classisthesis-preamble
with my own set of options, expecting some error because classicthesis
would be already called from the classicthesis-preamble
:
\usepackage{classicthesis-preamble}
\usepackage[<some,option,set,that,does,not,contain,"drafting">]{classicthesis}
but there was no error, but no change in the options either. I tried using \PassOptionsToPackage
but it can just add additional options to the existing ones. I tried googling for similar command that can replace instead of add options, but did not find one.
Best Answer
André Miede's idea is that one should copy
classicthesis-preamble.sty
in the working directory and changes is to suit the needs for a particular job.Not a very good idea, in my opinion, as the code in this package is quite intimidating for the novice and does not limit itself to some
lines, maybe with some auxiliary definitions. It's not very clear why saying
is to be preferred to the simpler
or what the novice user is supposed to do with
which is code that should go in
classicthesis.sty
.If you feel intimidated by
classicthesis-preamble.sty
, then don't load it and add the packages you need, passing the desired options directly to classicthesis.For example
which might be sufficient for many purposes.