Skip to content

Commit

Permalink
Disable titlesec patch (fixes #69)
Browse files Browse the repository at this point in the history
  • Loading branch information
aoles committed Dec 26, 2019
1 parent 0c3a2af commit c7ccfef
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Title: Standard styles for vignettes and other Bioconductor documents
Description: Provides standard formatting styles for Bioconductor PDF
and HTML documents. Package vignettes illustrate use and
functionality.
Version: 2.15.2
Version: 2.15.3
Author: Andrzej Oleś, Martin Morgan, Wolfgang Huber
Maintainer: Bioconductor Package Maintainer <[email protected]>
Imports: bookdown, knitr (>= 1.12), rmarkdown (>= 1.2), stats, utils, yaml,
Expand Down
11 changes: 0 additions & 11 deletions inst/resources/tex/Bioconductor.sty
Original file line number Diff line number Diff line change
Expand Up @@ -88,17 +88,6 @@
%
\RequirePackage{etoolbox}% provides \patchcmd
\RequirePackage[newlinetospace,explicit]{titlesec}
%
% Patch the bug introduced in titlesec 2.10.1
% http://tex.stackexchange.com/q/299969/102422
%
\makeatletter
\@ifpackagelater{titlesec}{2016/03/15}{\@ifpackagelater{titlesec}{2016/03/21}{}{%
\patchcmd{\ttlh@hang}{\noindent}{}{}{}
\patchcmd{\ttlh@hang}{\sbox}{\noindent\sbox}{}{}
}}{}
\makeatother
%
%% Font definitions
\def\mdhelvet{\fontfamily{phv}\selectfont\mdseries}
\def\bfhelvet{\fontfamily{phv}\selectfont\bfseries}
Expand Down

0 comments on commit c7ccfef

Please sign in to comment.