X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Fexamples%2Fthesis%2Fchapter-2.lyx;h=dacdcfe0031364c3a103a8fb19a484a83a8ecddb;hb=6196645ccefa4a03a0617e2741a824156ed9404f;hp=d2c09d1666b3775bfebf1c0d845000ab4a210adf;hpb=34207e5571e38ced82f1b0fce7099ebe29147a7b;p=features.git diff --git a/lib/examples/thesis/chapter-2.lyx b/lib/examples/thesis/chapter-2.lyx index d2c09d1666..dacdcfe003 100644 --- a/lib/examples/thesis/chapter-2.lyx +++ b/lib/examples/thesis/chapter-2.lyx @@ -1,25 +1,11 @@ -#LyX 2.0 created this file. For more info see http://www.lyx.org/ -\lyxformat 413 +#LyX 2.2 created this file. For more info see http://www.lyx.org/ +\lyxformat 507 \begin_document \begin_header +\save_transient_properties true +\origin /systemlyxdir/examples/thesis/ \textclass scrbook \begin_preamble -% 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}}} -} -\def\refnamechanges{% - \renewcommand*{\equationautorefname}[1]{}% - \renewcommand{\sectionautorefname}{sec.\negthinspace}% - \renewcommand{\subsectionautorefname}{sec.\negthinspace}% - \renewcommand{\subsubsectionautorefname}{sec.\negthinspace}% - \renewcommand{\figureautorefname}{Fig.\negthinspace}% - \renewcommand{\tableautorefname}{Tab.\negthinspace}% -} -\@ifpackageloaded{babel}{\addto\extrasenglish{\refnamechanges}}{\refnamechanges} - % in case somebody want to have the label "Equation" %\renewcommand{\eqref}[1]{Equation~(\negthinspace\autoref{#1})} @@ -56,6 +42,23 @@ % avoids that floats are placed above its sections \let\mySection\section\renewcommand{\section}{\suppressfloats[t]\mySection} + +% 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" +% if you uncomment the following lines, you cannot use the reference version Ref+Text in LyX +%\AtBeginDocument{% +% \renewcommand{\ref}[1]{\autoref{#1}} +%} +%\def\refnamechanges{% +% \renewcommand*{\equationautorefname}[1]{} +% \renewcommand{\sectionautorefname}{sec.\negthinspace} +% \renewcommand{\subsectionautorefname}{sec.\negthinspace} +% \renewcommand{\subsubsectionautorefname}{sec.\negthinspace} +% \renewcommand{\figureautorefname}{Fig.\negthinspace} +% \renewcommand{\tableautorefname}{Tab.\negthinspace} +%} +%\@ifpackageloaded{babel}{\addto\extrasenglish{\refnamechanges}}{\refnamechanges} \end_preamble \options intoc,bibliography=totoc,index=totoc,BCOR10mm,captions=tableheading,titlepage,fleqn \use_default_options true @@ -68,20 +71,20 @@ customHeadersFooters \language_package default \inputencoding auto \fontencoding global -\font_roman lmodern -\font_sans lmss -\font_typewriter lmtt +\font_roman "lmodern" "default" +\font_sans "lmss" "default" +\font_typewriter "lmtt" "default" +\font_math "auto" "auto" \font_default_family default \use_non_tex_fonts false \font_sc false \font_osf false -\font_sf_scale 100 -\font_tt_scale 100 - +\font_sf_scale 100 100 +\font_tt_scale 100 100 \graphics default \default_output_format default \output_sync 0 -\bibtex_command default +\bibtex_command bibtex \index_command default \float_placement h \paperfontsize 12 @@ -101,15 +104,24 @@ customHeadersFooters \pdf_quoted_options "pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false" \papersize a4paper \use_geometry false -\use_amsmath 2 -\use_esint 1 -\use_mhchem 1 -\use_mathdots 1 +\use_package amsmath 2 +\use_package amssymb 2 +\use_package cancel 0 +\use_package esint 1 +\use_package mathdots 1 +\use_package mathtools 0 +\use_package mhchem 1 +\use_package stackrel 0 +\use_package stmaryrd 0 +\use_package undertilde 0 \cite_engine basic +\cite_engine_type default +\biblio_style plain \use_bibtopic false \use_indices false \paperorientation portrait \suppress_date false +\justification true \use_refstyle 0 \branch NoChildDocument \selected 0 @@ -138,7 +150,7 @@ customHeadersFooters \begin_body \begin_layout Left Header -\begin_inset Argument +\begin_inset Argument 1 status open \begin_layout Plain Layout @@ -203,7 +215,7 @@ Enable page headers and add the chapter to the header line. \end_layout \begin_layout Right Header -\begin_inset Argument +\begin_inset Argument 1 status open \begin_layout Plain Layout @@ -228,7 +240,7 @@ leftmark \end_layout \begin_layout Left Footer -\begin_inset Argument +\begin_inset Argument 1 status open \begin_layout Plain Layout @@ -257,7 +269,7 @@ thepage \end_layout \begin_layout Right Footer -\begin_inset Argument +\begin_inset Argument 1 status open \begin_layout Plain Layout