TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I use report class, I create appendix in LyX :

  1. The definition of the appendix has been defined from the LyX menu Document->Start Appendix Here

  2. The contents of Appendices are listed in a separate List of Appendices. The List of Appendices page is defined by tocloft command, in the LaTeX preamble:

    \newlistof{appendices}{loa}{DAFTAR LAMPIRAN}

  3. The format setting of the heading is consistent with LOF and LOT. These four lines must be written in the LaTeX preamble:

    Lampiran\phantom{No.Lampiran}\hfill Halaman}

In order to print the chapter headings in List of Appendices, right after the appendix definition (from the menu Document->Start Appendix Here), LaTeX commands are inserted : This is simply copied from book.cls then changed toc to loa.

\def\@chapter[#1]#2{\ifnum \c@secnumdepth >\m@ne

To prevent section headings of the appendices printed in TOC, minitoc command is used. The package minitoc must be called in the preamble \usepackage{minitoc}. And The following command is then inserted right after the appendix definition :


the problems are : I get the loa as printed :

a word "BAB" printed as \cftchappresnum loa=DAFTAR LAMPIRAN

share|improve this question

closed as too localized by lockstep, Joseph Wright Mar 4 '12 at 17:57

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

Instead of code snippets, please provide a (complete, compilable) minimal working example (MWE). – lockstep Dec 4 '11 at 20:48