% ====================[ classicthesis-lyx-conf.sty ]==================== % [ Time-stamp: "2009-04-18 19:29:36 leycec" ] % % --------------------( SYNOPSIS )-------------------- % This file is harvested, wholesale, from the original preamble of % "ClassicThesis.tex" shipped with classicthesis. This file is intended to be % included in the preamble of this classicthesis LyX port, and comes inspired by % Nick Mariette's generous earlier classicthesis LyX port. % % --------------------( CHANGES )-------------------- % This file is substantially altered from the original version, since: % % * All LaTeX commands following the preamble in the original version comprise % the LaTeX document and must thus be converted into comparable LyX commands. % This has been done for you, already, in the "ClassicThesis.lyx" file. % * Some LaTeX commands in the preamble are better left to your configuration. % This includes the document class, which should instead be graphically % configured through the LyX GUI at: % % Document Settings --> Document Class --> Class options % % --------------------( CHANGELOG )-------------------- % 2009-08-01 Cecil Curry % * Created. % ....................{ PROVIDES }.................... \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{classicthesis-lyx-conf}[2009/08/01 v0.0.1 Classic Thesis cum LyX Configuration] % ....................{ BOOLEANS }.................... % Set boolean options declared at the top of "classicthesis-lyx.sty". % classicthesis-lyx. (See below for "ctl@biblatex".) \setboolean{ctl@iwona}{true} \setboolean{ctl@monochrome}{false} \setboolean{ctl@tikz}{false} % classicthesis. \setboolean{ctl@drafting}{true} \setboolean{ctl@minionpro}{false} \setboolean{ctl@nochapters}{false} % i18n. \setboolean{ctl@english}{true} \setboolean{ctl@french}{false} \setboolean{ctl@german}{false} \setboolean{ctl@spanish}{false} \setboolean{ctl@italian}{false} % ....................{ STRINGS }.................... % Name the first part: "A Modest Proposal." The second? "A Modular Implementation." % Maybe. % Set string constants. Technically, these are commands which classicthesis-lyx % expands to constant values. When setting these values, please be aware: % % * All such values should end with \xspace. This lets these commands be used % throughout ".lyx" files without regard for whether these commands are % followed by punctuation or whitespace. (It's a wee complex. Trust us...) % * Empty values should be set to {}, rather than {\relax}. \relax is the LaTeX % no-op command and, though it does print nothing, produces a value which % tests false for emptiness when used in LaTeX conditionals. (Again, it's a % wee complex. Ar!) \newcommand{\myTitle}{Wikiclustering\xspace} \newcommand{\mySubtitle}{Machine Clustering the Wikipedia Corpus\xspace} \newcommand{\myDegree}{A Master's Degree Proposal\xspace} \newcommand{\myName}{Brian W. Curry\xspace} \newcommand{\myProfessor}{Andrew Trotman\xspace} \newcommand{\mySupervisor}{\relax} \newcommand{\myDepartment}{INEX 2010 Entity Ranking Track\xspace} \newcommand{\myFaculty}{Department of Computer Science\xspace} \newcommand{\myUniversity}{University of Otago\xspace} \newcommand{\myLocation}{Dunedin, New Zealand\xspace} \newcommand{\myDuration}{February~2010 -- February~2011\xspace} \newcommand{\myYear}{2009\xspace} \newcommand{\myTimestamp}{August~\myYear\xspace} \newcommand{\myVersion}{Version~0.0.1\xspace} % ....................{ BIBTEX }.................... % Enable BibLaTeX, rather than Natbib. \setboolean{ctl@biblatex}{true} % Declare the bibiography database to be used. This defaults to the ".bib" % file supplied by classicthesis-lyx, to avoid absolute path issues. Note % that if you change this, it should not contain the ".bib" suffix. (The % filename of the actual file should, of course.) % % If this file is declared without a path, it must exist under a path indexed by % the "texhash" command (e.g., "/usr/share/texmf-dist/tex/latex/biblatex/" or % some such). If it resides elsewhere, it must be prefixed with its absolute % path. For example, \newcommand{\myBibliography}{~/pub/code/otago.ac.nz/proposal/bibliography} %FIXME: Change to "backend=biber," when officially supported. % Configure BibLaTeX, if enabled. Note that the "biblatex" package itself is % already required and afforded a default configuration by the % "classicthesis-lyx-ldpkg" package. \ifthenelse{\boolean{ctl@biblatex}}% {% Select the "alphabetic" bibliography and citation style. That is, print % alphanumeric citation references resembling "[Knu87]." Change this to suite % your thesis' field of study! \PassOptionsToPackage{style=alphabetic}{biblatex}% % Sort bibliographic entries by alphabetic label, author, year, title, and % volume. The BibLaTeX default is to sort entries by author, title, and year; % however, this prints awkward output for alphabetic bibliographies. If you % select a non-alphabetic style above, you should probably uncomment this: %\PassOptionsToPackage{sorting=nyt}{biblatex}% \PassOptionsToPackage{sorting=anyt}{biblatex}% % Inform BibLaTeX that we are processing its output with the "bibtex8" or % "biber" binaries rather than the default "bibtex" binary. This enables % case-sensitive sorting, among other niceties. (If this is not the case for % your system, please change "bibtex8" to "bibtex," below.) \PassOptionsToPackage{backend=bibtex8}{biblatex}% }% {} % ....................{ PDF }.................... % Enable PDF-specific logic, elsewhere, if the current document is being output % under "PDFLaTeX," the PDF-specific LaTeX engine. \ifpdf\setboolean{ctl@pdf}{true} \else\setboolean{ctl@pdf}{false} \fi % ....................{ COMMANDS }.................... % Define thesis-specific commands as shortcuts to common terms, expressions, or % other phrases. For example, my Master's thesis defines these: \newcommand{\EW}{\term{English Wikipedia}\xspace} \newcommand{\IW}{\term{Italian Wikipedia}\xspace} \newcommand{\MW}{\noun{MediaWiki}\xspace} \newcommand{\MWT}{\noun{MediaWiki \emph{Toolserver}}\xspace} % --------------------( COPYRIGHT AND LICENSE )-------------------- % The information below applies to everything in this distribution, % except where noted. % % Copyleft 2010 by Cecil Curry. % % http://www.raiazome.com % % This program is free software; you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by % the Free Software Foundation; either version 3 of the License, or % (at your option) any later version. % % This program is distributed in the hope that it will be useful, % but WITHOUT ANY WARRANTY; without even the implied warranty of % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the % GNU General Public License for more details. % % You should have received a copy of the GNU General Public License % along with this program. If not, see .