lib/softcover/template/latex_styles/softcover.sty in softcover-0.9.10 vs lib/softcover/template/latex_styles/softcover.sty in softcover-0.9.11
- old
+ new
@@ -1,10 +1,10 @@
% This is a generated file. Do not edit.
% Page size
% These settings are optimized for ebooks.
-% If you want different settings, override them in custom.sty.
+% If you want different settings, override them in custom_pdf.sty.
\setlength{\oddsidemargin}{.25in}
\setlength{\evensidemargin}{.25in}
\setlength{\textheight}{8in}
\setlength{\textwidth}{6.25in}
\setlength{\topmargin}{0in}
@@ -72,11 +72,11 @@
\usepackage[scaled=0.92]{helvet}
% Fix quotes in code environments
\usepackage{latex_styles/upquote}
% Filesystem paths
-\newcommand{\filepath}[1]{\texttt{\small #1}}
+\newcommand{\filepath}[1]{\textit{\texttt{\small #1}}}
% Size-constrained images
\newcommand{\image}[1]{\begin{center}\includegraphics[width=\maxwidth{0.95\textwidth}]{#1}\end{center}}
\newcommand{\imagebox}[1]{\begin{center}\fbox{\includegraphics[width=\maxwidth{0.95\textwidth}]{#1}}\end{center}}
@@ -136,9 +136,12 @@
\posttitle{%
\par\end{center}
\begin{center}\large#1\end{center}
\vskip0.5em}%
}
+
+% Enable the \pbox command for paragraph boxes in tables.
+\usepackage{pbox}
% Define some commonly used Unicode characters.
\usepackage{newunicodechar}
\newunicodechar{—}{---}
\newunicodechar{–}{--}