lib/softcover/template/latex_styles/softcover.sty in softcover-0.9.23 vs lib/softcover/template/latex_styles/softcover.sty in softcover-1.0.beta1
- old
+ new
@@ -9,14 +9,14 @@
\setlength{\textwidth}{6.25in}
\setlength{\topmargin}{0in}
% Font encodings
\usepackage[T1]{fontenc}
+% Be able to define colors
+\usepackage[svgnames]{xcolor}
% Be able to include book covers
\usepackage{pdfpages}
-% Be able to define colors
-\usepackage{xcolor}
% Include graphics
\usepackage{graphicx}
\def\maxwidth#1{\ifdim\Gin@nat@width>#1 #1\else\Gin@nat@width\fi}
% Commands included by PolyTeXnic
\usepackage{latex_styles/polytexnic_commands}
@@ -127,9 +127,10 @@
% Additional commands
\newcommand{\heading}[1]{\textbf{#1}}
\newcommand{\kodesize}{\smaller[0.75]}
\newcommand{\kode}[1]{\textcolor{darkgreen}{\textbf{\texttt{\kodesize #1}}}}
\newcommand{\coloredtext}[2]{\textcolor{#1}{#2}}
+\newcommand{\coloredtexthtml}[2]{\textcolor[HTML]{#1}{#2}}
% Subtitle command
\usepackage{titling}
\newcommand{\subtitle}[1]{%
\posttitle{%