texlive[43171] Master/texmf-dist: ycbook (8feb17)

commits+karl at tug.org commits+karl at tug.org
Wed Feb 8 23:19:24 CET 2017


Revision: 43171
          http://tug.org/svn/texlive?view=revision&revision=43171
Author:   karl
Date:     2017-02-08 23:19:24 +0100 (Wed, 08 Feb 2017)
Log Message:
-----------
ycbook (8feb17)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/ycbook/README.md
    trunk/Master/texmf-dist/doc/latex/ycbook/ycbook-doc.pdf
    trunk/Master/texmf-dist/doc/latex/ycbook/ycbook-doc.tex
    trunk/Master/texmf-dist/tex/latex/ycbook/ycbook.cls

Modified: trunk/Master/texmf-dist/doc/latex/ycbook/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/ycbook/README.md	2017-02-08 22:19:13 UTC (rev 43170)
+++ trunk/Master/texmf-dist/doc/latex/ycbook/README.md	2017-02-08 22:19:24 UTC (rev 43171)
@@ -4,7 +4,7 @@
 ======= ycbook -- A Latex Class for Books and Reports ==========
 
 
-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.
  This work may be distributed and/or modified under the conditions of

Modified: trunk/Master/texmf-dist/doc/latex/ycbook/ycbook-doc.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/ycbook/ycbook-doc.tex
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/tex/latex/ycbook/ycbook.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/ycbook/ycbook.cls	2017-02-08 22:19:13 UTC (rev 43170)
+++ trunk/Master/texmf-dist/tex/latex/ycbook/ycbook.cls	2017-02-08 22:19:24 UTC (rev 43171)
@@ -1,5 +1,5 @@
   %% yc-book.cls
-  %% Copyright (c) Youssef Cherem <ycherem(at)gmail.com>, 2016
+  %% Copyright (c) Youssef Cherem <ycherem(at)gmail.com>, 2017
   %
   % This work may be distributed and/or modified under the
   % conditions of the LaTeX Project Public License, either version 1.3c
@@ -18,7 +18,7 @@
 
 
 \NeedsTeXFormat{LaTeX2e}
-\ProvidesClass{ycbook}[2016/07/04 ycbook class]
+\ProvidesClass{ycbook}[2017/02/08 ycbook class]
  
 \LoadClassWithOptions{mwbk}	
 
@@ -602,7 +602,62 @@
 
 
 
+%%%%%%%%%%%%%% footnotes %%%%%%%%%%%%%%%%
 
+\DeclareOption{nofootnoterule}{%
+	\renewcommand\footnoterule{}%
+}
+
+\DeclareOption{traditionalfootnote}{%
+	\renewcommand\@makefntext[1]{%
+		\indent\@makefnmark#1}
+}
+
+%\renewcommand\@makefntext[1]{%
+%	%\parindent\@parindent
+%	\indent
+%	\@makefnmark\enspace#1}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+%%% footnotes/thanks in titles
+
+%\renewcommand*\maketitle{\par
+%	\begingroup
+%	\renewcommand\thefootnote{\@fnsymbol\c at footnote}%
+%	%	\long\def\@makefntext##1{
+%	%		\parindent\@parindent
+%	%		\@textsuperscript{\normalfont\@thefnmark}\enspace##1}%
+%	\if at twocolumn
+%	\ifnum \col at number=\@ne
+%	\@maketitle
+%	\else
+%	\twocolumn[\@maketitle]%
+%	\fi
+%	\else
+%	\newpage
+%	\global\@topnum\z@   % Prevents figures from going at top of page.
+%	\@maketitle
+%	\fi
+%	\thispagestyle{opening}\@thanks
+%	\endgroup
+%	\setcounter{footnote}{0}%
+%	\global\let\thanks\relax
+%	\global\let\maketitle\relax
+%	\global\let\@maketitle\relax
+%	\global\let\@thanks\@empty
+%	\global\let\@author\@empty
+%	\global\let\@date\@empty
+%	\global\let\@title\@empty
+%	\global\let\title\relax
+%	\global\let\author\relax
+%	\global\let\date\relax
+%	\global\let\and\relax
+%}
+
+
+%%%%%%%%%%%
+
 \ExecuteOptions{headings,chapterleft}
 
 \ProcessOptions\relax
@@ -906,6 +961,10 @@
 
 
 
+
+
+
+
 %%%%%% TWO PAGE PICTURE %%%%%%%%
 %%%% from: http://tex.stackexchange.com/questions/23860/how-to-include-a-picture-over-two-pages-left-part-on-left-side-right-on-right
 %%% Thanks to Martin Scharrer
@@ -1048,6 +1107,27 @@
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
+%LINHA COLORIDA NO CABEÇALHO
+\newcommand{\coloredheadline}[1]{
+	\renewcommand\hf at uheadings{%
+		\def\@oddhead{\vtop{%
+				\hb at xt@\textwidth{%
+					\reset at font{\heading at font\rightmark}\hfil\thepage\strut}%
+				\vskip2pt\color{#1}\hrule\vskip-2.4pt}}%
+		\let\@oddfoot\@empty
+		\def\@evenhead{\vtop{%
+				\hb at xt@\textwidth{%
+					\reset at font\strut\thepage\hfil\heading at font\leftmark}%
+				\vskip2pt\color{#1}\hrule\vskip-2.4pt}}%
+		\let\@evenfoot\@empty
+	}
+}
 
-
+%LINHA COLORIDA NO RODAPÉ
+\newcommand{\coloredfootline}[1]{
+\renewcommand\footnoterule{%
+	\kern-3\p@
+	{\color{#1}\hrule\@width4pc}
+	\kern2.6\p@}
+}
 \endinput



More information about the tex-live-commits mailing list