diff --git a/book-1/Main.tex b/book-1/Main.tex index 4fc3580..e93cf94 100644 --- a/book-1/Main.tex +++ b/book-1/Main.tex @@ -21,7 +21,7 @@ \documentclass[oneside, 9pt]{memoir} % Font size -\input{book-1/structure.tex} % Include the file that specifies the document structure and layout +\input{structure.tex} % Include the file that specifies the document structure and layout \makeatletter \@addtoreset{chapter}{part} @@ -40,7 +40,7 @@ %---------------------------------------------------------------------------------------- \thispagestyle{empty} % Suppress page numbering -\ThisCenterWallPaper{2.4}{book-1/background.jpg} % Add the background image, the first argument is the scaling - adjust this as necessary so the image fits the entire page +\ThisCenterWallPaper{2.4}{background.jpg} % Add the background image, the first argument is the scaling - adjust this as necessary so the image fits the entire page \begin{tikzpicture}[remember picture,overlay] \node [rectangle, rounded corners, fill=white, opacity=0.75, anchor=south west, minimum width=3cm, minimum height=6cm] (box) at (-0.5,-10) (box){}; @@ -81,16 +81,16 @@ I'll need to go over it multiple times later anyway.} \mainmatter -\input{book-1/1} -\input{book-1/2} -\input{book-1/3} -\input{book-1/4} -\input{book-1/5} -\input{book-1/6} -\input{book-1/7} -\input{book-1/8} -\input{book-1/9} -\input{book-1/10} +\input{1} +\input{2} +\input{3} +\input{4} +\input{5} +\input{6} +\input{7} +\input{8} +\input{9} +\input{10} %=========================================================================================================================================== \end{document} diff --git a/book-2/Main.tex b/book-2/Main.tex index faec23e..a7934ea 100755 --- a/book-2/Main.tex +++ b/book-2/Main.tex @@ -73,7 +73,7 @@ \mainmatter -\input{book-2/1} +\input{1} %=========================================================================================================================================== \end{document} diff --git a/book-3/1.tex b/book-3/1.tex new file mode 100755 index 0000000..2fb6767 --- /dev/null +++ b/book-3/1.tex @@ -0,0 +1,4 @@ +%---------------------------------------------------------------------------------------- +% CHAPTER 1 +%---------------------------------------------------------------------------------------- +\chapter{1} \ No newline at end of file diff --git a/book-3/Main.tex b/book-3/Main.tex new file mode 100755 index 0000000..0472d5b --- /dev/null +++ b/book-3/Main.tex @@ -0,0 +1,79 @@ +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% eBook +% LaTeX Template +% Version 1.0 (29/12/14) +% +% This template has been downloaded from: +% http://www.LaTeXTemplates.com +% +% Original author: +% Luis Cobo (luiscobogutierrez@gmail.com) with extensive modifications by: +% Vel (vel@latextemplates.com) +% +% License: +% CC BY-NC-SA 3.0 (http://creativecommons.org/licenses/by-nc-sa/3.0/) +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +%---------------------------------------------------------------------------------------- +% DOCUMENT CONFIGURATIONS AND INFORMATION +%---------------------------------------------------------------------------------------- + +\documentclass[oneside, 9pt]{memoir} % Font size + +\input{structure.tex} % Include the file that specifies the document structure and layout + +\makeatletter +\@addtoreset{chapter}{part} +\makeatother + +\title{Anders 3} % Book title +\newcommand{\subtitle}{Subtitle} % Book Subtitle +\author{Wolfgang \& Heike Hohlbein, translated by David Daily} % Author +\newcommand{\edition}{Edition 0} % Book edition + +%---------------------------------------------------------------------------------------- +\begin{document} +\frontmatter +%---------------------------------------------------------------------------------------- +% TITLE PAGE +%---------------------------------------------------------------------------------------- + +\thispagestyle{empty} % Suppress page numbering +\ThisCenterWallPaper{2.4}{background.jpg} % Add the background image, the first argument is the scaling - adjust this as necessary so the image fits the entire page + +\begin{tikzpicture}[remember picture,overlay] +\node [rectangle, rounded corners, fill=white, opacity=0.75, anchor=south west, minimum width=3cm, minimum height=6cm] (box) at (-0.5,-10) (box){}; +% White rectangle - "minimum width/height" adjust the width and height of the box; "(-0.5,-10)" adjusts the position on the page +\node[anchor=west, color01, xshift=-1.5cm, yshift=-0.4cm, text width=2.9cm, font=\sffamily] at (box.north){\edition}; +%"Text width" adjusts the wrapping width, "xshift/yshift" adjust the position relative to the white rectangle +\node[anchor=west, color01, xshift=-1.5cm, yshift=-2cm, text width=2.9cm, font=\sffamily\bfseries\scshape\huge] at (box.north){\thetitle}; +\node[anchor=west, color01, xshift=-1.5cm, yshift=-3cm, text width=2.9cm, font=\sffamily\bfseries\large] at (box.north){\subtitle}; +% "Text width" adjusts the wrapping width, "xshift/yshift" adjust the position relative to the white rectangle +\node[anchor=west, color01, xshift=-1.5cm, yshift=-5cm, text width=2.9cm, font=\sffamily\bfseries\small] at (box.north){\theauthor}; +% "Text width" adjusts the wrapping width, "xshift/yshift" adjust the position relative to the white rectangle +\end{tikzpicture} + +\newpage % Make sure the following content is on a new page + + +%---------------------------------------------------------------------------------------- +% INTRODUCTION SECTION +%---------------------------------------------------------------------------------------- +\chapter*{Preface} % Introduction chapter suppressed from the table of contents + +\newpage % Make sure the following content is on a new page + +%---------------------------------------------------------------------------------------- +% TABLE OF CONTENTS +%---------------------------------------------------------------------------------------- +\begin{KeepFromToc} + \tableofcontents +\end{KeepFromToc} + +\mainmatter + +\input{1} + +%=========================================================================================================================================== +\end{document} diff --git a/book-3/all.tex b/book-3/all.tex new file mode 100755 index 0000000..1263ed3 --- /dev/null +++ b/book-3/all.tex @@ -0,0 +1,3 @@ +\part{Title of book 3} + +\input{book-3/1} diff --git a/book-3/structure.tex b/book-3/structure.tex new file mode 100755 index 0000000..b75100f --- /dev/null +++ b/book-3/structure.tex @@ -0,0 +1,153 @@ +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% eBook +% Structural Definitions File +% Version 1.0 (29/12/14) +% +% Created by: +% Vel (vel@latextemplates.com) +% +% This file has been downloaded from: +% http://www.LaTeXTemplates.com +% +% License: +% CC BY-NC-SA 3.0 (http://creativecommons.org/licenses/by-nc-sa/3.0/) +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +%---------------------------------------------------------------------------------------- +% REQUIRED PACKAGES +%---------------------------------------------------------------------------------------- + +\usepackage[utf8]{inputenc} % Required for inputting international characters +\usepackage[T1]{fontenc} % Output font encoding for international characters + +\usepackage[osf]{libertine} % Use the Libertine font +\usepackage{microtype} % Improves character and word spacing + +\usepackage{tikz} % Required for drawing custom shapes +\definecolor[named]{color01}{rgb}{.2,.4,.6} % Color used in the title page +\usepackage{wallpaper} % Required for setting background images (title page) + +\usepackage[unicode=true,bookmarks=true,bookmarksnumbered=false,bookmarksopen=false,breaklinks=false,pdfborder={0 0 1},backref=section,colorlinks=false]{hyperref} % PDF meta-information specification + + +%---------------------------------------------------------------------------------------- +% PAPER, MARGIN AND HEADER/FOOTER SIZES +%---------------------------------------------------------------------------------------- + +\setstocksize{12.5cm}{9.4cm} % Paper size +\settrimmedsize{\stockheight}{\stockwidth}{*} % No trims +\setlrmarginsandblock{18pt}{18pt}{*} % Left/right margins +\setulmarginsandblock{30pt}{36pt}{*} % Top/bottom margins +\setheadfoot{14pt}{12pt} % Header/footer height +\setheaderspaces{*}{8pt}{*} % Extra header space + +%---------------------------------------------------------------------------------------- +% FOOTNOTE CUSTOMIZATION +%---------------------------------------------------------------------------------------- + +\renewcommand{\foottextfont}{\itshape\footnotesize} % Font settings for footnotes +\setlength{\footmarkwidth}{-.1em} % Space between the footnote number and the text +\setlength{\footmarksep}{.1em} % Space between multiple footnotes on the same page +\renewcommand*{\footnoterule}{} % Remove the rule above the first footnote +\setlength{\skip\footins}{1\onelineskip} % Space between the body text and the footnote + +%---------------------------------------------------------------------------------------- +% HEADER AND FOOTER FORMATS +%---------------------------------------------------------------------------------------- + +\makepagestyle{mio} % Define a new custom page style +\setlength{\headwidth}{\textwidth} % Header the same width as the text +\makeheadrule{mio}{\textwidth}{0.1mm} % Header rule height +\makeoddhead{mio}{\scriptsize{\thetitle { } \thepart \hskip.2cm \vrule \hskip.2cm \itshape{{Chapter } \thechapter }}}{}{} % Header specification +\makeoddfoot{mio}{}{\scriptsize {\thepage \quad {of} \quad \thelastpage}}{} % Footer specification +\makeoddfoot{plain}{}{\footnotesize {\thepage \quad { of } \quad \thelastpage}}{} % Pages of chapters +\pagestyle{mio} % Set the page style to the custom style defined above + +%---------------------------------------------------------------------------------------- +% PART FORMAT +%---------------------------------------------------------------------------------------- + +\renewcommand{\partnamefont}{\centering\sffamily\itshape\Huge} % Part name font specification +\renewcommand{\partnumfont}{\sffamily\Huge} % Part number font specification +\renewcommand{\parttitlefont}{\centering\sffamily\scshape} % Part title font specification +\renewcommand{\beforepartskip}{\null\vskip.618\textheight} % Whitespace above the part heading + +%---------------------------------------------------------------------------------------- +% CHAPTER FORMAT +%---------------------------------------------------------------------------------------- + +\makechapterstyle{Tufte}{ % Define a new chapter style + \renewcommand{\chapterheadstart}{\null \vskip3.5\onelineskip} % Whitespace before the chapter starts + \renewcommand{\printchaptername}{} % "Chapter" text font specification + \renewcommand{\printchapternum}{} % Chapter number font specification + \renewcommand{\afterchapternum}{} % Space between the chapter number and text + \renewcommand{\printchaptertitle}[1]{ % Chapter title font specification + \centering + \itshape\Huge{##1} + } + \renewcommand{\afterchaptertitle}{ + \vskip3.5\onelineskip + } +} +\chapterstyle{Tufte} % Set the chapter style to the custom style defined above + +%---------------------------------------------------------------------------------------- +% SECTION FORMAT +%---------------------------------------------------------------------------------------- + +\setsecheadstyle{\sethangfrom{\noindent ##1}\raggedright\sffamily\itshape\Large} % Section title font specification +\setbeforesecskip{-.6\onelineskip} % Whitespace before the section +\setaftersecskip{.3\onelineskip} % Whitespace after the section + +%---------------------------------------------------------------------------------------- +% SUBSECTION FORMAT +%---------------------------------------------------------------------------------------- + +\setsubsecheadstyle{\sethangfrom{\noindent ##1}\raggedright\sffamily\large\itshape} % Subsection title font specification +\setbeforesubsecskip{-.5\onelineskip} % Whitespace before the subsection +\setaftersubsecskip{.2\onelineskip} % Whitespace after the subsection + +%---------------------------------------------------------------------------------------- +% SUBSUBSECTION FORMAT +%---------------------------------------------------------------------------------------- + +\setsubsubsecheadstyle{\sethangfrom{\noindent ##1}\raggedright\sffamily\itshape} % Subsubsection title font specification +\setbeforesubsubsecskip{-.5\onelineskip} % Whitespace before the subsubsection +\setaftersubsubsecskip{.1\onelineskip} % Whitespace after the subsubsection + +%---------------------------------------------------------------------------------------- +% CAPTION FORMAT +%---------------------------------------------------------------------------------------- + +\captiontitlefont{\itshape\footnotesize} % Caption font specification +\captionnamefont{\footnotesize} % "Caption" text font specification + +%---------------------------------------------------------------------------------------- +% QUOTATION ENVIRONMENT FORMAT +%---------------------------------------------------------------------------------------- + +\renewenvironment{quotation} +{\par\leftskip=1em\vskip.5\onelineskip\em} +{\par\vskip.5\onelineskip} + +%---------------------------------------------------------------------------------------- +% QUOTE ENVIRONMENT FORMAT +%---------------------------------------------------------------------------------------- + +\renewenvironment{quote} +{\list{}{\em\leftmargin=1em}\item[]}{\endlist\relax} + +%---------------------------------------------------------------------------------------- +% MISCELLANEOUS DOCUMENT SPECIFICATIONS +%---------------------------------------------------------------------------------------- + +\setlength{\parindent}{1em} % Paragraph indentation + +\sloppy % Fewer overfull lines - used in the memoir class and allows a setting somewhere between \fussy and \sloppy + +\checkandfixthelayout % Tell memoir to implement the above + +\renewcommand{\chapternumberline}[1]{}% Gobble chapter number in ToC +\renewcommand{\cftchapterdotsep}{\cftdotsep}% Chapter dots in ToC +\usepackage{textcomp} diff --git a/book-4/1.tex b/book-4/1.tex new file mode 100755 index 0000000..e321fc6 --- /dev/null +++ b/book-4/1.tex @@ -0,0 +1 @@ +\chapter{1} \ No newline at end of file diff --git a/book-4/Main.tex b/book-4/Main.tex new file mode 100755 index 0000000..733bcea --- /dev/null +++ b/book-4/Main.tex @@ -0,0 +1,79 @@ +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% eBook +% LaTeX Template +% Version 1.0 (29/12/14) +% +% This template has been downloaded from: +% http://www.LaTeXTemplates.com +% +% Original author: +% Luis Cobo (luiscobogutierrez@gmail.com) with extensive modifications by: +% Vel (vel@latextemplates.com) +% +% License: +% CC BY-NC-SA 3.0 (http://creativecommons.org/licenses/by-nc-sa/3.0/) +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +%---------------------------------------------------------------------------------------- +% DOCUMENT CONFIGURATIONS AND INFORMATION +%---------------------------------------------------------------------------------------- + +\documentclass[oneside, 9pt]{memoir} % Font size + +\input{structure.tex} % Include the file that specifies the document structure and layout + +\makeatletter +\@addtoreset{chapter}{part} +\makeatother + +\title{Anders 4} % Book title +\newcommand{\subtitle}{Subtitle} % Book Subtitle +\author{Wolfgang \& Heike Hohlbein, translated by David Daily} % Author +\newcommand{\edition}{Edition 0} % Book edition + +%---------------------------------------------------------------------------------------- +\begin{document} +\frontmatter +%---------------------------------------------------------------------------------------- +% TITLE PAGE +%---------------------------------------------------------------------------------------- + +\thispagestyle{empty} % Suppress page numbering +\ThisCenterWallPaper{2.4}{background.jpg} % Add the background image, the first argument is the scaling - adjust this as necessary so the image fits the entire page + +\begin{tikzpicture}[remember picture,overlay] +\node [rectangle, rounded corners, fill=white, opacity=0.75, anchor=south west, minimum width=3cm, minimum height=6cm] (box) at (-0.5,-10) (box){}; +% White rectangle - "minimum width/height" adjust the width and height of the box; "(-0.5,-10)" adjusts the position on the page +\node[anchor=west, color01, xshift=-1.5cm, yshift=-0.4cm, text width=2.9cm, font=\sffamily] at (box.north){\edition}; +%"Text width" adjusts the wrapping width, "xshift/yshift" adjust the position relative to the white rectangle +\node[anchor=west, color01, xshift=-1.5cm, yshift=-2cm, text width=2.9cm, font=\sffamily\bfseries\scshape\huge] at (box.north){\thetitle}; +\node[anchor=west, color01, xshift=-1.5cm, yshift=-3cm, text width=2.9cm, font=\sffamily\bfseries\large] at (box.north){\subtitle}; +% "Text width" adjusts the wrapping width, "xshift/yshift" adjust the position relative to the white rectangle +\node[anchor=west, color01, xshift=-1.5cm, yshift=-5cm, text width=2.9cm, font=\sffamily\bfseries\small] at (box.north){\theauthor}; +% "Text width" adjusts the wrapping width, "xshift/yshift" adjust the position relative to the white rectangle +\end{tikzpicture} + +\newpage % Make sure the following content is on a new page + + +%---------------------------------------------------------------------------------------- +% INTRODUCTION SECTION +%---------------------------------------------------------------------------------------- +\chapter*{Preface} % Introduction chapter suppressed from the table of contents + +\newpage % Make sure the following content is on a new page + +%---------------------------------------------------------------------------------------- +% TABLE OF CONTENTS +%---------------------------------------------------------------------------------------- +\begin{KeepFromToc} + \tableofcontents +\end{KeepFromToc} + +\mainmatter + +\input{1} + +%=========================================================================================================================================== +\end{document} diff --git a/book-4/all.tex b/book-4/all.tex new file mode 100755 index 0000000..5ca5c08 --- /dev/null +++ b/book-4/all.tex @@ -0,0 +1,3 @@ +\part{Title of book 4} + +\input{book-4/1} diff --git a/book-4/structure.tex b/book-4/structure.tex new file mode 100755 index 0000000..b75100f --- /dev/null +++ b/book-4/structure.tex @@ -0,0 +1,153 @@ +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% eBook +% Structural Definitions File +% Version 1.0 (29/12/14) +% +% Created by: +% Vel (vel@latextemplates.com) +% +% This file has been downloaded from: +% http://www.LaTeXTemplates.com +% +% License: +% CC BY-NC-SA 3.0 (http://creativecommons.org/licenses/by-nc-sa/3.0/) +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +%---------------------------------------------------------------------------------------- +% REQUIRED PACKAGES +%---------------------------------------------------------------------------------------- + +\usepackage[utf8]{inputenc} % Required for inputting international characters +\usepackage[T1]{fontenc} % Output font encoding for international characters + +\usepackage[osf]{libertine} % Use the Libertine font +\usepackage{microtype} % Improves character and word spacing + +\usepackage{tikz} % Required for drawing custom shapes +\definecolor[named]{color01}{rgb}{.2,.4,.6} % Color used in the title page +\usepackage{wallpaper} % Required for setting background images (title page) + +\usepackage[unicode=true,bookmarks=true,bookmarksnumbered=false,bookmarksopen=false,breaklinks=false,pdfborder={0 0 1},backref=section,colorlinks=false]{hyperref} % PDF meta-information specification + + +%---------------------------------------------------------------------------------------- +% PAPER, MARGIN AND HEADER/FOOTER SIZES +%---------------------------------------------------------------------------------------- + +\setstocksize{12.5cm}{9.4cm} % Paper size +\settrimmedsize{\stockheight}{\stockwidth}{*} % No trims +\setlrmarginsandblock{18pt}{18pt}{*} % Left/right margins +\setulmarginsandblock{30pt}{36pt}{*} % Top/bottom margins +\setheadfoot{14pt}{12pt} % Header/footer height +\setheaderspaces{*}{8pt}{*} % Extra header space + +%---------------------------------------------------------------------------------------- +% FOOTNOTE CUSTOMIZATION +%---------------------------------------------------------------------------------------- + +\renewcommand{\foottextfont}{\itshape\footnotesize} % Font settings for footnotes +\setlength{\footmarkwidth}{-.1em} % Space between the footnote number and the text +\setlength{\footmarksep}{.1em} % Space between multiple footnotes on the same page +\renewcommand*{\footnoterule}{} % Remove the rule above the first footnote +\setlength{\skip\footins}{1\onelineskip} % Space between the body text and the footnote + +%---------------------------------------------------------------------------------------- +% HEADER AND FOOTER FORMATS +%---------------------------------------------------------------------------------------- + +\makepagestyle{mio} % Define a new custom page style +\setlength{\headwidth}{\textwidth} % Header the same width as the text +\makeheadrule{mio}{\textwidth}{0.1mm} % Header rule height +\makeoddhead{mio}{\scriptsize{\thetitle { } \thepart \hskip.2cm \vrule \hskip.2cm \itshape{{Chapter } \thechapter }}}{}{} % Header specification +\makeoddfoot{mio}{}{\scriptsize {\thepage \quad {of} \quad \thelastpage}}{} % Footer specification +\makeoddfoot{plain}{}{\footnotesize {\thepage \quad { of } \quad \thelastpage}}{} % Pages of chapters +\pagestyle{mio} % Set the page style to the custom style defined above + +%---------------------------------------------------------------------------------------- +% PART FORMAT +%---------------------------------------------------------------------------------------- + +\renewcommand{\partnamefont}{\centering\sffamily\itshape\Huge} % Part name font specification +\renewcommand{\partnumfont}{\sffamily\Huge} % Part number font specification +\renewcommand{\parttitlefont}{\centering\sffamily\scshape} % Part title font specification +\renewcommand{\beforepartskip}{\null\vskip.618\textheight} % Whitespace above the part heading + +%---------------------------------------------------------------------------------------- +% CHAPTER FORMAT +%---------------------------------------------------------------------------------------- + +\makechapterstyle{Tufte}{ % Define a new chapter style + \renewcommand{\chapterheadstart}{\null \vskip3.5\onelineskip} % Whitespace before the chapter starts + \renewcommand{\printchaptername}{} % "Chapter" text font specification + \renewcommand{\printchapternum}{} % Chapter number font specification + \renewcommand{\afterchapternum}{} % Space between the chapter number and text + \renewcommand{\printchaptertitle}[1]{ % Chapter title font specification + \centering + \itshape\Huge{##1} + } + \renewcommand{\afterchaptertitle}{ + \vskip3.5\onelineskip + } +} +\chapterstyle{Tufte} % Set the chapter style to the custom style defined above + +%---------------------------------------------------------------------------------------- +% SECTION FORMAT +%---------------------------------------------------------------------------------------- + +\setsecheadstyle{\sethangfrom{\noindent ##1}\raggedright\sffamily\itshape\Large} % Section title font specification +\setbeforesecskip{-.6\onelineskip} % Whitespace before the section +\setaftersecskip{.3\onelineskip} % Whitespace after the section + +%---------------------------------------------------------------------------------------- +% SUBSECTION FORMAT +%---------------------------------------------------------------------------------------- + +\setsubsecheadstyle{\sethangfrom{\noindent ##1}\raggedright\sffamily\large\itshape} % Subsection title font specification +\setbeforesubsecskip{-.5\onelineskip} % Whitespace before the subsection +\setaftersubsecskip{.2\onelineskip} % Whitespace after the subsection + +%---------------------------------------------------------------------------------------- +% SUBSUBSECTION FORMAT +%---------------------------------------------------------------------------------------- + +\setsubsubsecheadstyle{\sethangfrom{\noindent ##1}\raggedright\sffamily\itshape} % Subsubsection title font specification +\setbeforesubsubsecskip{-.5\onelineskip} % Whitespace before the subsubsection +\setaftersubsubsecskip{.1\onelineskip} % Whitespace after the subsubsection + +%---------------------------------------------------------------------------------------- +% CAPTION FORMAT +%---------------------------------------------------------------------------------------- + +\captiontitlefont{\itshape\footnotesize} % Caption font specification +\captionnamefont{\footnotesize} % "Caption" text font specification + +%---------------------------------------------------------------------------------------- +% QUOTATION ENVIRONMENT FORMAT +%---------------------------------------------------------------------------------------- + +\renewenvironment{quotation} +{\par\leftskip=1em\vskip.5\onelineskip\em} +{\par\vskip.5\onelineskip} + +%---------------------------------------------------------------------------------------- +% QUOTE ENVIRONMENT FORMAT +%---------------------------------------------------------------------------------------- + +\renewenvironment{quote} +{\list{}{\em\leftmargin=1em}\item[]}{\endlist\relax} + +%---------------------------------------------------------------------------------------- +% MISCELLANEOUS DOCUMENT SPECIFICATIONS +%---------------------------------------------------------------------------------------- + +\setlength{\parindent}{1em} % Paragraph indentation + +\sloppy % Fewer overfull lines - used in the memoir class and allows a setting somewhere between \fussy and \sloppy + +\checkandfixthelayout % Tell memoir to implement the above + +\renewcommand{\chapternumberline}[1]{}% Gobble chapter number in ToC +\renewcommand{\cftchapterdotsep}{\cftdotsep}% Chapter dots in ToC +\usepackage{textcomp} diff --git a/render.sh b/render.sh index fd07989..1bbd58e 100755 --- a/render.sh +++ b/render.sh @@ -1,5 +1,7 @@ #!/bin/bash +cd "$(dirname "$0")" + git pull /usr/bin/pdflatex -file-line-error -interaction nonstopmode -jobname=All4 All4.tex @@ -7,22 +9,26 @@ git pull rm All4.aux All4.out All4.toc cp All4.pdf /home/david/fileshare/Anders/ -/usr/bin/pdflatex -file-line-error -interaction nonstopmode -jobname=Book1 "book-1/Main.tex" -/usr/bin/pdflatex -file-line-error -interaction nonstopmode -jobname=Book1 "book-1/Main.tex" +cd book-1 +/usr/bin/pdflatex -file-line-error -interaction nonstopmode -jobname=Book1 "Main.tex" +/usr/bin/pdflatex -file-line-error -interaction nonstopmode -jobname=Book1 "Main.tex" rm Book1.aux Book1.out Book1.toc cp Book1.pdf /home/david/fileshare/Anders/ -/usr/bin/pdflatex -file-line-error -interaction nonstopmode -jobname=Book2 "book-2/Main.tex" -/usr/bin/pdflatex -file-line-error -interaction nonstopmode -jobname=Book2 "book-2/Main.tex" +cd ../book-2 +/usr/bin/pdflatex -file-line-error -interaction nonstopmode -jobname=Book2 "Main.tex" +/usr/bin/pdflatex -file-line-error -interaction nonstopmode -jobname=Book2 "Main.tex" rm Book2.aux Book2.out Book2.toc cp Book2.pdf /home/david/fileshare/Anders/ -/usr/bin/pdflatex -file-line-error -interaction nonstopmode -jobname=Book3 "book-3/Main.tex" -/usr/bin/pdflatex -file-line-error -interaction nonstopmode -jobname=Book3 "book-3/Main.tex" +cd ../book-3 +/usr/bin/pdflatex -file-line-error -interaction nonstopmode -jobname=Book3 "Main.tex" +/usr/bin/pdflatex -file-line-error -interaction nonstopmode -jobname=Book3 "Main.tex" rm Book3.aux Book3.out Book3.toc cp Book3.pdf /home/david/fileshare/Anders/ -/usr/bin/pdflatex -file-line-error -interaction nonstopmode -jobname=Book4 "book-4/Main.tex" -/usr/bin/pdflatex -file-line-error -interaction nonstopmode -jobname=Book4 "book-4/Main.tex" +cd ../book-4 +/usr/bin/pdflatex -file-line-error -interaction nonstopmode -jobname=Book4 "Main.tex" +/usr/bin/pdflatex -file-line-error -interaction nonstopmode -jobname=Book4 "Main.tex" rm Book4.aux Book4.out Book4.toc cp Book4.pdf /home/david/fileshare/Anders/