i have 2 issues with my document
A. First of all i never thought it would be so difficult to have 0 indent in 1st paragraph following chapter, section an subsection headings.
I've read that it's 0 by default with memoir class, but i end up with an indent in every paragraph. I believe one of the packages i'm using creates the problem, but i can't figure out which one.
B. Secondly, i want to be able to change the baselineskip (if that's the correct value i need to modify) inside the chapter title.
As you can see i have my chapter title stretched in 3 lines which i want to bring closer to one another (squeeze them vertically) and if possible, do the same for the sections, subsections, etc.
This is my preamble
\documentclass[9pt,draft,twoside,openright,showtrims]{memoir}
\usepackage{amsmath,amssymb,amsfonts}
\usepackage{mathspec,xunicode,xltxtra}
\usepackage{polyglossia}
\usepackage{tabularx}
\usepackage{footnote}
\usepackage{setspace}
\renewcommand{\baselinestretch}{1.25}
\setmainfont[
Ligatures=TeX,
BoldFont={FedraSansPro Bold.otf},
ItalicFont={FedraSansPro BookItalic.otf},
BoldItalicFont={FedraSansPro BoldItalic.otf}
]{FedraSansPro Book.otf}
\newfontfamily\greekfont[Script=Greek, Mapping=tex-text, BoldFont = FedraSansPro Bold.otf, ItalicFont = FedraSansPro BookItalic.otf]{FedraSansPro Book.otf}
\newfontfamily\englishfont[Mapping=tex-text, BoldFont = FedraSansPro Bold.otf, ItalicFont = FedraSansPro BookItalic.otf]{FedraSansPro Book.otf}
\setmainlanguage[variant=monotonic]{greek}
\PolyglossiaSetup{greek}{indentfirst=false}
\setotherlanguage{english}
\newcommand{\en}{\selectlanguage{english}}
\makeatletter %
\makechapterstyle{sofia}{
\setlength{\beforechapskip}{-48pt}
\setlength{\midchapskip}{0.5\baselineskip}
\setlength{\afterchapskip}{7\baselineskip}
\renewcommand{\chapterheadstart}{\vspace*{\beforechapskip}}
\renewcommand{\chapnamefont}{\raggedright\bfseries\huge}
\renewcommand{\printchaptername}{\chapnamefont \@chapapp}
\renewcommand{\chapternamenum}{\space}
\renewcommand{\chapnumfont}{\normalfont\huge}
\renewcommand{\printchapternum}{\chapnumfont \thechapter}
\renewcommand{\afterchapternum}{\par\nobreak\vskip \midchapskip}
\renewcommand{\printchapternonum}{\vspace*{\midchapskip}\vspace*{5mm}}
\renewcommand{\chaptitlefont}{\raggedright\bfseries\HUGE}
\renewcommand{\printchaptertitle}[1]{\chaptitlefont ##1}
\renewcommand{\afterchaptertitle}{\par\nobreak\vskip \afterchapskip}
}
\makeatother
\chapterstyle{sofia}
%My section styles
\setsecheadstyle{\normalfont\huge\bfseries}
\setsubsecheadstyle{\normalfont\large\bfseries}
\setparaheadstyle{\normalfont\normalsize\bfseries}
\setparaindent{0pt}\setafterparaskip{0pt}
\setsubsubsecindent{2.5\parindent}
\checkandfixthelayout
\fixpdflayout
\trimFrame
\begin{document}
\chapter{Αποτελεσματικότητα \newline του Ανταγωνιστικού \newline Υποδείγματος}
\section{Αποτελεσματικότητα και Κοινωνική \newline Ευημερία}
\subsection{Κριτήρια Ευημερίας}
\subsubsection*{Το Κριτήριο του \textit{\en{Pareto}}}
Σύμφωνα με το κριτήριο του {\en \textit{Pareto}} η μετακίνηση από το αρχικό σημείο ισορροπίας θα είναι επιθυμητή, εάν η χρησιμότητα τουλάχιστον του ενός καταναλωτή αυξηθεί χωρίς να μειωθεί αντίστοιχα η χρησιμότητα του άλλου. Δηλαδή, εάν ισχύει \begin{equation}
u_{a}^{0}<u_{a}^{1}\ \ \text{και} \ \ u_{b}^{0}\leq u_{b}^{1} \ \ \ \ \ \text{ή} \ \ \ \ \ u_{b}^{0}<u_{b}^{1}\ \ \text{και} \ \ u_{a}^{0}\leq u_{a}^{1} \notag
\end{equation}
\end{document}
And this is my result with the arrows pointing what i'm trying to achieve (but with a different font)
polyglossia
, but set no language, at least in the example. Please, make it consistent.greek
andpolyglossia
, since if I choose english as the main language (after replaceing the greek text with ascii babble), than the first paragraphs after a section is not indented. But undergreek
they are. Perhaps this is intentional?polyglossia
related code inmemoir
so it seems to some from there.