2011/12/31 Jürgen Spitzmüller <[email protected]>: > Bianca Schöne wrote: >> So basically, I want the naming (A and B instead of A1 and A2) of >> chapters, but the formatting of sections. (A minimal file is >> included.) > > Here's a hackish solution (note that this only affects the output, not the > display in the LyX window): > > \usepackage{chngcntr} > \renewcommand*\appendix{\par\clearpage% > \thispagestyle{plain} > \setcounter{chapter}{0}% > \setcounter{section}{0}% > \gdef\@chapapp{\appendixname}% > \gdef\thechapter{\@Alph\c@chapter}% > \csname appendixmore\endcsname > \gdef\thesection{\@Alph\c@section}% > \renewcommand*\thefigure{% > \thesection.% > \@arabic\c@figure > } > \counterwithin{figure}{section} > } > > HTH, > Jürgen >
THANK YOU! That worked wonders. :-) I've also added "\makeatletter\@openrightfalse" in ERT before the appendix, which removes the blank pages. (As found here: http://stackoverflow.com/questions/1358694/latex-remove-blank-page-after-a-part-or-chapter ) Thank you so much, and have a very nice new year! Bianca
