mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 18:08:10 +00:00
thesis template: add check for babel (as discussed in bug #8423)
This commit is contained in:
parent
128a274e37
commit
baf48453e7
@ -5,7 +5,10 @@
|
|||||||
\textclass scrbook
|
\textclass scrbook
|
||||||
\begin_preamble
|
\begin_preamble
|
||||||
% increases link area for cross-references and autoname them
|
% increases link area for cross-references and autoname them
|
||||||
|
% if you change the document language to e.g. French
|
||||||
|
% you must change "extrasenglish" to "extrasfrench"
|
||||||
\AtBeginDocument{\renewcommand{\ref}[1]{\mbox{\autoref{#1}}}}
|
\AtBeginDocument{\renewcommand{\ref}[1]{\mbox{\autoref{#1}}}}
|
||||||
|
\@ifundefined{extrasenglish}{\usepackage[english]{babel}}{}
|
||||||
\addto\extrasenglish{%
|
\addto\extrasenglish{%
|
||||||
\renewcommand*{\equationautorefname}[1]{}
|
\renewcommand*{\equationautorefname}[1]{}
|
||||||
\renewcommand{\sectionautorefname}{sec.\negthinspace}
|
\renewcommand{\sectionautorefname}{sec.\negthinspace}
|
||||||
|
@ -5,7 +5,10 @@
|
|||||||
\textclass scrbook
|
\textclass scrbook
|
||||||
\begin_preamble
|
\begin_preamble
|
||||||
% increases link area for cross-references and autoname them
|
% increases link area for cross-references and autoname them
|
||||||
|
% if you change the document language to e.g. French
|
||||||
|
% you must change "extrasenglish" to "extrasfrench"
|
||||||
\AtBeginDocument{\renewcommand{\ref}[1]{\mbox{\autoref{#1}}}}
|
\AtBeginDocument{\renewcommand{\ref}[1]{\mbox{\autoref{#1}}}}
|
||||||
|
\@ifundefined{extrasenglish}{\usepackage[english]{babel}}{}
|
||||||
\addto\extrasenglish{%
|
\addto\extrasenglish{%
|
||||||
\renewcommand*{\equationautorefname}[1]{}
|
\renewcommand*{\equationautorefname}[1]{}
|
||||||
\renewcommand{\sectionautorefname}{sec.\negthinspace}
|
\renewcommand{\sectionautorefname}{sec.\negthinspace}
|
||||||
|
@ -5,7 +5,10 @@
|
|||||||
\textclass scrbook
|
\textclass scrbook
|
||||||
\begin_preamble
|
\begin_preamble
|
||||||
% increases link area for cross-references and autoname them
|
% increases link area for cross-references and autoname them
|
||||||
|
% if you change the document language to e.g. French
|
||||||
|
% you must change "extrasenglish" to "extrasfrench"
|
||||||
\AtBeginDocument{\renewcommand{\ref}[1]{\mbox{\autoref{#1}}}}
|
\AtBeginDocument{\renewcommand{\ref}[1]{\mbox{\autoref{#1}}}}
|
||||||
|
\@ifundefined{extrasenglish}{\usepackage[english]{babel}}{}
|
||||||
\addto\extrasenglish{%
|
\addto\extrasenglish{%
|
||||||
\renewcommand*{\equationautorefname}[1]{}
|
\renewcommand*{\equationautorefname}[1]{}
|
||||||
\renewcommand{\sectionautorefname}{sec.\negthinspace}
|
\renewcommand{\sectionautorefname}{sec.\negthinspace}
|
||||||
|
@ -5,7 +5,10 @@
|
|||||||
\textclass scrbook
|
\textclass scrbook
|
||||||
\begin_preamble
|
\begin_preamble
|
||||||
% increases link area for cross-references and autoname them
|
% increases link area for cross-references and autoname them
|
||||||
|
% if you change the document language to e.g. French
|
||||||
|
% you must change "extrasenglish" to "extrasfrench"
|
||||||
\AtBeginDocument{\renewcommand{\ref}[1]{\mbox{\autoref{#1}}}}
|
\AtBeginDocument{\renewcommand{\ref}[1]{\mbox{\autoref{#1}}}}
|
||||||
|
\@ifundefined{extrasenglish}{\usepackage[english]{babel}}{}
|
||||||
\addto\extrasenglish{%
|
\addto\extrasenglish{%
|
||||||
\renewcommand*{\equationautorefname}[1]{}
|
\renewcommand*{\equationautorefname}[1]{}
|
||||||
\renewcommand{\sectionautorefname}{sec.\negthinspace}
|
\renewcommand{\sectionautorefname}{sec.\negthinspace}
|
||||||
|
Loading…
Reference in New Issue
Block a user