Thesis template: fix whitespace issue in preambles

This commit is contained in:
Scott Kostyshak 2013-06-01 10:10:40 -04:00
parent 2ca45745ce
commit 9fd950c3f2
4 changed files with 24 additions and 24 deletions

View File

@ -11,12 +11,12 @@
\renewcommand{\ref}[1]{\mbox{\autoref{#1}}} \renewcommand{\ref}[1]{\mbox{\autoref{#1}}}
} }
\def\refnamechanges{% \def\refnamechanges{%
\renewcommand*{\equationautorefname}[1]{} \renewcommand*{\equationautorefname}[1]{}%
\renewcommand{\sectionautorefname}{sec.\negthinspace} \renewcommand{\sectionautorefname}{sec.\negthinspace}%
\renewcommand{\subsectionautorefname}{sec.\negthinspace} \renewcommand{\subsectionautorefname}{sec.\negthinspace}%
\renewcommand{\subsubsectionautorefname}{sec.\negthinspace} \renewcommand{\subsubsectionautorefname}{sec.\negthinspace}%
\renewcommand{\figureautorefname}{Fig.\negthinspace} \renewcommand{\figureautorefname}{Fig.\negthinspace}%
\renewcommand{\tableautorefname}{Tab.\negthinspace} \renewcommand{\tableautorefname}{Tab.\negthinspace}%
} }
\@ifpackageloaded{babel}{\addto\extrasenglish{\refnamechanges}}{\refnamechanges} \@ifpackageloaded{babel}{\addto\extrasenglish{\refnamechanges}}{\refnamechanges}

View File

@ -11,12 +11,12 @@
\renewcommand{\ref}[1]{\mbox{\autoref{#1}}} \renewcommand{\ref}[1]{\mbox{\autoref{#1}}}
} }
\def\refnamechanges{% \def\refnamechanges{%
\renewcommand*{\equationautorefname}[1]{} \renewcommand*{\equationautorefname}[1]{}%
\renewcommand{\sectionautorefname}{sec.\negthinspace} \renewcommand{\sectionautorefname}{sec.\negthinspace}%
\renewcommand{\subsectionautorefname}{sec.\negthinspace} \renewcommand{\subsectionautorefname}{sec.\negthinspace}%
\renewcommand{\subsubsectionautorefname}{sec.\negthinspace} \renewcommand{\subsubsectionautorefname}{sec.\negthinspace}%
\renewcommand{\figureautorefname}{Fig.\negthinspace} \renewcommand{\figureautorefname}{Fig.\negthinspace}%
\renewcommand{\tableautorefname}{Tab.\negthinspace} \renewcommand{\tableautorefname}{Tab.\negthinspace}%
} }
\@ifpackageloaded{babel}{\addto\extrasenglish{\refnamechanges}}{\refnamechanges} \@ifpackageloaded{babel}{\addto\extrasenglish{\refnamechanges}}{\refnamechanges}

View File

@ -11,12 +11,12 @@
\renewcommand{\ref}[1]{\mbox{\autoref{#1}}} \renewcommand{\ref}[1]{\mbox{\autoref{#1}}}
} }
\def\refnamechanges{% \def\refnamechanges{%
\renewcommand*{\equationautorefname}[1]{} \renewcommand*{\equationautorefname}[1]{}%
\renewcommand{\sectionautorefname}{sec.\negthinspace} \renewcommand{\sectionautorefname}{sec.\negthinspace}%
\renewcommand{\subsectionautorefname}{sec.\negthinspace} \renewcommand{\subsectionautorefname}{sec.\negthinspace}%
\renewcommand{\subsubsectionautorefname}{sec.\negthinspace} \renewcommand{\subsubsectionautorefname}{sec.\negthinspace}%
\renewcommand{\figureautorefname}{Fig.\negthinspace} \renewcommand{\figureautorefname}{Fig.\negthinspace}%
\renewcommand{\tableautorefname}{Tab.\negthinspace} \renewcommand{\tableautorefname}{Tab.\negthinspace}%
} }
\@ifpackageloaded{babel}{\addto\extrasenglish{\refnamechanges}}{\refnamechanges} \@ifpackageloaded{babel}{\addto\extrasenglish{\refnamechanges}}{\refnamechanges}

View File

@ -11,12 +11,12 @@
\renewcommand{\ref}[1]{\mbox{\autoref{#1}}} \renewcommand{\ref}[1]{\mbox{\autoref{#1}}}
} }
\def\refnamechanges{% \def\refnamechanges{%
\renewcommand*{\equationautorefname}[1]{} \renewcommand*{\equationautorefname}[1]{}%
\renewcommand{\sectionautorefname}{sec.\negthinspace} \renewcommand{\sectionautorefname}{sec.\negthinspace}%
\renewcommand{\subsectionautorefname}{sec.\negthinspace} \renewcommand{\subsectionautorefname}{sec.\negthinspace}%
\renewcommand{\subsubsectionautorefname}{sec.\negthinspace} \renewcommand{\subsubsectionautorefname}{sec.\negthinspace}%
\renewcommand{\figureautorefname}{Fig.\negthinspace} \renewcommand{\figureautorefname}{Fig.\negthinspace}%
\renewcommand{\tableautorefname}{Tab.\negthinspace} \renewcommand{\tableautorefname}{Tab.\negthinspace}%
} }
\@ifpackageloaded{babel}{\addto\extrasenglish{\refnamechanges}}{\refnamechanges} \@ifpackageloaded{babel}{\addto\extrasenglish{\refnamechanges}}{\refnamechanges}