% Load package Babel => JadeTeX loads hyphenations patterns for UKenglish \usepackage[UKenglish]{babel} % Include LaTeX package 'url' \usepackage{url} % These packages are used in the Glossary environment % \usepackage{ifthen} % \usepackage{calc} % These package is used for wraping text around graphics % \usepackage{wrapfig} % Define the space between the text and the image % \setlength{\columnsep}{0.5cm} % Change the penalty, to avoid orphan title % makeatletter % def\QueryPageBreak{% % ifBreakMe % \ifvmode % \penalty\@M % \else % \@bsphack % \vadjust{\penalty\@M}% % \@esphack % \fi % else % \ifnum\KeepWithNext=1 % \penalty-5000% Old : -600 % \else % \penalty\z@ % \fi % fi % % makeatother % Change these penalties to avoid long title to be split between two pages \clubpenalty=5000 % Old : 4000 \widowpenalty=5000 % Old : 2000 % Change the tolerance, to make hyphens of URLs easier \tolerance=2000 % Redefine this command so that JadeTeX writes TOC info in the .aux file % makeatletter % def\endNode#1{% % \FlowObjectSetup{1}% % \let\Label\@empty\let\Element\@empty%\noindent% % % makeatother % Define an environment for the glossary % newlength{\tailleEntree} % newcommand{\styleEntree}[1]{% % settowidth{\tailleEntree}{\textbf{\textit{#1}}}% % \ifthenelse{\lengthtest{\tailleEntree > \labelwidth}}% % {\parbox[b]{\labelwidth}% % {\makebox[0pt][l]{\textbf{\textit{#1}}}\\}}% % {\parbox[b]{\labelwidth}% % {\textbf{\textit{#1}}\\}}% % % % newenvironment{Glossentry} % % begin{list}{} % % renewcommand{\makelabel}{\styleEntree} % setlength{\labelwidth}{0.8cm} % setlength{\labelsep}{0cm} % setlength{\leftmargin}{\labelwidth + \labelsep} % setlength{\listparindent}{0cm} % % % \end{list}} % Define new aliases for Fonts installed on the system % \makeatletter % \def\Family@Utopia{put} % \def\Family@ZapfChancery{pzc} % \def\Family@Fibonacci{cmfib} % \def\Family@Funny{cmfr} % \def\Family@Dunhill{cmdh} % \def\Family@Concrete{ccr} % \def\Family@Charter{bch} % \def\Family@Fontpxr{pxr} % \def\Family@Fontaer{aer} % \def\Family@Fontaess{aess} % \def\Family@Fontaett{aett} % \def\Family@Fontlcmss{lcmss} % \def\Family@Fontlcmtt{lcmtt} % \def\Family@Fontcmvtt{cmvtt} % \def\Family@Fontcmbr{cmbr} % \def\Family@Fontcmtl{cmtl} % \def\Family@Fontpxss{pxss} % \def\Family@Fonttxss{txss} % \def\Family@Fonttxr{txr} % \makeatother % Define the language : must be done by the ./configure % Syntax example. % For french, add the followuing line : % \global\def\Language{FR} \global\def\Language{UK} \def\PageTwoSide{1} \def\TwoSideStartOnRight{1} \def\Hyphenate{1} \def\Quadding{justify} \def\Gin@extensions{.pdf,.png,.jpg,.mps,.tif} % \usepackage{amsmath} % \usepackage{amstext} % \usepackage{amsfonts} % \usepackage{amssymb} \usepackage[pdftex]{thumbpdf} \usepackage[T1]{fontenc} \usepackage{ae,aecompl} \usepackage{fancyhdr} \pagestyle{fancy} % Example for a navigation bar in the footer % \newcommand{\NavigationBar}{% % \Acrobatmenu{PrevPage}{Previous}~ % \Acrobatmenu{NextPage}{Next}~ % \Acrobatmenu{FirstPage}{First}~ % \Acrobatmenu{LastPage}{Last}~ % \Acrobatmenu{GoBack}{Back}~ % \Acrobatmenu{Quit}{Quit}% % } % \cfoot{\NavigationBar} % Example for special header and footer % (\chaptermark is rewritten for twoside-option, % where on the left page the chapter and on the % right page the section are part of the header: % (BUT: brings the error that chaptermark is unknown!) % % \renewcommand{\chaptermark}[1]{% twoside and % \markboth{% % \ifnum \c@secnumdepth >\m@ne % \hfill\thechapter\quad \if @mainmatter % \@chapapp\ \thechapter\quad % \fi % \fi % #1% % }{% % \ifnum \c@secnumdepth >\m@ne % \if @mainmatter % \@chapapp\ \thechapter\quad % \fi % \fi % #1% % }% % }% % This is one possibility to define fancy headers % Uncomment the following lines, if you like it. % % \usepackage{color} % \definecolor{myColor}{rgb}{0.9,0.9,0.9} % \fancyhead{}% delte the defaults % \fancyhead[RE,LO]{\bf\large\thepage} % right-even and left-odd % \fancyhead[LE]{\colorbox{myColor}{\parbox{0.9\columnwidth}{\leftmark}}} % even pages! % \fancyhead[RO]{\colorbox{myColor}{\parbox{0.9\columnwidth}{\rightmark}}} % odd pages! % \fancyfoot{} % clear % \renewcommand\sectionmark[1]{\markright{\thesection\ #1}} % \renewcommand\headrulewidth{0pt} % \renewcommand\footrulewidth{0pt} % This is another possibility to define fancy headers % Uncomment the following lines, if you like this one. % \fancyhf{} \fancyhead[EL]{\thepage}% even pages, left \fancyhead[ER]{\leftmark}% even pages, right \fancyhead[OL]{\rightmark}% odd pages, left \fancyhead[OR]{\thepage}% odd pages, right \renewcommand{\sectionmark}[1]{ \markboth{\thesection{} #1}{} } \renewcommand{\subsectionmark}[1]{ \markright{\thesubsection{} #1} } % \renewcommand\headrulewidth{0pt} \renewcommand\footrulewidth{0pt} % Yet another possibility to try out for fancy headers: % % \addtolength{\headwidth}{20pt} % \renewcommand{\chaptermark}[1]{\markboth{\thechapter.\ #1}{}} % \renewcommand{\sectionmark}[1]{\markright{\thesection \ #1}{}} % \cfoot{} % \rhead[\fancyplain{}{\bfseries\leftmark}]{\fancyplain{}{\bfseries\thepage}} % \lhead[\fancyplain{}{\bfseries\thepage}]{\fancyplain{}{\bfseries\rightmark}} \hypersetup{a4paper=true, plainpages=false, colorlinks=true, pdfpagemode=UseOutlines, % FullScreen, UseNone, UseOutlines, UseThumbs bookmarksopen=true, bookmarksopenlevel=2, colorlinks=true, linkcolor=blue, urlcolor=blue, breaklinks=true, pdfstartview=FitH, % Fit, FitH, FitV, FitBH pagebackref=true, pdfhighlight=/I, baseurl={http://www.karakas-online.de/mySGML/}, pdftitle={Document processing with LyX and SGML}, pdfsubject={Linux,document processing}, pdfauthor={Copyright \textcopyright 2004-2006, Chris Karakas}, pdfkeywords={Linux SGML LyX DSSSL DocBook document processing formatting} } % An attempt to get underscores correctly in URLs. % Works, but messes up the "icon_xxx.yyy" names of % the smilies. % % \usepackage{underscore} % \begingroup % \lccode`\~=`\_ % \lowercase{\endgroup % \pdfstringdefDisableCommands{\let~\relax}% % } % New ideas from % http://lukasz.bromirski.net/archives/000006.html % \pdfstringdefDisableCommands{% \let\textsubscript\relax } \pdfoutput=1 \pdfimageresolution=133 \pdfcompresslevel=9