i want to have the word 'ΚΕΦΑΛΑΙΟ' which means Chapter in greek, before the chapter number in the table of contents and the 'ΠΑΡΑΡΤΗΜΑ' before appendices, i am using memoir class and the command \tableofcontents* for the produstion of toc. I provide a MWE, and a picture of what i get now. The number 1 before the chapter title, is inserted automatically in the toc.



\makeatletter %
  \renewcommand{\printchaptername}{\chapnamefont \@chapapp}
  \renewcommand{\printchapternum}{\chapnumfont \thechapter}
  \renewcommand{\afterchapternum}{\par\nobreak\vskip \midchapskip}
  \renewcommand{\printchaptertitle}[1]{\chaptitlefont ##1}
  \renewcommand{\afterchaptertitle}{\par\nobreak\vskip \afterchapskip}



enter image description here

| improve this question | | | | |
  • See if \renewcommand{\printchapternum}{\chapnumfont ΚΕΦΑΛΑΙΟ \thechapter} does the trick? – Markus Feb 12 '15 at 14:40
  • 1
    Use \renewcommand{\cftchapterpresnum}{ΚΕΦΑΛΑΙΟ~} \setlength{\cftchapternumwidth}{7em} – user11232 Feb 12 '15 at 14:50

It is just \renewcommand\cftchaptername{\chaptername~} in order to get at prefix into the toc

Just as an addition to the comment, if you want to do the same with the appendices in the toc, use

| improve this answer | | | | |
  • thanx a lot, what if i want the same for the appendix with the word 'Παράρτημα' instead of 'ΚΕΦΑΛΑΙΟ'? what is the variable? – S.M Feb 12 '15 at 15:24
  • Guess, hint it is in the name of the variable. – daleif Feb 12 '15 at 15:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.