Minor tweaks.
This commit is contained in:
18
CrossRef.sty
18
CrossRef.sty
@@ -4,15 +4,15 @@
|
|||||||
% Cross references
|
% Cross references
|
||||||
%#region
|
%#region
|
||||||
%\newcommand{\sectionRef}[2]{\ref{#1:#2}: #2}
|
%\newcommand{\sectionRef}[2]{\ref{#1:#2}: #2}
|
||||||
\newcommand{\refChapter}[1]{Chapter \ref{ch:#1}}
|
\newcommand{\refChapter}[2][Chapter~]{#1\ref{ch:#2}}
|
||||||
\newcommand{\refAppendix}[1]{Appendix \ref{ch:#1}}
|
\newcommand{\refAppendix}[2][Appendix~]{#1\ref{ch:#2}}
|
||||||
\newcommand{\refSection}[1]{Section \ref{sec:#1}}
|
\newcommand{\refSection}[2][Section~]{#1\ref{sec:#2}}
|
||||||
\newcommand{\refSubsection}[1]{Subsection \ref{subsec:#1}}
|
\newcommand{\refSubsection}[2][Subsection~]{#1\ref{subsec:#2}}
|
||||||
\newcommand{\refSubsubsection}[1]{Sub-subsection \ref{sssec:#1}}
|
\newcommand{\refSubsubsection}[2][Sub-subsection~]{#1\ref{sssec:#2}}
|
||||||
\newcommand{\refParagraph}[1]{Paragraph \ref{par:#1}}
|
\newcommand{\refParagraph}[2][Paragraph]{#1\ref{par:#2}}
|
||||||
\newcommand{\refSubparagraph}[1]{Subparagraph \ref{subpar:#1}}
|
\newcommand{\refSubparagraph}[2][Subparagraph~]{#1\ref{subpar:#2}}
|
||||||
\newcommand{\refTable}[1]{Table \ref{tbl:#1}}
|
\newcommand{\refTable}[2][Table~]{#1\ref{tbl:#2}}
|
||||||
\newcommand{\refFigure}[1]{Figure \ref{fig:#1}}
|
\newcommand{\refFigure}[2][Figure~]{#1\ref{fig:#2}}
|
||||||
|
|
||||||
\newcommand{\lblGeneral}[4][]{
|
\newcommand{\lblGeneral}[4][]{
|
||||||
\if\relax\detokenize{#1}\relax % Check if #1 is empty string.
|
\if\relax\detokenize{#1}\relax % Check if #1 is empty string.
|
||||||
|
|||||||
@@ -3,4 +3,6 @@
|
|||||||
|
|
||||||
\hyphenation{
|
\hyphenation{
|
||||||
over-view
|
over-view
|
||||||
|
over-views
|
||||||
|
%wheth-er
|
||||||
}
|
}
|
||||||
11
Layout.sty
11
Layout.sty
@@ -10,14 +10,21 @@
|
|||||||
%#region
|
%#region
|
||||||
\RequirePackage[pass]{geometry}
|
\RequirePackage[pass]{geometry}
|
||||||
\RequirePackage{calc}
|
\RequirePackage{calc}
|
||||||
\RequirePackage{changepage}
|
\RequirePackage[strict]{changepage}
|
||||||
|
|
||||||
\newlength{\contentwidth}
|
\newlength{\contentwidth}
|
||||||
\setlength{\contentwidth}{\textwidth+\marginparsep+\marginparwidth}
|
\setlength{\contentwidth}{\textwidth+\marginparsep+\marginparwidth}
|
||||||
|
|
||||||
|
\newlength{\bigfloatoffset}
|
||||||
|
\setlength{\bigfloatoffset}{0.25in}
|
||||||
|
|
||||||
|
% Maximum width adjustment to fit 2 16x9 screensots on one page.
|
||||||
|
\newlength{\twoscreenshotmaxwidth}
|
||||||
|
\setlength{\twoscreenshotmaxwidth}{0.65in}
|
||||||
|
|
||||||
\newcommand{\bigfloat}[3][1in]{%
|
\newcommand{\bigfloat}[3][1in]{%
|
||||||
\begin{#2}[htp]%
|
\begin{#2}[htp]%
|
||||||
\begin{adjustwidth*}{-#1}{-#1}%
|
\begin{adjustwidth*}{-#1+\bigfloatoffset}{-#1-\bigfloatoffset}%
|
||||||
\begin{minipage}{#1 * 2 + \textwidth}%
|
\begin{minipage}{#1 * 2 + \textwidth}%
|
||||||
#3%
|
#3%
|
||||||
\end{minipage}%
|
\end{minipage}%
|
||||||
|
|||||||
Reference in New Issue
Block a user