summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/ycbook/ycbook-doc.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/ycbook/ycbook-doc.tex')
-rw-r--r--Master/texmf-dist/doc/latex/ycbook/ycbook-doc.tex34
1 files changed, 26 insertions, 8 deletions
diff --git a/Master/texmf-dist/doc/latex/ycbook/ycbook-doc.tex b/Master/texmf-dist/doc/latex/ycbook/ycbook-doc.tex
index 6e5735c44dc..4dee0ce0f37 100644
--- a/Master/texmf-dist/doc/latex/ycbook/ycbook-doc.tex
+++ b/Master/texmf-dist/doc/latex/ycbook/ycbook-doc.tex
@@ -1,6 +1,6 @@
-% ======================================================================
+ % ======================================================================
% ycbook-doc.tex
-% Copyright (c) Youssef Cherem <ycherem(at)gmail.com>, 2016
+% Copyright (c) Youssef Cherem <ycherem(at)gmail.com>, 2017
%
% This file is part of the ycbook LaTeX2e class.
@@ -26,7 +26,7 @@
%\setsansfont{Fira Sans Book}[BoldFont={FiraSans-Bold},BoldItalicFont={FiraSans-BoldItalic},Scale=.9]
%\setmonofont[Scale=0.8,Color=Teal]{Fira Mono}
\usepackage{tikz}
-\usetikzlibrary{shapes,snakes,shadings,shadows,shapes.geometric,decorations,positioning,arrows,decorations.pathmorphing}
+\usetikzlibrary{shapes,shadings,shadows,shapes.geometric,decorations,positioning,arrows,decorations.pathmorphing}
\usepackage[framemethod=tikz]{mdframed}
\surroundwithmdframed[linecolor=PaleTurquoise,skipabove=10pt,skipbelow=6pt, backgroundcolor=PaleTurquoise!30,roundcorner=6pt
]{verbatim}%roundcorner=10pt,
@@ -107,7 +107,7 @@
%
}
\author{\addfontfeatures{Style=Swash,Contextuals=Swash}\textit{Youssef Cherem}\\ \href{mailto:ycherem@gmail.com}{ycherem@gmail.com}}
-\date{\carimboa\ MMXVI \carimboa\\ \folhawarnocklinhaum% %
+\date{\carimboa\ MMXVII \carimboa\\ \folhawarnocklinhaum% %
}
@@ -217,7 +217,9 @@ apptotikzsetting
\section*{The reasons for this class}
-Although many usual \LaTeX\ packages and classes offer a wide array of solutions for text block and margin specifications, and although some of them, notably Koma\--Script \parencite{koma-script} allow and facilitate the application of ``classical" canons of page construction \parencite{tschichold_form_1991,bringhurst_elements_2013}, one may have several reasons to avoid this aesthetic solution. One reason is that these page construction methods were intended, obviously, for handwritten or printed material. Even assuming the material is to be printed, one reason to find an alternative is economic and environmental: the more paper you print, the more it will cost---both in terms of money and environmental impact. But the user also wishes to avoid a sloppy solution, squeezing as much content as possible onto the page just to save space. The compromise solution would be somewhat closer to what most commercial books look like---without jeopardizing legibility. In fact, it is rare to find a book that looks like it has been laid out according to the ``canons". That is one motive why I find the \texttt{mwcls} classes \parencite{mwcls} useful. Besides, \texttt{mwcls} alternatives for basic classes (\texttt{mwart} for articles, \texttt{mwrep} for reports and \texttt{mwbk} for books) allow the user to easily modify headings, being somewhat more flexible and providing a simpler interface than many classes. The goal was to provide a more user-friendly syntax for some common tweaks and more alternatives to the end-user. (As for the \texttt{mwart} class, I did not find anything to be changed---although the user might adapt some of the options presented in the \texttt{ycbook} class.)
+
+
+Although many usual \LaTeX\ packages and classes offer a wide array of solutions for text block and margin specifications, and although some of them, notably Koma-Script \parencite{koma-script} allow and facilitate the application of “classical” canons of page construction \parencite{tschichold_form_1991,bringhurst_elements_2013}, one may have several reasons to avoid this aesthetic solution. One reason is that these page construction methods were intended, obviously, for handwritten or printed material. Even assuming the material is to be printed, one reason to find an alternative is economic and environmental: the more paper you print, the more it will cost---both in terms of money and environmental impact. But the user also wishes to avoid a sloppy solution, squeezing as much content as possible onto the page just to save space. The compromise solution would be somewhat closer to what most commercial books look like---without jeopardizing legibility. In fact, it is rare to find a book that looks like it has been laid out according to the ``canons". That is one motive why I find the \texttt{mwcls} classes \parencite{mwcls} useful. Besides, \texttt{mwcls} alternatives for basic classes (\texttt{mwart} for articles, \texttt{mwrep} for reports and \texttt{mwbk} for books) allow the user to easily modify headings, being somewhat more flexible and providing a simpler interface than many classes. The goal was to provide a more user-friendly syntax for some common tweaks and more alternatives to the end-user. (As for the \texttt{mwart} class, I did not find anything to be changed---although the user might adapt some of the options presented in the \texttt{ycbook} class.)
@@ -325,8 +327,12 @@ The \texttt{titletoc} package can be used to customize the table of contents. As
-\section{Margin paragraphs and footnotes}
-\option{sansserifnotes} The option \opt{sansserifnotes} changes all footnotes to sans serif.
+\section{Footnotes and margin paragraphs}
+\option{sansserifnotes} The option \opt{sansserifnotes} changes all footnotes to sans serif.
+
+\option{nofootnoterule} The option \opt{nofootnoterule} removes the footnote rule that separates footnotes from the main text.
+
+\option{traditionalfootnote} The option \opt{traditionalfootnote} removes indentation of footnotes and also the wider space between the footnote mark and the footnote text.
You can choose to turn all footnotes into margin notes with the \texttt{footmisc} package:
@@ -336,6 +342,18 @@ You can choose to turn all footnotes into margin notes with the \texttt{footmisc
Margin paragraphs in two-side documents have been somewhat improved, but should not be overindulged. They don't work particularly well in smaller paper formats.
+\section{Other footnote and header options}
+
+If you have ever imagined how to change the color of the header line or the footnote line, two commands are provided: \verb|\coloredheadline{}|\footnote{Colored header lines will only work with the page style \texttt{uheadings} activated.} and\linebreak \verb|\coloredfootline{}|:
+
+\begin{verbatim}
+\coloredheadline{JungleGreen}
+\coloredfootline{Dandelion}
+\pagestyle{uheadings}
+\end{verbatim}
+
+
+
\section{Other options}
All other options from the \texttt{mwcls} classes are available, e.g.:
@@ -381,7 +399,7 @@ It works thus: \verb|\twopagepicture{image place regarding the caption}|\\ \verb
\end{document}
-removed
+%removed
%, so you can do fun things like this to color your header line:
%
%