Skip to content

Commit

Permalink
Change title formating to use b-it blue
Browse files Browse the repository at this point in the history
Formatting is now only about the font color, without affecting
thespacing
  • Loading branch information
argenos committed Jun 6, 2018
1 parent 6828376 commit 95bc1b6
Showing 1 changed file with 35 additions and 29 deletions.
64 changes: 35 additions & 29 deletions mas_proposal.cls
Original file line number Diff line number Diff line change
Expand Up @@ -219,35 +219,41 @@ Supervised by\par
% \renewcommand*\sectionmark[1]{\markright{\textcolor{hbrs}{\thesection.\ } #1}}

%% Chapter titles have the same layout as parts.
\titleformat{\chapter}
[display]
{\flushleft}%format
{\bfseries\Large}%label
{0pt}%sep
{\bfseries\Large\thechapter.~}%before code
% [\vspace{-1cm}]
\titleformat{name=\chapter,numberless}
[display]
{\flushleft}
{\bfseries\Large}
{0pt}
{\bfseries\Large}

\titlespacing{\chapter}{0pt}{-50pt}{10pt}

\titleformat{\section}
[display]
{\flushleft}%format
{\bfseries\large}%label
{0pt}%sep
{\bfseries\large\thesection.~}%before code

\titleformat{\subsection}
[display]
{\flushleft}%format
{\bfseries\large}%label
{0pt}%sep
{\bfseries\large\thesubsection.~}%before code
% \titleformat{\chapter}
% [display]
% {\flushleft}%format
% {\bfseries\Large}%label
% {0pt}%sep
% {\bfseries\Large\thechapter.~}%before code
% % [\vspace{-1cm}]
% \titleformat{name=\chapter,numberless}
% [display]
% {\flushleft}
% {\bfseries\Large}
% {0pt}
% {\bfseries\Large}
%
% \titlespacing{\chapter}{0pt}{-50pt}{10pt}
%
% \titleformat{\section}
% [display]
% {\flushleft}%format
% {\bfseries\large}%label
% {0pt}%sep
% {\bfseries\large\thesection.~}%before code
%
% \titleformat{\subsection}
% [display]
% {\flushleft}%format
% {\bfseries\large}%label
% {0pt}%sep
% {\bfseries\large\thesubsection.~}%before code

\usepackage{sectsty}
\chapterfont{\color{hbrs}}
\sectionfont{\color{hbrs}}
\subsectionfont{\color{hbrs}}
\subsubsectionfont{\color{hbrs}}

% \titleformat{\section}
% [block]
Expand Down

0 comments on commit 95bc1b6

Please sign in to comment.