mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 19:07:45 +00:00
Thesis template: fix whitespace issue in preambles
This commit is contained in:
parent
2ca45745ce
commit
9fd950c3f2
@ -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}
|
||||||
|
|
||||||
|
@ -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}
|
||||||
|
|
||||||
|
@ -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}
|
||||||
|
|
||||||
|
@ -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}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user