%% %% This is file `lwarp.sty', %% generated with the docstrip utility. %% %% The original source files were: %% %% lwarp.dtx (with options: `package') %% This is a generated file. %% Copyright 2016-2017 Brian Dunn %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 %% of this license or (at your option) any later version. %% The latest version of this license is in %% http://www.latex-project.org/lppl.txt %% and version 1.3 or later is part of all distributions of LaTeX %% version 2005/12/01 or later. \NeedsTeXFormat{LaTeX2e}[1999/12/01] \ProvidesPackage{lwarp} [2017/08/17 v0.36 Allows LaTeX to directly produce HTML5 output.] \RequirePackage{iftex} \ifLuaTeX \RequirePackage{luatex85}% until the geometry package is updated \fi \RequirePackage{newunicodechar} \newunicodechar{⨯}{\texttimes} \ifPDFTeX \newunicodechar{ff}{ff}% the first arguments are ligatures \newunicodechar{fi}{fi} \newunicodechar{fl}{fl} \newunicodechar{ffi}{ffi} \newunicodechar{ffl}{ffl} \newunicodechar{—}{---} \newunicodechar{–}{--} \RequirePackage{upquote} \else \fi \RequirePackage{etoolbox}[2011/01/03] \RequirePackage{ifplatform}% sense op-system platform \RequirePackage{comment} \excludecomment{testing} \RequirePackage{letltxmacro} \newbool{usingOSWindows} \boolfalse{usingOSWindows} \newcommand*{\OSPathSymbol}{/} \newcommand*{\LWR@setOSWindows} { \booltrue{usingOSWindows} \renewcommand*{\OSPathSymbol}{\@backslashchar} } \ifwindows \LWR@setOSWindows \fi \RequirePackage{kvoptions} \SetupKeyvalOptions{family=LWR,prefix=LWR@} \newbool{warpingprint} \newbool{warpingHTML} \newbool{mathjax} \newcommand{\warpprintonly}[1]{\ifbool{warpingprint}{#1}{}} \newcommand{\warpHTMLonly}[1]{\ifbool{warpingHTML}{#1}{}} \includecomment{warpall} \DeclareVoidOption{warpprint}{% \PackageInfo{lwarp}{Using option 'warpprint'} \includecomment{warpprint}% \excludecomment{warpHTML}% \booltrue{warpingprint}% \boolfalse{warpingHTML}% } \DeclareVoidOption{warpHTML}{% \PackageInfo{lwarp}{Using option 'warpHTML'} \excludecomment{warpprint}% \includecomment{warpHTML}% \booltrue{warpingHTML}% \boolfalse{warpingprint}% } \DeclareVoidOption{mathsvg}{% \PackageInfo{lwarp}{Using option 'mathsvg'} \boolfalse{mathjax}% } \DeclareVoidOption{mathjax}{% \PackageInfo{lwarp}{Using option 'mathjax'} \booltrue{mathjax}% } \DeclareStringOption[\jobname]{BaseJobname} \DeclareStringOption[english]{IndexLanguage} \DeclareStringOption[lwarp.xdy]{xdyFilename} \DeclareVoidOption{lwarpmk}{ \PackageInfo{lwarp}{Using option 'lwarpmk'} \includecomment{LWR@createlwarpmk} } \DeclareVoidOption{OSWindows}{ \PackageInfo{lwarp}{Using option 'OSWindows'} \LWR@setOSWindows } \DeclareStringOption[]{HomeHTMLFilename} \DeclareStringOption[]{HTMLFilename} \DeclareBoolOption[false]{latexmk} \includecomment{warpprint}% \excludecomment{warpHTML}% \booltrue{warpingprint}% \boolfalse{warpingHTML}% \boolfalse{mathjax}% \excludecomment{LWR@createlwarpmk} \ProcessKeyvalOptions*\relax \providecommand*{\BaseJobname}{\LWR@BaseJobname} \ifcsempty{LWR@HomeHTMLFilename}{ \newcommand*{\HomeHTMLFilename}{\BaseJobname} }{ \csedef{HomeHTMLFilename}{\LWR@HomeHTMLFilename} } \csedef{HTMLFilename}{\LWR@HTMLFilename} \newcommand*{\LWR@loadafter}[1]{% \@ifpackageloaded{#1} { \PackageError{lwarp} {Package #1, or one which uses #1, must be loaded after lwarp} {Move \detokenize{\usepackage}{#1} after \detokenize{\usepackage}{lwarp}. Package #1 may also be loaded by something else, which must also be moved after lwarp.} } {} } \newcommand*{\LWR@loadbefore}[1]{% \@ifpackageloaded{#1} {} { \PackageError{lwarp} {Package #1 must be loaded before lwarp} {Move \detokenize{\usepackage}{#1} before \detokenize{\usepackage}{lwarp}.} } } \newcommand*{\LWR@loadnever}[2]{% \PackageError{lwarp} {Package #1 is not supported by lwarp's HTML conversion. Package(s) #2 may be useful instead} {Package #1 might conflict with lwarp in some way, or is superceded by another package. For a possible alternative, see package(s) #2.} } \LWR@loadafter{abstract} \LWR@loadafter{afterpage} \LWR@loadafter{algorithmicx} \LWR@loadafter{alltt} \LWR@loadafter{amsthm} \LWR@loadafter{array} \LWR@loadafter{balance} \LWR@loadafter{bookmark} \LWR@loadafter{booktabs} \LWR@loadafter{boxedminipage} \LWR@loadafter{boxedminipage2e} \LWR@loadafter{ccaption} \LWR@loadafter{changepage} \LWR@loadafter{crop} \LWR@loadafter{cutwin} \LWR@loadafter{dcolumn} \LWR@loadafter{draftwatermark} \LWR@loadafter{ellipsis} \LWR@loadafter{emptypage} \LWR@loadafter{enumerate} \LWR@loadafter{enumitem} \LWR@loadafter{epigraph} \LWR@loadafter{eso-pic} \LWR@loadafter{everypage} \LWR@loadafter{everyshi} \LWR@loadafter{extramarks} \LWR@loadafter{fancybox} \LWR@loadafter{fancyhdr} \LWR@loadafter{fancyvrb} \LWR@loadafter{figcaps} \LWR@loadafter{float} \LWR@loadafter{floatflt} \LWR@loadafter{floatpag} \LWR@loadafter{floatrow} \LWR@loadafter{flushend} \LWR@loadafter{ftnright} \LWR@loadafter{fullpage} \LWR@loadafter{geometry} \LWR@loadafter{glossaries} \LWR@loadafter{hyperref} \LWR@loadafter{hyperxmp} \LWR@loadafter{idxlayout} \LWR@loadafter{indentfirst} \LWR@loadafter{keyfloat} \LWR@loadafter{layout} \LWR@loadafter{letterspace} \LWR@loadafter{lettrine} \LWR@loadafter{lips} \LWR@loadafter{listings} \LWR@loadafter{longtable} \LWR@loadafter{lscape} \LWR@loadafter{ltcaption} \LWR@loadafter{marginfit} \LWR@loadafter{marginfix} \LWR@loadafter{marginnote} \LWR@loadafter{mcaption} \LWR@loadafter{mdframed} \LWR@loadafter{microtype} \LWR@loadafter{moreverb} \LWR@loadafter{mparhack} \LWR@loadafter{multirow} \LWR@loadafter{nameref} \LWR@loadafter{needspace} \LWR@loadafter{newtxmath} \LWR@loadafter{nextpage} \LWR@loadafter{nowidow} \LWR@loadafter{ntheorem} \LWR@loadafter{pagenote} \LWR@loadafter{paralist} \LWR@loadafter{parskip} \LWR@loadafter{pdflscape} \LWR@loadafter{pdfsync} \LWR@loadafter{placeins} \LWR@loadafter{prelim2e} \LWR@loadafter{ragged2e} \LWR@loadafter{rotating} \LWR@loadafter{rotfloat} \LWR@loadafter{savetrees} \LWR@loadafter{setspace} \LWR@loadafter{shadow} \LWR@loadafter{showidx} \LWR@loadafter{showkeys} \LWR@loadafter{sidecap} \LWR@loadafter{sidenotes} \LWR@loadafter{soul} \LWR@loadafter{subfig} \LWR@loadafter{tabularx} \LWR@loadafter{tabulary} \LWR@loadafter{textpos} \LWR@loadafter{theorem} \LWR@loadafter{threeparttable} \LWR@loadafter{tikz} \LWR@loadafter{titleps} \LWR@loadafter{titlesec} \LWR@loadafter{titletoc} \LWR@loadafter{tocloft} \LWR@loadafter{transparent} \LWR@loadafter{trivfloat} \LWR@loadafter{ulem} \LWR@loadafter{upref} \LWR@loadafter{varioref} \LWR@loadafter{verse} \LWR@loadafter{wallpaper} \LWR@loadafter{wrapfig} \LWR@loadafter{xcolor} \LWR@loadafter{xfrac} \LWR@loadafter{xmpincl} \begin{warpall} \RequirePackage{iftex} \newif\ifxetexorluatex \ifXeTeX \xetexorluatextrue \else \ifLuaTeX \xetexorluatextrue \else \xetexorluatexfalse \fi \fi \end{warpall} \begin{warpHTML} \ifxetexorluatex \defaultfontfeatures[\rmfamily]{Ligatures={NoCommon,TeX}} \defaultfontfeatures[\sffamily]{Ligatures={NoCommon,TeX}} \defaultfontfeatures[\ttfamily]{Ligatures=NoCommon} \else \RequirePackage {microtype} \microtypesetup{ protrusion=false, expansion=false, tracking=false, kerning=false, spacing=false} \DisableLigatures[f,q,t,T,Q]{encoding = *,family = *} \fi \end{warpHTML} \begin{warpHTML} \RequirePackage[paperheight=190in,paperwidth=20in,% left=2in,right=12in,% top=1in,bottom=1in,% ]{geometry} \@twosidefalse \@mparswitchfalse \end{warpHTML} \begin{warpall} \RequirePackage{xparse} \end{warpall} \begin{warpHTML} \RequirePackage{expl3} \RequirePackage{gettitlestring} \RequirePackage{everyhook} \end{warpHTML} \begin{warpall} \RequirePackage{filecontents} \@ifpackagelater{filecontents}{2011/10/09}% {} { \newwrite\fcwrite \let\LWR@origfilec@ntents\filec@ntents \def\filec@ntents{\def\chardef##1\write{\let\reserved@c\fcwrite}\LWR@origfilec@ntents} } \end{warpall} \begin{warpHTML} \RequirePackage{xifthen} \RequirePackage{xstring} \RequirePackage{verbatim} \RequirePackage{makeidx} \makeindex \RequirePackage{calc} \RequirePackage{refcount} \RequirePackage{newfloat} \RequirePackage{caption} \end{warpHTML} \begin{warpall} \RequirePackage{titling} \RequirePackage{environ} \end{warpall} \begin{warpHTML} \RequirePackage{zref} \PassOptionsToPackage{leqno}{amsmath} \RequirePackage{amsmath} \RequirePackage{xfrac} \RequirePackage{printlen} \end{warpHTML} \begin{warpHTML} \LetLtxMacro{\LWR@origRequirePackage}{\RequirePackage} \newcommand*{\LWR@requirepackagenames}{} \newcommand*\LWR@findword[3][,]{% \StrBetween[#3,\numexpr#3+1]{#1#2#1}{#1}{#1}% } \newcommand*{\LWR@lookforpackagename}[1]{% \LWR@findword{\LWR@requirepackagenames}{#1}[\LWR@strresult]% \StrSubstitute[100]{\LWR@strresult}{ }{}[\LWR@strresulttwo]% \IfStrEq{\LWR@strresulttwo}{}% {}% no filename {% yes filename \IfFileExists{lwarp-\LWR@strresulttwo.sty}% {% lwarp-* file found \StrSubstitute% {\LWR@requirepackagenames}% {\LWR@strresult}% {lwarp-\LWR@strresulttwo}[\LWR@requirepackagenames]% }% {}% no lwarp-* file }% yes filename } \RenewDocumentCommand{\RequirePackage}{o m o}{% \renewcommand*{\LWR@requirepackagenames}{#2} \LWR@lookforpackagename{1} \LWR@lookforpackagename{2} \LWR@lookforpackagename{3} \LWR@lookforpackagename{4} \LWR@lookforpackagename{5} \LWR@lookforpackagename{6} \LWR@lookforpackagename{7} \LWR@lookforpackagename{8} \LWR@lookforpackagename{9} \IfValueTF{#1} {% options given \IfValueTF{#3}% version given? {\LWR@origRequirePackage[#1]{\LWR@requirepackagenames}[#3]} {\LWR@origRequirePackage[#1]{\LWR@requirepackagenames}} } {% no options given \IfValueTF{#3}% version given? {\LWR@origRequirePackage{\LWR@requirepackagenames}[#3]} {\LWR@origRequirePackage{\LWR@requirepackagenames}} } } \LetLtxMacro{\usepackage}{\RequirePackage} \NewDocumentCommand{\LWR@ProvidesPackagePass}{m o}{ \PackageInfo{lwarp}{Using package `#1' and adding lwarp modifications, including options,}% \IfValueTF{#2} {\ProvidesPackage{lwarp-#1}[#2]} {\ProvidesPackage{lwarp-#1}} \DeclareOption*{\PassOptionsToPackage{\CurrentOption}{#1}} \ProcessOptions\relax \IfValueTF{#2} {\LWR@origRequirePackage{#1}[#2]} {\LWR@origRequirePackage{#1}} } \NewDocumentCommand{\LWR@ProvidesPackageDrop}{m o}{ \PackageInfo{lwarp}{Replacing package `#1' with the lwarp version, discarding options,}% \IfValueTF{#2} {\ProvidesPackage{lwarp-#1}[#2]} {\ProvidesPackage{lwarp-#1}} \DeclareOption*{} \ProcessOptions\relax } \end{warpHTML} \begin{warpHTML} \newcommand*{\LWR@copyfile}[2]{% \newwrite\copyfile % open the file to write to \immediate\openout\copyfile=#2 \newread\file % open the file to read from \openin\file=#1 \begingroup\endlinechar=-1 \makeatletter \loop\unless\ifeof\file \read\file to\fileline % Read one line and store it into \fileline \immediate\write\copyfile{\unexpanded\expandafter{\fileline}}% \repeat \closeout\copyfile \endgroup } \end{warpHTML} \begin{warpall} \newbool{LWR@tracinglwarp} \newcommand{\tracinglwarp}{\booltrue{LWR@tracinglwarp}} \newcommand{\LWR@traceinfo}[1]{% \ifbool{LWR@tracinglwarp}% {% \typeout{*** lwarp: #1}% % \PackageInfo{lwarp}{#1 : }% }% {}% } \newbool{HTMLDebugComments} \boolfalse{HTMLDebugComments} \AfterEndPreamble{ \LWR@traceinfo{AfterEndPreamble} } \AtBeginDocument{ \LWR@traceinfo{AtBeginDocument} } \newbool{FormatEPUB} \boolfalse{FormatEPUB} \newbool{FormatWordProcessor} \boolfalse{FormatWordProcessor} \newbool{HTMLMarkFloats} \booltrue{HTMLMarkFloats} \end{warpall} \begin{warpHTML} \LetLtxMacro{\LWR@origtextrm}{\textrm} \LetLtxMacro{\LWR@origtextsf}{\textsf} \LetLtxMacro{\LWR@origtexttt}{\texttt} \LetLtxMacro{\LWR@origtextnormal}{\textnormal} \LetLtxMacro{\LWR@origtextbf}{\textbf} \LetLtxMacro{\LWR@origtextmd}{\textmd} \LetLtxMacro{\LWR@origtextit}{\textit} \LetLtxMacro{\LWR@origtextsl}{\textsl} \LetLtxMacro{\LWR@origtextsc}{\textsc} \LetLtxMacro{\LWR@origtextup}{\textup} \LetLtxMacro{\LWR@origemph}{\emph} \LetLtxMacro{\LWR@origrmfamily}{\rmfamily} \LetLtxMacro{\LWR@origsffamily}{\sffamily} \LetLtxMacro{\LWR@origttfamily}{\ttfamily} \LetLtxMacro{\LWR@origbfseries}{\bfseries} \LetLtxMacro{\LWR@origmdseries}{\mdseries} \LetLtxMacro{\LWR@origupshape}{\upshape} \LetLtxMacro{\LWR@origslshape}{\slshape} \LetLtxMacro{\LWR@origscshape}{\scshape} \LetLtxMacro{\LWR@origitshape}{\itshape} \LetLtxMacro{\LWR@origem}{\em} \LetLtxMacro{\LWR@orignormalfont}{\normalfont} \let\LWR@origraggedright\raggedright \let\LWR@origonecolumn\onecolumn \let\LWR@origsp\sp \let\LWR@origsb\sb \let\LWR@origtextsuperscript\textsuperscript \let\LWR@origtextsubscript\textsubscript \let\LWR@origscriptsize\scriptsize \let\LWR@orignewpage\newpage \let\LWR@origpagestyle\pagestyle \let\LWR@origthispagestyle\thispagestyle \let\LWR@origpagenumbering\pagenumbering \LetLtxMacro{\LWR@origminipage}{\minipage} \let\LWR@origendminipage\endminipage \LetLtxMacro{\LWR@origparbox}{\parbox} \let\LWR@orignewline\newline \LetLtxMacro{\LWR@origitem}{\item} \LetLtxMacro{\LWR@origitemize}{\itemize} \LetLtxMacro{\LWR@endorigitemize}{\enditemize} \LetLtxMacro{\LWR@origenumerate}{\enumerate} \LetLtxMacro{\LWR@endorigenumerate}{\endenumerate} \LetLtxMacro{\LWR@origdescription}{\description} \LetLtxMacro{\LWR@endorigdescription}{\enddescription} \let\LWR@origpar\par \LetLtxMacro{\LWR@origfootnote}{\footnote} \let\LWR@orig@mpfootnotetext\@mpfootnotetext \let\LWR@origclearpage\clearpage \let\clearpage\relax \let\cleardoublepage\relax \end{warpHTML} \begin{warpHTML} \AtBeginDocument{% in case textcomp was not loaded \providecommand*{\textdegree}{DEG} \providecommand*{\textcelsius}{DEGC} \providecommand*{\textohm}{OHM} \providecommand*{\textmu}{MU} \let\LWR@origtextdegree\textdegree \let\LWR@origtextcelsius\textcelsius \let\LWR@origtextohm\textohm \let\LWR@origtextmu\textmu \ifPDFTeX \renewcommand*{\textdegree}{\HTMLentity{deg}} \renewcommand*{\textcelsius}{\HTMLentity{deg}\,C} \renewcommand*{\textohm}{\HTMLunicode{2126}} \renewcommand*{\textmu}{\HTMLunicode{00B5}} \else \renewcommand*{\textdegree}{°} \renewcommand*{\textcelsius}{°C} \renewcommand*{\textohm}{Ω} \renewcommand*{\textmu}{μ} \fi \@ifpackageloaded{siunitx} { \DeclareSIUnit\bohr{\textit{a}\textsubscript{0}} \DeclareSIUnit\clight{\textit{c}\textsubscript{0}} \DeclareSIUnit\elementarycharge{\textit{e}} \DeclareSIUnit\electronmass{\textit{m}\textsubscript{e}} \DeclareSIUnit\hartree{\textit{E}\textsubscript{h}} \DeclareSIUnit\planckbar{\HTMLunicode{210F}} }% siunitx loaded {} }% AtBeginDocument \end{warpHTML} \begin{warpprint} \typeout{lwarp: generating configuration files} \end{warpprint} \begin{warpprint} \ifcsdef{LWR@file}{}{\newwrite{\LWR@file}} \immediate\openout\LWR@file=\jobname_html.tex \immediate\write\LWR@file{% \detokenize{\PassOptionsToPackage}% {warpHTML,BaseJobname=\jobname}{lwarp}% } \immediate\write\LWR@file{% \detokenize{\input}\string{\jobname.tex\string }% } \immediate\closeout\LWR@file \end{warpprint} \begin{warpprint} \ifcsdef{LWR@file}{}{\newwrite{\LWR@file}} \immediate\openout\LWR@file=lwarpmk.conf \ifbool{usingOSWindows}{ \immediate\write\LWR@file{opsystem = "Windows"} }{ \immediate\write\LWR@file{opsystem = "Unix"} } \ifPDFTeX \immediate\write\LWR@file{latexname = "pdflatex"} \fi \ifXeTeX \immediate\write\LWR@file{latexname = "xelatex"} \fi \ifLuaTeX \immediate\write\LWR@file{latexname = "lualatex"} \fi \immediate\write\LWR@file{sourcename = "\jobname"} \immediate\write\LWR@file{% homehtmlfilename = "\HomeHTMLFilename"% } \immediate\write\LWR@file{htmlfilename = "\HTMLFilename"} \immediate\write\LWR@file{latexmk = "\ifbool{LWR@latexmk}{true}{false}"} \immediate\write\LWR@file{language = "\LWR@IndexLanguage"} \immediate\write\LWR@file{xdyfile = "\LWR@xdyFilename"} \immediate\closeout\LWR@file \end{warpprint} \begin{warpprint} \ifcsdef{LWR@file}{}{\newwrite{\LWR@file}} \immediate\openout\LWR@file=\jobname.lwarpmkconf \ifbool{usingOSWindows}{ \immediate\write\LWR@file{opsystem = "Windows"} }{ \immediate\write\LWR@file{opsystem = "Unix"} } \ifPDFTeX \immediate\write\LWR@file{latexname = "pdflatex"} \fi \ifXeTeX \immediate\write\LWR@file{latexname = "xelatex"} \fi \ifLuaTeX \immediate\write\LWR@file{latexname = "lualatex"} \fi \immediate\write\LWR@file{sourcename = "\jobname"} \immediate\write\LWR@file{% homehtmlfilename = "\HomeHTMLFilename"% } \immediate\write\LWR@file{htmlfilename = "\HTMLFilename"} \immediate\write\LWR@file{latexmk = "\ifbool{LWR@latexmk}{true}{false}"} \immediate\write\LWR@file{language = "\LWR@IndexLanguage"} \immediate\write\LWR@file{xdyfile = "\LWR@xdyFilename"} \immediate\closeout\LWR@file \end{warpprint} \begin{warpprint} \begin{filecontents*}{lwarp.css} /* CSS stylesheet for the LaTeX lwarp package Copyright 2016-2017 Brian Dunn — BD Tech Concepts LLC */ /* a fix for older browsers: */ header, section, footer, aside, nav, main, article, figure { display: block; } A:link {color:#000080 ; text-decoration: none ; } A:visited {color:#800000 ; } A:hover {color:#000080 ; text-decoration: underline ;} A:active {color:#800000 ; } a.tocpart {display: inline-block ; margin-left: 0em ; font-weight: bold ;} a.tocchapter {display: inline-block ; margin-left: 0em ; font-weight: bold ;} a.tocsection {display: inline-block ; margin-left: 1em ; text-indent: -.5em ; font-weight: bold ; } a.tocsubsection {display: inline-block ; margin-left: 2em ; text-indent: -.5em ; } a.tocsubsubsection {display: inline-block ; margin-left: 3em ; text-indent: -.5em ; } a.tocparagraph {display: inline-block ; margin-left: 4em ; text-indent: -.5em ; } a.tocsubparagraph {display: inline-block ; margin-left: 5em ; text-indent: -.5em ; } a.tocfigure {margin-left: 0em} a.tocsubfigure {margin-left: 2em} a.toctable {margin-left: 0em} a.tocsubtable {margin-left: 2em} a.toctheorem {margin-left: 0em} a.toclstlisting {margin-left: 0em} body { font-family: "DejaVu Serif", "Bitstream Vera Serif", "Lucida Bright", Georgia, serif; background: #FAF7F4 ; color: black ; margin:0em ; padding:0em ; font-size: 100% ; line-height: 1.2 ; } p {margin: 1.5ex 0em 1.5ex 0em ;} /* Holds a section number to add space between it and the name */ span.sectionnumber { margin-right: .6em } /* Inserted in front of index lines */ span.indexitem {margin-left: 0em} span.indexsubitem {margin-left: 2em} span.indexsubsubitem {margin-left: 4em} div.hidden, span.hidden { display: none ; } kbd { font-family: "DejaVu Mono", "Bitstream Vera Mono", "Lucida Console", "Nimbus Mono L", "Liberation Mono", "FreeMono", "Andale Mono", "Courier New", monospace; font-size: 100% ; } pre { padding: 3pt ; } span.strong { font-weight: bold; } span.textmd { font-weight: normal; } span.textsc { font-variant: small-caps; } span.textsl { font-style: oblique; } span.textup { font-variant: normal; } span.textrm { font-family: "DejaVu Serif", "Bitstream Vera Serif", "Lucida Bright", Georgia, serif; } span.textsf { font-family: "DejaVu Sans", "Bitstream Vera Sans", Geneva, Verdana, sans-serif ; } span.attribution { margin-left: 1em ; font-size: 80% ; font-variant: small-caps; } span.citetitle { margin-left: 1em ; font-size: 80% ; font-style: oblique; } span.poemtitle { font-size: 120% ; font-weight: bold; } blockquote { margin-left: 0px ; margin-right: 0px ; } blockquote p { line-height: 1.5; text-align: left ; font-size: .85em ; margin-left: 3em ; margin-right: 3em ; } blockquotation { margin-left: 0px ; margin-right: 0px ; } blockquotation p { line-height: 1.5; text-align: left ; font-size: .85em ; margin-left: 3em ; margin-right: 3em ; } div.epigraph { line-height: 1.2; text-align: left ; padding: 3ex 1em 0ex 1em ; /* margin: 3ex auto 3ex auto ; */ /* Epigraph centered */ margin: 3ex 1em 3ex auto ; /* Epigraph to the right */ /* margin: 3ex 1em 3ex 1em ; */ /* Epigraph to the left */ font-size: .85em ; max-width: 27em ; } div.epigraphsource{ text-align:right ; margin-left:auto ; /* max-width: 50% ; */ border-top: 1px solid #A0A0A0 ; padding-bottom: 3ex ; line-height: 1.2; } div.epigraph p { padding: .5ex ; margin: 0ex ;} div.epigraphsource p { padding: .5ex 0ex 0ex 0ex ; margin: 0ex ;} /* lettrine package: */ span.lettrine { font-size: 3ex ; float: left ; } span.lettrinetext { font-variant: small-caps ; } /* ulem and soul packages: */ span.uline { text-decoration: underline ; text-decoration-skip ; } span.uuline { text-decoration: underline ; text-decoration-skip ; text-decoration-style: double ; } span.uwave { text-decoration: underline ; text-decoration-skip ; text-decoration-style: wavy ; } span.sout { text-decoration: line-through ; } span.xout { text-decoration: line-through ; } span.dashuline { text-decoration: underline ; text-decoration-skip ; text-decoration-style: dashed ; } span.dotuline { text-decoration: underline ; text-decoration-skip ; text-decoration-style: dotted ; } span.letterspacing { letter-spacing: .2ex ; } span.capsspacing { font-variant: small-caps ; letter-spacing: .1ex ; } span.highlight { background: #F8E800 ; } html body { margin: 0 ; line-height: 1.2; } body div { margin: 0ex; } h1, h2, h3, h4, h5, h6, span.paragraph, span.subparagraph { font-family: "Linux Libertine O", "Hoefler Text", "Garamond", "Bembo", "Janson", "TeX Gyre Pagella", "Palatino", "Liberation Serif", "Nimbus Roman No 9 L", "FreeSerif", Times, "Times New Roman", serif; font-style: normal ; font-weight: bold ; text-align: left ; } h1 { /* title of the entire website, used on each page */ text-align: center ; font-size: 2.5em ; padding: .4ex 0em 0ex 0em ; } h2 { font-size: 2.25em } h3 { font-size: 2em } h4 { font-size: 1.75em } h5 { font-size: 1.5em } h6 { font-size: 1.25em } span.paragraph {font-size: 1em ; font-variant: normal ; margin-right: 1em ; } span.subparagraph {font-size: 1em ; font-variant: normal ; margin-right: 1em ; } /* Title of the file */ h1 { margin: 0ex 0em 0ex 0em ; line-height: 1.3; text-align: center ; } /* Part */ h2 { margin: 1ex 0em 1ex 0em ; line-height: 1.3; text-align: center ; } /* Chapter */ h3 { margin: 3ex 0em 1ex 0em ; line-height: 1.3; } /* Section */ h4 { margin: 3ex 0em 1ex 0em ; line-height: 1.3; } /* Sub-Section */ h5 { margin: 3ex 0em 1ex 0em ; line-height: 1.3; } /* Sub-Sub-Section */ h6 { margin: 3ex 0em 1ex 0em ; line-height: 1.3; } div.titlepage { text-align: center ; } .footnotes { font-size: .85em ; margin: 3ex 1em 0ex 1em ; padding-bottom: 1ex ; border-top: 1px solid silver ; } .marginpar { max-width:50%; float:right; text-align:left; margin: 1ex 0.5em 1ex 1em ; padding: 1ex 0.5em 1ex 0.5em ; font-size: 85% ; border-top: 1px solid silver ; border-bottom: 1px solid silver ; overflow-x: auto; } .marginpar br { margin-bottom: 2ex ; } div.marginblock { max-width:50%; float:right; text-align:left; margin: 1ex 0.5em 1ex 1em ; padding: 1ex 0.5em 1ex 0.5em ; overflow-x: auto; } div.marginblock div.minipage { display: block ; margin: 0pt auto 0pt auto ; } div.marginblock div.minipage p { font-size: 85%} div.marginblock br { margin-bottom: 2ex ; } section.textbody div.footnotes{ margin: 3ex 0em 0ex 0em ; border-bottom: 2px solid silver ; } .footnoteheader { border-top: 2px solid silver ; margin-top: 3ex ; padding-top: 1ex ; font-weight: bold ; } .mpfootnotes { text-align: left ; font-size: .85em ; margin-left: 1em ; border-top: 1px solid silver ; } /* Remove footnote top border in the title page. */ div.titlepage div.mpfootnotes { border-top: none ; } ol { margin: 1ex 1em 1ex 0em; line-height: 1.2; } ul, body dir, body menu { margin: 1ex 1em 1ex 0em; line-height: 1.2; } li { margin: 0ex 0em 1ex 0em; } html { margin: 0; padding: 0; } .programlisting { font-family: "DejaVu Mono", "Bitstream Vera Mono", "Lucida Console", "Nimbus Mono L", "Liberation Mono", "FreeMono", "Andale Mono", "Courier New", monospace; margin: 1ex 0ex 1ex 0ex ; padding: .5ex 0pt .5ex 0pt ; overflow-x: auto; } section.textbody>pre.programlisting { border-top: 1px solid silver ; border-bottom: 1px solid silver ; } .inlineprogramlisting { font-family: "DejaVu Mono", "Bitstream Vera Mono", "Lucida Console", "Nimbus Mono L", "Liberation Mono", "FreeMono", "Andale Mono", "Courier New", monospace; overflow-x: auto; } span.listinglabel { display: inline-block ; font-size: 70% ; width: 4em ; text-align: right ; margin-right: 2em ; } div.abstract { margin: 2em 5% 2em 5% ; padding: 1ex 1em 1ex 1em ; /* font-weight: bold ; */ font-size: 90% ; } div.abstract dl {line-height:1.5;} div.abstract dt {color:#304070;} div.abstracttitle{ font-family: "URW Classico", Optima, "Linux Biolinum O", "Linux Libertine O", "Liberation Serif", "Nimbus Roman No 9 L", "FreeSerif", "Hoefler Text", Times, "Times New Roman", serif; font-weight:bold; font-size:1.25em; text-align: center ; } span.abstractrunintitle{ font-family: "URW Classico", Optima, "Linux Biolinum O", "Linux Libertine O", "Liberation Serif", "Nimbus Roman No 9 L", "FreeSerif", "Hoefler Text", Times, "Times New Roman", serif; font-weight:bold; } .verbatim { overflow-x: auto ; } .alltt { overflow-x: auto ; } .bverbatim { margin: 1ex 0pt 1ex 0pt ; padding: .5ex 0pt .5ex 0pt ; overflow-x: auto ; } .lverbatim { margin: 1ex 0pt 1ex 0pt ; padding: .5ex 0pt .5ex 0pt ; overflow-x: auto ; } .fancyvrb { font-size:.85em ; margin: 3ex 0pt 3ex 0pt } .fancyvrblabel { font-weight:bold; text-align: center ; } .verse { font-family: "Linux Libertine Mono O", "Lucida Console", "Droid Sans Mono", "DejaVu Mono", "Bitstream Vera Mono", "Liberation Mono", "FreeMono", "Andale Mono", "Nimbus Mono L", "Courier New", monospace; margin-left: 1em ; } div.singlespace { line-height: 1.2 ; } div.onehalfspace { line-height: 1.5 ; } div.doublespace { line-height: 2 ; } /* Minipage environments, vertically aligned to top, center, bottom: */ .minipage, .fminipage, .fcolorminipage { /* display: inline-block ; */ /* Mini pages which follow each other will be tiled. */ margin: .25em .25em .25em .25em; padding: .25em .25em .25em .25em; display: inline-flex; flex-direction: column ; overflow: auto; } /* Paragraphs in the flexbox did not collapse their margins. */ /* Have not yet researched this. */ .minipage p {margin: .75ex 0em .75ex 0em ;} .fboxBlock .minipage, .colorbox .minipage, .colorboxBlock .minipage, .fcolorbox .minipage, .fcolorboxBlock .minipage {border: none ; background: none;} .fbox, .fboxBlock { border: 1px solid black ; } .fbox, .fboxBlock, .fcolorbox, .fcolorboxBlock, .colorbox, .colorboxBlock, .fminipage, .fcolorminipage {display: inline-block} .shadowbox, .shabox { border: 1px solid black; box-shadow: 3px 3px 3px #808080 ; border-radius: 0px ; padding: .4ex .3em .4ex .3em ; margin: 0pt .3ex 0pt .3ex ; display: inline-block ; } .doublebox { border: 3px double black; border-radius: 0px ; padding: .4ex .3em .4ex .3em ; margin: 0pt .3ex 0pt .3ex ; display: inline-block ; } .ovalbox, .Ovalbox { border: 1px solid black; border-radius: 1ex ; padding: .4ex .3em .4ex .3em ; margin: 0pt .3ex 0pt .3ex ; display: inline-block ; } .Ovalbox { border-width: 2px ; } .framebox { border: 1px solid black; border-radius: 0px ; padding: .3ex .2em 0ex .2em ; margin: 0pt .1ex 0pt .1ex ; display: inline-block ; } .mdframed { /* padding: 0ex ; */ /* border: 1px solid blafck; */ /* border-radius: 0px ; */ padding: 0ex ; margin: 3ex 5% 3ex 5% ; /* display: inline-block ; */ } .mdframed p { padding: 0ex .5em 0ex .5em ; } .mdframed dl { padding: 0ex .5em 0ex .5em ; } .mdframedtitle { padding: .5em ; display: block ; font-size: 130% } .mdframedsubtitle { padding: 0ex .5em 0ex .5em ; display: block ; font-size: 115% ; } .mdframedsubsubtitle { padding: 0ex .5em 0ex .5em ; display: block ; } .mdtheorem { padding: 0ex .5em 0ex .5em ; margin: 3ex 5% 3ex 5% ; /* display: inline-block ; */ } /* framed package */ .framed, pre.boxedverbatim, fcolorbox { margin: 3ex 0em 3ex 0em ; border: 1px solid black; border-radius: 0px ; padding: .3ex 1em 0ex 1em ; display: block ; } .snugframed { margin: 3ex 0em 3ex 0em ; border: 1px solid black; border-radius: 0px ; display: block ; } .framedleftbar { margin: 3ex 0em 3ex 0em ; border-left: 3pt solid black; border-radius: 0px ; padding: .3ex .2em .3ex 1em ; display: block ; } .framedtitle { margin: 0em ; padding: 0em ; font-size: 130% } .framedtitle p { padding: .3em } dl { margin: 1ex 2em 1ex 0em; line-height: 1.3; } dl dt { margin-top: 1ex; margin-left: 1em ; font-weight: bold; } dl dd p { margin-top: 0em; } nav.toc, nav.lof, nav.lot, nav.lol, nav.lothm { font-family: "URW Classico", Optima, "Linux Biolinum O", "DejaVu Sans", "Bitstream Vera Sans", Geneva, Verdana, sans-serif ; margin-bottom: 4ex ; } nav.toc p, nav.lof p, nav.lot p, nav.lol p, nav.lothm p { line-height: 1.2 ; margin-top:.5ex ; margin-bottom:.5ex; font-size: .9em ; } img, img.hyperimage, img.borderimage { max-width: 600px; border: 1px solid silver; box-shadow: 3px 3px 3px #808080 ; padding: .5% ; margin: .5% ; background: none ; } img.inlineimage{ padding: 0px ; box-shadow: none ; border: none ; background: none ; margin: 0px ; display: inline-block ; border-radius: 0px ; } img.logoimage{ max-width: 300px ; box-shadow: 3px 3px 3px #808080 ; border: 1px solid black ; background:none ; padding:0 ; margin:.5ex ; border-radius: 10px ; } .section { /* To have each section float relative to each other: */ /* display: block ; float: left ; position: relative ; background: white ; border: 1px solid silver ; padding: .5em ; */ margin: 0ex .5em 0ex .5em ; padding: 0 ; } figure { margin: 3ex auto 3ex auto ; padding: 1ex 1em 1ex 1em ; overflow-x: auto ; } /* To automatically center images in figures: */ /* figure img.inlineimage { margin: 0ex auto 0ex auto ; display: block ; } */ /* To automatically center minipages in figures: */ /* figure div.minipage, figure div.minipage div.minipage { margin: 1ex auto 1ex auto ; display: block ; } */ figure div.minipage p { font-size: 85% ; } figure.subfigure, figure.subtable { display: inline-block ; margin: 3ex 1em 3ex 1em ; } figcaption .minipage { margin:0 ; padding: 0 } div.floatrow { text-align: center; } div.floatrow figure { display: inline-block ; margin: 1ex 2% ; } div.floatfoot { font-size: .85em ; border-top: 1px solid silver ; line-height: 1.2 ; } figcaption , .lstlistingtitle { font-size: .85em ; text-align: center ; font-weight: bold ; margin-top: 1ex ; margin-bottom: 1ex ; } figure.subfigure figcaption, figure.subtable figcaption { border-bottom: none ; background: none ; } div.nonfloatcaption { margin: 1ex auto 1ex auto ; font-size: .85em ; text-align: center ; font-weight: bold ; } /* For a \RawCaption inside a minipage inside a figure's floatrow: */ figure div.floatrow div.minipage figcaption { border: none ; background: none ; } table { margin: 1ex auto 1ex auto ; border-collapse: collapse ; border-spacing: 0px ; line-height: 1.3 ; } tr.hline {border-top: 1px solid silver ; margin-top: 0ex ; margin-bottom: 0ex ; } /* for \hline */ tr.tbrule {border-top: 1px solid black ; margin-top: 0ex ; margin-bottom: 0ex ; } /* for \toprule, \bottomrule */ td {padding: 1ex .5em 1ex .5em ;} table td.tdl { text-align: left ; vertical-align: middle ; } table td.tdc { text-align: center ; vertical-align: middle ; } table td.tdat { text-align: center ; vertical-align: middle ; padding: 0px ; margin: 0px ; } table td.tdbang { text-align: center ; vertical-align: middle ; } table td.tdr { text-align: right ; vertical-align: middle ; } table td.tdp { text-align: left ; vertical-align: bottom ; } table td.tdm { text-align: left ; vertical-align: middle ; } table td.tdb { text-align: left ; vertical-align: top ; } table td.tdP { text-align: center ; vertical-align: bottom ; } table td.tdM { text-align: center ; vertical-align: middle ; } table td.tdB { text-align: center ; vertical-align: top ; } table td.tdlrule { text-align: left ; border-top: 1px solid silver ; vertical-align: middle ; } /* for cmidrule */ table td.tdcrule { text-align: center ; border-top: 1px solid silver ; vertical-align: middle ; } table td.tdatrule { text-align: center ; border-top: 1px solid silver ; vertical-align: middle ; padding: 0px ; margin: 0px ; } table td.tdbangrule { text-align: center ; border-top: 1px solid silver ; vertical-align: middle ; } /* for cmidrule */ table td.tdrrule { text-align: right ; border-top: 1px solid silver ; vertical-align: middle ; } table td.tdprule { text-align: left ; border-top: 1px solid silver ; vertical-align: bottom ; } table td.tdmrule { text-align: left ; border-top: 1px solid silver ; vertical-align: middle ; } table td.tdbrule { text-align: left ; border-top: 1px solid silver ; vertical-align: top ; } table td.tdPrule { text-align: center ; border-top: 1px solid silver ; vertical-align: bottom ; } table td.tdMrule { text-align: center ; border-top: 1px solid silver ; vertical-align: middle ; } table td.tdBrule { text-align: center ; border-top: 1px solid silver ; vertical-align: top ; } /* Margins of paragraphs inside table cells: */ td.tdp p , td.tdprule p , td.tdP p , td.tdPrule p { padding-top: 1ex ; padding-bottom: 1ex ; margin: 0ex ; } td.tdm p , td.tmbrule p , td.tdM p , td.tdMrule p { padding-top: 1ex ; padding-bottom: 1ex ; margin: 0ex ; } td.tdb p , td.tdbrule p , td.tdB p , td.tdBrule p { padding-top: 1ex ; padding-bottom: 1ex ; margin: 0ex ; } td.tdp , td.tdprule , td.tdP , td.tdPrule { padding: 0ex .5em 0ex .5em ; } td.tdm , td.tdmrule , td.tdM , td.tdMrule { padding: 0ex .5em 0ex .5em ; } td.tdb , td.tdbrule , td.tdB , td.tdBrule { padding: 0ex .5em 0ex .5em ; } /* table notes: */ .tnotes { margin: 0ex 5% 1ex 5% ; padding: 0.5ex 1em 0.5ex 1em; font-size:.85em; text-align: left ; } .tnotes dl dt p {margin-bottom:0px;} .tnoteitemheader {margin-right: 1em;} /* center, flushleft, flushright environments */ div.center{text-align:center;} div.center table {margin-left:auto;margin-right:auto;} div.flushleft{text-align:left;} div.flushleft table {margin-left:0em ; margin-right:auto;} div.flushright{text-align:right;} div.flushright table {margin-left:auto ; margin-right: 0em ;} /* Fancybox */ div.Btrivlist table tr td { padding: .2ex 0em ; } /* program listing callouts: */ span.callout { font-family: "DejaVu Sans", "Bitstream Vera Sans", Geneva, Verdana, sans-serif ; border-radius: .5em; background-color:black; color:white; padding:0px .25em 0px .25em; margin: 0 ; font-weight: bold; font-size:.72em ; } div.programlisting pre.verbatim span.callout{ font-size: .85em ; } div.published { text-align: center ; font-variant: normal ; font-style: italic ; font-size: 1em ; margin: 3ex 0em 3ex 0em ; } div.subtitle { text-align: center ; font-variant: normal ; font-style: italic ; font-size: 1.25em ; margin: 3ex 0em 3ex 0em ; } div.subtitle p { margin: 1ex ; } div.author { font-variant: normal ; font-style: normal ; font-size: 1em ; margin: 3ex 0em 3ex 0em ; } div.author table { margin: 3ex auto 0ex auto ; background: none ; } div.author table tbody tr td { padding: .25ex ; } span.affiliation {font-size: .85em ; font-variant: small-caps; } div.titledate { text-align: center ; font-size: .85em ; font-style: italic; margin: 6ex 0em 6ex 0em ; } nav.topnavigation{ text-align: left ; padding: 0.5ex 1em 0.5ex 1em ; /* margin: 2ex 0em 3ex 0em ; */ margin: 0 ; border-bottom: 1px solid silver ; border-top: 1px solid silver ; clear:right ; } nav.botnavigation{ text-align: left ; padding: 0.5ex 1em 0.5ex 1em ; /* margin: 3ex 0em 2ex 0em ; */ margin: 0 ; border-top: 1px solid silver ; border-bottom: 1px solid silver ; clear:right ; } header{ line-height: 1.2 ; font-size: 1em ; /* border-bottom: 2px solid silver ; */ margin: 0px ; padding: 0ex 1em 0ex 1em ; text-align:center ; } header p {margin:0ex;padding:4ex 0em 2ex 0em ;text-align:center;} footer{ font-size: .85em ; line-height: 1.2 ; margin-top: 1ex ; border-top: 2px solid silver ; padding: 2ex 1em 2ex 1em ; clear:right ; text-align:left ; } a.linkhome { font-weight:bold ; font-size: 1em ;} div.lateximagesource { padding: 0px ; margin: 0px ; display: none; } img.lateximage{ padding: 0px 0px 0px 0px ; box-shadow: none ; border: none ; background: none ; margin: 0px 0px -.15ex 0px ; /* pdfcrop leaves a slight margin, adjust to baseline */ max-width: 100% ; border-radius: 0ex ; border: none ; } nav.sidetoc { font-family: "DejaVu Serif", "Bitstream Vera Serif", "Lucida Bright", Georgia, serif; float:right ; width: 20%; border-left: 1px solid silver; border-top: 1px solid silver; border-bottom: 1px solid silver; /* border-top: 2px solid #808080 ; */ background: #FAF7F4 ; padding: 2ex 0em 2ex 1em ; margin: 0ex 0em 2ex 1em ; font-size:.9em ; border-radius: 20px 0px 0px 20px ; } div.sidetoccontents { /* border-top: 1px solid silver ; */ overflow-y: auto ; width: 100% ; text-align: left ; } nav.sidetoc p {line-height:1.2 ; margin: 1ex .5em 1ex .5em ; text-indent: 0 ; } nav.sidetoc p a {color:black ; font-size: .7em ;} div.sidetoctitle {font-size: 1.2em; font-weight:bold; text-align:center; border-bottom: 1px solid silver ; } nav.sidetoc a:hover {text-decoration: underline ; } section.textbody { margin: 0ex 1em 0ex 1em ;} div.multicolsheading { -webkit-column-span: all; -moz-column-span: all; column-span: all; } div.multicols { -webkit-columns: 3 380px ; -moz-columns: 3 380px ; columns: 3 380px ; } div.multicols p {margin-top: 0ex} /* Used to support algorithmicx: */ span.floatright { float: right ; } /* Native LaTeX theorems: */ .theoremcontents { font-style: italic; margin-top: 3ex ; margin-bottom: 3ex ; } .theoremlabel { font-style: normal; font-weight: bold ; margin-right: .5em ; } /* theorem, amsthm, and ntheorem packages */ span.theoremheader, span.theoremheaderplain, span.theoremheaderdefinition, span.theoremheaderbreak, span.theoremheadermarginbreak, span.theoremheaderchangebreak, span.theoremheaderchange, span.theoremheadermargin { font-style:normal ; font-weight: bold ; margin-right: 1em ; } span.amsthmnameplain, span.amsthmnamedefinition, span.amsthmnumberplain, span.amsthmnumberdefinition { font-style:normal ; font-weight: bold ; } span.amsthmnameremark, span.amsthmnumberremark {font-style:italic ; font-weight: normal ; } span.amsthmnoteplain, span.amsthmnotedefinition {font-style:normal ;} span.theoremheaderremark, span.theoremheaderproof, span.amsthmproofname {font-style:italic ; font-weight: normal ; margin-right: 1em ; } span.theoremheadersc { font-style:normal ; font-variant: small-caps ; font-weight: normal ; margin-right: 1em ; } .theoremendmark {float:right} div.amsthmbodyplain, div.theorembodyplain, div.theorembodynonumberplain, div.theorembodybreak, div.theorembodynonumberbreak, div.theorembodymarginbreak, div.theorembodychangebreak, div.theorembodychange, div.theorembodymargin { font-style:italic; margin-top: 3ex ; margin-bottom: 3ex ; } div.theorembodydefinition, div.theorembodyremark, div.theorembodyproof, div.theorembodyplainupright, nonumberplainuprightsc, div.amsthmbodydefinition, div.amsthmbodyremark, div.amsthmproof { font-style: normal ; margin-top: 3ex ; margin-bottom: 3ex ; } span.amsthmnoteremark {} /* For CSS LaTeX and related logos: Based on: http://edward.oconnor.cx/2007/08/tex-poshlet http://nitens.org/taraborelli/texlogo */ .latexlogofont { font-family: "Linux Libertine O", "Nimbus Roman No 9 L", "FreeSerif", "Hoefler Text", Times, "Times New Roman", serif; font-variant: normal ; } .latexlogo { font-family: "Linux Libertine O", "Nimbus Roman No 9 L", "FreeSerif", "Hoefler Text", Times, "Times New Roman", serif; letter-spacing: .03em ; font-size: 1.1em; } .latexlogo sup { text-transform: uppercase; letter-spacing: .03em ; font-size: 0.85em; vertical-align: 0.15em; margin-left: -0.36em; margin-right: -0.15em; } .latexlogo sub { text-transform: uppercase; vertical-align: -0.5ex; margin-left: -0.1667em; margin-right: -0.125em; font-size: 1em; } .xetexlogo { font-family: "Linux Libertine O", "Nimbus Roman No 9 L", "FreeSerif", "Hoefler Text", Times, "Times New Roman", serif; letter-spacing: .03em ; font-size: 1.1em; } /* A smaller gap between Xe and Tex v.s. LaTeX: */ .xetexlogo sub { text-transform: uppercase; vertical-align: -0.5ex; margin-left: -0.0667em; margin-right: -0.2em; font-size: 1em; letter-spacing: .03em ; } /* A large gap between Xe and LaTeX v.s. TeX: */ .xelatexlogo sub { text-transform: uppercase; vertical-align: -0.5ex; margin-left: -0.0667em; margin-right: -.05em; font-size: 1em; letter-spacing: .03em ; } .amslogo { font-family: "TeXGyreChorus","URW Chancery L", "Apple Chancery","ITC Zapf Chancery","Monotype Corsiva", "Linux Libertine O", "Nimbus Roman No 9 L", "FreeSerif", "Hoefler Text", Times, "Times New Roman", serif; font-style: italic; } .lyxlogo { font-family: "URW Classico", Optima, "Linux Biolinum O", "DejaVu Sans", "Bitstream Vera Sans", Geneva, Verdana, sans-serif ; } /* Only display top and bottom navigation if a small screen: */ /* Hide the sidetoc if a small screen: */ nav.topnavigation { display:none; } nav.botnavigation { display:none; } @media screen and (max-width: 45em) { /* nav.sidetoc {display:none;} */ nav.sidetoc { float: none ; width: 100% ; margin: 5ex 0px 5ex 0px ; padding: 0 ; border-radius: 0 ; border-bottom: 1px solid black ; border-top: 1px solid black ; box-shadow: none ; } /* nav.topnavigation { display:block } */ nav.botnavigation { display:block } .marginpar { max-width: 100%; float: none; display:block ; margin: 1ex 1em 1ex 1em ; } } @media print { body { font-family: "Linux Libertine O", "DejaVu Serif", "Bitstream Vera Serif", "Liberation Serif", "Nimbus Roman No 9 L", "FreeSerif", "Hoefler Text", Times, "Times New Roman", serif; } nav.sidetoc { display:none; } nav.topnavigation { display: none; } nav.botnavigation { display: none; } } @media handheld { nav.sidetoc { display:none; } nav.topnavigation { display:block } nav.botnavigation { display:block } } @media projection { nav.sidetoc { display:none; } nav.topnavigation { display:block } nav.botnavigation { display:block } } \end{filecontents*} \end{warpprint} \begin{warpprint} \begin{filecontents*}{lwarp_sagebrush.css} @import url("lwarp.css") ; A:link {color:#105030 ; text-decoration: none ; } A:visited {color:#705030 ; text-shadow:1px 1px 2px #a0a0a0;} A:hover {color:#006000 ; text-decoration: underline ; text-shadow:0px 0px 2px #a0a0a0;} A:active {color:#00C000 ; text-shadow:1px 1px 2px #a0a0a0;} h1, h2, h3, h4, h5, h6, span.paragraph, span.subparagraph { font-family: "URW Classico", Optima, "Linux Biolinum O", "Linux Libertine O", "Liberation Serif", "Nimbus Roman No 9 L", "FreeSerif", "Hoefler Text", Times, "Times New Roman", serif; font-variant: small-caps ; font-weight: normal ; color: #304070 ; text-shadow: 2px 2px 3px #808080; } h1 { /* title of the entire website, used on each page */ font-variant: small-caps ; color: #304070 ; text-shadow: 2px 2px 3px #808080; background-color: #F7F7F0 ; background-image: linear-gradient(to bottom, #F7F7F0, #C0C0C4); } h1 { border-bottom: 1px solid #304070; border-top: 2px solid #304070; } h2 { border-bottom: 1px solid #304070; border-top: 2px solid #304070; background-color: #F7F7F0 ; background-image: linear-gradient(to bottom, #F7F7F0, #DAD0C0); } div.abstract { background: #f5f5eb ; background-image: linear-gradient(to bottom, #f5f5eb, #C8C8B8); border: 1px solid silver; border-radius: 1em ; } div.abstract dl {line-height:1.5;} div.abstract dt {color:#304070;} div.abstracttitle{ font-family: "URW Classico", Optima, "Linux Biolinum O", "Linux Libertine O", "Liberation Serif", "Nimbus Roman No 9 L", "FreeSerif", "Hoefler Text", Times, "Times New Roman", serif; font-weight:bold; font-variant: small-caps ; font-size:1.5em; border-bottom: 1px solid silver ; color: #304070 ; text-align: center ; text-shadow: 1px 1px 2px #808080; } span.abstractrunintitle{ font-family: "URW Classico", Optima, "Linux Biolinum O", "Linux Libertine O", "Liberation Serif", "Nimbus Roman No 9 L", "FreeSerif", "Hoefler Text", Times, "Times New Roman", serif; font-weight:bold; } div.epigraph { background: #f5f5eb ; background-image: linear-gradient(to bottom, #f5f5eb, #C8C8B8); border: 1px solid silver ; border-radius: 1ex ; box-shadow: 3px 3px 3px #808080 ; } .example { background-color: #f5f5eb ; background-image: linear-gradient(to bottom, #f5f5eb, #C8C8B8); } div.exampletitle{ font-family: "URW Classico", Optima, "Linux Biolinum O", "Linux Libertine O", "Liberation Serif", "Nimbus Roman No 9 L", "FreeSerif", "Hoefler Text", Times, "Times New Roman", serif; font-weight:bold; font-variant: small-caps ; border-bottom: 1px solid silver ; color: #304070 ; text-align: center ; text-shadow: 1px 1px 2px #808080; } .sidebar { background-color: #f5f5eb ; background-image: linear-gradient(to bottom, #f5f5eb, #C8C8B8); } div.sidebartitle{ font-family: "URW Classico", Optima, "Linux Biolinum O", "Linux Libertine O", "Liberation Serif", "Nimbus Roman No 9 L", "FreeSerif", "Hoefler Text", Times, "Times New Roman", serif; font-weight:bold; font-variant: small-caps ; border-bottom: 1px solid silver ; color: #304070 ; text-align: center ; text-shadow: 1px 1px 2px #808080; } .fancyvrblabel { font-family: "URW Classico", Optima, "Linux Biolinum O", "Linux Libertine O", "Liberation Serif", "Nimbus Roman No 9 L", "FreeSerif", "Hoefler Text", Times, "Times New Roman", serif; font-weight:bold; font-variant: small-caps ; font-size: 1.5em ; color: #304070 ; text-align: center ; text-shadow: 1px 1px 2px #808080; } .minipage { background-color: #eeeee7 ; border: 1px solid silver ; border-radius: 1ex ; } .framed .minipage , .framedleftbar .minipage { border: none ; background: none ; padding: 0ex ; margin: 0ex ; } figure.figure .minipage, figcaption .minipage { border: none; } div.marginblock div.minipage { border: none; } figure , div.marginblock { background-color: #eeeee7 ; border: 1px solid silver ; border-radius: 1ex ; box-shadow: 3px 3px 3px #808080 ; } figure figure { border: 1px solid silver ; margin: 0em ; box-shadow: none ; } /* figcaption { border-top: 1px solid silver ; border-bottom: 1px solid silver ; background-color: #e8e8e8 ; } */ div.table { box-shadow: 3px 3px 3px #808080 ; } /* .tnotes { background: #e8e8e8; border: 1px solid silver; } */ nav.topnavigation{ background-color: #b0b8b0 ; background-image: linear-gradient(to bottom,#e0e0e0,#b0b8b0) ; } nav.botnavigation{ background-color: #b0b8b0 ; background-image: linear-gradient(to top,#e0e0e0,#b0b8b0) ; } header{ background-color: #F7F7F0 ; background-image: linear-gradient(to top, #F7F7F0, #b0b8b0); } footer{ background-color: #F7F7F0 ; background-image: linear-gradient(to bottom, #F7F7F0, #b0b8b0); } nav.sidetoc { background-color: #F7F7F0 ; background-image: linear-gradient(to bottom, #F7F7F0, #C0C0C0); box-shadow: 3px 3px 3px #808080 ; border-radius: 0px 0px 0px 20px ; } div.sidetoctitle {color: #304070 ; } nav.sidetoc a:hover { color:#006000 ; text-decoration: none ; text-shadow:0px 0px 2px #a0a0a0; } @media screen and (max-width: 45em) { nav.sidetoc { border-radius: 0 ; } } \end{filecontents*} \end{warpprint} \begin{warpprint} \begin{filecontents*}{lwarp_formal.css} @import url("lwarp.css") ; A:link {color:#802020 ; text-decoration:none; } A:visited {color:#802020 ; text-shadow:none ;} A:hover {color:#400000 ; text-shadow:none ;} A:active {color:#C00000 ; text-shadow:none ;} body { font-family: "Linux Libertine O", "Hoefler Text", "Garamond", "Bembo", "Janson", "TeX Gyre Pagella", "Palatino", "Liberation Serif", "Nimbus Roman No 9 L", "FreeSerif", Times, "Times New Roman", serif; background: #fffcf5; } span.textrm { font-family: "Linux Libertine O", "Hoefler Text", "Garamond", "Bembo", "Janson", "TeX Gyre Pagella", "Palatino", "Liberation Serif", "Nimbus Roman No 9 L", "FreeSerif", Times, "Times New Roman", serif; } span.textsf { font-family: "DejaVu Sans", "Bitstream Vera Sans", Geneva, Verdana, sans-serif ; } h1, h2, h3, h4, h5, h6, span.paragraph, span.subparagraph { font-family: "Linux Libertine O", "Hoefler Text", "Garamond", "Bembo", "Janson", "TeX Gyre Pagella", "Palatino", "Liberation Serif", "Nimbus Roman No 9 L", "FreeSerif", Times, "Times New Roman", serif; color: #800000 ; text-shadow: none ; } h1, h2 { background-color: #fffcf5 ; background-image: none ; border-bottom: 1px solid #808080; border-top: 2px solid #808080; } div.abstracttitle { font-family: "Linux Libertine O", "Hoefler Text", "Garamond", "Bembo", "Janson", "TeX Gyre Pagella", "Palatino", "Liberation Serif", "Nimbus Roman No 9 L", "FreeSerif", Times, "Times New Roman", serif; color: black ; text-shadow: none ; } span.abstractrunintitle { font-family: "Linux Libertine O", "Hoefler Text", "Garamond", "Bembo", "Janson", "TeX Gyre Pagella", "Palatino", "Liberation Serif", "Nimbus Roman No 9 L", "FreeSerif", Times, "Times New Roman", serif; color: black ; text-shadow: none ; } div.abstract { font-size: 100% } .sidebar { background: #fffcf5; background-image: none ; margin: 2em 5% 2em 5%; padding: 0.5em 1em; border: none ; border-top : 1px solid silver; border-bottom : 1px solid silver; font-size: 90% ; } div.sidebartitle{ font-family: "Linux Libertine O", "Hoefler Text", "Garamond", "Bembo", "Janson", "TeX Gyre Pagella", "Palatino", "Liberation Serif", "Nimbus Roman No 9 L", "FreeSerif", Times, "Times New Roman", serif; color: #800000 ; text-shadow: none ; border: none ; } .example { background: #fffcf5; background-image: none ; margin: 2em 5% 2em 5%; padding: 0.5em 1em; border: none ; border-top : 1px solid silver; border-bottom : 1px solid silver; } div.exampletitle{ font-family: "Linux Libertine O", "Hoefler Text", "Garamond", "Bembo", "Janson", "TeX Gyre Pagella", "Palatino", "Liberation Serif", "Nimbus Roman No 9 L", "FreeSerif", Times, "Times New Roman", serif; color: #800000 ; text-shadow: none ; border: none ; } div.fancyvrblabel{ font-family: "Linux Libertine O", "Hoefler Text", "Garamond", "Bembo", "Janson", "TeX Gyre Pagella", "Palatino", "Liberation Serif", "Nimbus Roman No 9 L", "FreeSerif", Times, "Times New Roman", serif; color: #800000 ; text-shadow: none ; border: none ; } .verse { font-family: "Linux Libertine O", "Hoefler Text", "Garamond", "Bembo", "Janson", "TeX Gyre Pagella", "Palatino", "Liberation Serif", "Nimbus Roman No 9 L", "FreeSerif", Times, "Times New Roman", serif; } figure { margin: 3ex 5% 3ex 5% ; padding: 1ex 1em 1ex 1em ; background-color: #fffcf5 ; overflow-x: auto ; border: none ; /* border-top: 1px solid silver; */ /* border-bottom: 1px solid silver; */ } figcaption , .lstlisting { border: none ; /* border-top: 1px solid silver ; */ /* border-bottom: 1px solid silver ; */ background-color: #fffcf5 ; } .tnotes { background: #fffcf5 ; } .theorem { background: none ; } .minipage { background-color: #fffcf5 ; border: none ; } div.floatrow figure { border: none ; } figure figure { border: none ; } nav.toc, nav.lof, nav.lot, nav.lol { font-family: "Linux Libertine O", "Hoefler Text", "Garamond", "Bembo", "Janson", "TeX Gyre Pagella", "Palatino", "Liberation Serif", "Nimbus Roman No 9 L", "FreeSerif", Times, "Times New Roman", serif; } nav.sidetoc { font-family: "Linux Libertine O", "Hoefler Text", "Garamond", "Bembo", "Janson", "TeX Gyre Pagella", "Palatino", "Liberation Serif", "Nimbus Roman No 9 L", "FreeSerif", Times, "Times New Roman", serif; background-image: linear-gradient(to bottom, #fffcf5, #C0C0C0); border-radius: 0px 0px 0px 20px ; } div.sidetoctitle{ color: #800000 ; } header{ background-color: #e0e0e0 ; background-image: linear-gradient(to top, #fffcf5, #b0b0b0); text-align:center ; } footer{ background-color: #e0e0e0 ; background-image: linear-gradient(to bottom, #fffcf5, #b0b0b0); padding: 2ex 1em 2ex 1em ; clear:right ; text-align:left ; } nav.botnavigation { background: #dedcd5 ; border-top: 1px solid black ; } \end{filecontents*} \end{warpprint} \begin{warpprint} \begin{filecontents*}{sample_project.css} /* ( --- Start of project.css --- ) */ /* A sample project-specific CSS file for lwarp --- ) */ /* Load default lwarp settings: */ @import url("lwarp.css") ; /* or lwarp_formal.css, lwarp_sagebrush.css */ /* Project-specific CSS setting follow here. */ /* . . . */ /* ( --- End of project.css --- ) */ \end{filecontents*} \end{warpprint} \begin{warpprint} \begin{filecontents*}{lwarp.xdy} (require "tex/inputenc/latin.xdy") (merge-rule "\\PS *" "Postscript") (require "texindy.xdy") (require "page-ranges.xdy") (require "book-order.xdy") (markup-locref :open "\hyperindexref{" :close "}") \end{filecontents*} \end{warpprint} \begin{warpprint} \begin{filecontents*}{lwarp_mathjax.txt} \end{filecontents*} \end{warpprint} \begin{LWR@createlwarpmk} \begin{filecontents*}{lwarpmk.lua} #!/usr/bin/env texlua -- Copyright 2016-2017 Brian Dunn -- Print the usage of the lwarpmk command: printversion = "v0.36" function printhelp () print ("lwarpmk: Use lwarpmk -h or lwarpmk --help for help.") ; end function printusage () print ( [[ lwarpmk print [project]: Compile a print version. lwarpmk printindex [project]: Process the index for the print version. lwarpmk printglossary [project]: Process the glossary for the print version. lwarpmk html [project]: Compile an HTML version. lwarpmk htmlindex [project]: Process the index for the html version. lwarpmk htmlglossary [project]: Process the glossary for the html version. lwarpmk again [project]: Touch the source code to trigger recompiles. lwarpmk limages [project]: Process the "lateximages" created by lwarp.sty. lwarpmk pdftohtml [project]: For use with latexmk or a Makefile: Convert project_html.pdf to project_html.html and individual HTML files. lwarpmk clean [project]: Remove project.aux, .toc, .lof/t, .idx, .ind, .log, .gl* lwarpmk cleanall [project]: Remove auxiliary files and also project.pdf, *.html lwarpmk -h: Print this help message. lwarpmk --help: Print this help message. ]] ) printconf () end -- Print the format of the configuration file lwarpmk.conf: function printconf () print ( [[ An example lwarpmk.conf or .lwarpmkconf project file: -- opsystem = "Unix" (or "Windows") latexname = "pdflatex" (or "lualatex", or "xelatex") sourcename = "projectname" (the source-code filename w/o .tex) homehtmlfilename = "index" (or perhaps the project name) htmlfilename = "" (or "projectname" - filename prefix) latexmk = "false" (or "true" to use latexmk to build PDFs) languge = "english" (use a language supported by xindy) xdyfile = "lwarp.xdy" (or a custom file based on lwarp.xdy) -- Filenames must contain only letters, numbers, underscore, or dash. Values must be in "quotes". ]] ) ; end -- Split one large sourcefile into a number of files, -- starting with destfile. -- The file is split at each occurance of