From 8b927de4fcef9e3420f1d9af8c350e200aef5d28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonatan=20P=C3=A5lsson?= Date: Tue, 22 Mar 2011 23:42:51 +0100 Subject: [PATCH] Finally got the sections the way I wanted them. --- #report.lyx# | 11 ++++++++++- report.lyx | 11 ++++++++++- report.lyx~ | 2 +- 3 files changed, 21 insertions(+), 3 deletions(-) diff --git a/#report.lyx# b/#report.lyx# index 9326976..c0843e3 100644 --- a/#report.lyx# +++ b/#report.lyx# @@ -41,7 +41,16 @@ \footskip 0.75in \usepackage[compact]{titlesec} -\titleformat{\chapter}[display]{\bfseries\vskip-8em}{}{8ex}{\huge\thechapter. }[\titlerule] + + +\titleformat{\chapter}[display] +{\vskip-8em\normalfont\bfseries} +{\LARGE\raggedright\thechapter} +{14ex} +{\vspace{-20ex}% +\LARGE\raggedleft} +[\vspace{1ex}% +{\titlerule[3pt]}] \end_preamble \use_default_options true \language english diff --git a/report.lyx b/report.lyx index 9326976..eb2d9ea 100644 --- a/report.lyx +++ b/report.lyx @@ -41,7 +41,16 @@ \footskip 0.75in \usepackage[compact]{titlesec} -\titleformat{\chapter}[display]{\bfseries\vskip-8em}{}{8ex}{\huge\thechapter. }[\titlerule] + + +\titleformat{\chapter}[display] +{\vskip-8em\normalfont\bfseries} +{\LARGE\raggedright\thechapter} +{14ex} +{\vspace{-20ex}% +\LARGE\raggedleft} +[\vspace{1ex}% +{\titlerule[1pt]}] \end_preamble \use_default_options true \language english diff --git a/report.lyx~ b/report.lyx~ index e0f3607..9326976 100644 --- a/report.lyx~ +++ b/report.lyx~ @@ -41,7 +41,7 @@ \footskip 0.75in \usepackage[compact]{titlesec} -\titleformat{\chapter}[display]{\bfseries}{ }{0ex}{\huge}[\titlerule] +\titleformat{\chapter}[display]{\bfseries\vskip-8em}{}{8ex}{\huge\thechapter. }[\titlerule] \end_preamble \use_default_options true \language english