Last active
January 15, 2017 15:10
-
-
Save paulrougieux/7671132f19412a0cac2f6ecb99955add to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#LyX 2.1 created this file. For more info see http://www.lyx.org/ | |
\lyxformat 474 | |
\begin_document | |
\begin_header | |
\textclass scrbook | |
\use_default_options true | |
\begin_modules | |
customHeadersFooters | |
\end_modules | |
\maintain_unincluded_children false | |
\language british | |
\language_package default | |
\inputencoding auto | |
\fontencoding global | |
\font_roman lmodern | |
\font_sans lmss | |
\font_typewriter lmtt | |
\font_math auto | |
\font_default_family default | |
\use_non_tex_fonts false | |
\font_sc false | |
\font_osf false | |
\font_sf_scale 100 | |
\font_tt_scale 100 | |
\graphics default | |
\default_output_format default | |
\output_sync 0 | |
\bibtex_command default | |
\index_command default | |
\float_placement h | |
\paperfontsize 12 | |
\spacing single | |
\use_hyperref false | |
\pdf_title "Your title" | |
\pdf_author "Your name" | |
\pdf_bookmarks true | |
\pdf_bookmarksnumbered true | |
\pdf_bookmarksopen true | |
\pdf_bookmarksopenlevel 1 | |
\pdf_breaklinks true | |
\pdf_pdfborder true | |
\pdf_colorlinks false | |
\pdf_backref false | |
\pdf_pdfusetitle false | |
\pdf_quoted_options "pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false" | |
\papersize a4paper | |
\use_geometry false | |
\use_package amsmath 2 | |
\use_package amssymb 2 | |
\use_package cancel 1 | |
\use_package esint 1 | |
\use_package mathdots 1 | |
\use_package mathtools 1 | |
\use_package mhchem 1 | |
\use_package stackrel 1 | |
\use_package stmaryrd 1 | |
\use_package undertilde 1 | |
\cite_engine natbib | |
\cite_engine_type authoryear | |
\biblio_style plain | |
\use_bibtopic false | |
\use_indices false | |
\paperorientation portrait | |
\suppress_date false | |
\justification true | |
\use_refstyle 0 | |
\branch NoChildDocument | |
\selected 0 | |
\filename_suffix 0 | |
\color #ff0000 | |
\end_branch | |
\index Index | |
\shortcut idx | |
\color #008000 | |
\end_index | |
\secnumdepth 3 | |
\tocdepth 3 | |
\paragraph_separation skip | |
\defskip medskip | |
\quotes_language english | |
\papercolumns 1 | |
\papersides 2 | |
\paperpagestyle fancy | |
\tracking_changes false | |
\output_changes false | |
\html_math_output 0 | |
\html_css_as_file 0 | |
\html_be_strict false | |
\end_header | |
\begin_body | |
\begin_layout Left Header | |
\begin_inset Argument 1 | |
status open | |
\begin_layout Plain Layout | |
\begin_inset ERT | |
status collapsed | |
\begin_layout Plain Layout | |
\backslash | |
chaptername | |
\end_layout | |
\end_inset | |
\begin_inset space ~ | |
\end_inset | |
\begin_inset ERT | |
status collapsed | |
\begin_layout Plain Layout | |
\backslash | |
thechapter | |
\end_layout | |
\end_inset | |
\end_layout | |
\end_inset | |
\begin_inset ERT | |
status collapsed | |
\begin_layout Plain Layout | |
\backslash | |
rightmark | |
\end_layout | |
\end_inset | |
\begin_inset Note Note | |
status collapsed | |
\begin_layout Plain Layout | |
Enable page headers and add the chapter to the header line. | |
\end_layout | |
\end_inset | |
\end_layout | |
\begin_layout Right Header | |
\begin_inset Argument 1 | |
status open | |
\begin_layout Plain Layout | |
\begin_inset ERT | |
status collapsed | |
\begin_layout Plain Layout | |
\backslash | |
leftmark | |
\end_layout | |
\end_inset | |
\end_layout | |
\end_inset | |
\end_layout | |
\begin_layout Left Footer | |
\begin_inset Argument 1 | |
status open | |
\begin_layout Plain Layout | |
\begin_inset ERT | |
status collapsed | |
\begin_layout Plain Layout | |
\backslash | |
thepage | |
\end_layout | |
\end_inset | |
\end_layout | |
\end_inset | |
\end_layout | |
\begin_layout Center Footer | |
\end_layout | |
\begin_layout Right Footer | |
\begin_inset Argument 1 | |
status open | |
\begin_layout Plain Layout | |
\begin_inset ERT | |
status collapsed | |
\begin_layout Plain Layout | |
\backslash | |
thepage | |
\end_layout | |
\end_inset | |
\end_layout | |
\end_inset | |
\end_layout | |
\begin_layout Chapter | |
test | |
\end_layout | |
\begin_layout Standard | |
bla | |
\end_layout | |
\begin_layout Standard | |
\begin_inset Newpage pagebreak | |
\end_inset | |
\end_layout | |
\begin_layout Standard | |
bla | |
\end_layout | |
\begin_layout Standard | |
bla | |
\end_layout | |
\begin_layout Standard | |
\begin_inset Newpage pagebreak | |
\end_inset | |
\end_layout | |
\begin_layout Standard | |
bla | |
\end_layout | |
\begin_layout Standard | |
bla | |
\end_layout | |
\begin_layout Standard | |
\begin_inset Newpage pagebreak | |
\end_inset | |
\end_layout | |
\begin_layout Standard | |
bla | |
\end_layout | |
\end_body | |
\end_document |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%% LyX 2.1.2 created this file. For more info, see http://www.lyx.org/. | |
%% Do not edit unless you really know what you are doing. | |
\documentclass[12pt,a4paper,british]{scrbook} | |
\usepackage{lmodern} | |
\renewcommand{\sfdefault}{lmss} | |
\renewcommand{\ttdefault}{lmtt} | |
\usepackage[T1]{fontenc} | |
\usepackage[latin9]{inputenc} | |
\usepackage{fancyhdr} | |
\pagestyle{fancy} | |
\setcounter{secnumdepth}{3} | |
\setcounter{tocdepth}{3} | |
\setlength{\parskip}{\medskipamount} | |
\setlength{\parindent}{0pt} | |
\usepackage{amsmath} | |
\usepackage{amssymb} | |
\usepackage[authoryear]{natbib} | |
\makeatletter | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LyX specific LaTeX commands. | |
\pdfpageheight\paperheight | |
\pdfpagewidth\paperwidth | |
\makeatother | |
\usepackage{babel} | |
\begin{document} | |
\lhead[\chaptername~\thechapter]{\rightmark} | |
\rhead[\leftmark]{} | |
\lfoot[\thepage]{} | |
\cfoot{} | |
\rfoot[\thepage]{} | |
\chapter{testant} | |
bla | |
\pagebreak{} | |
bla | |
bla | |
\pagebreak{} | |
bla | |
bla | |
\pagebreak{} | |
bla | |
\end{document} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment