Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TODO: Fix Table of Contents and Table of Appendices Formatting #1

Open
dionesiusap opened this issue Sep 26, 2020 · 1 comment
Open
Labels
document formatting improve the thesis document format/style to adhere to the thesis writing guidelines enhancement New feature or request

Comments

@dionesiusap
Copy link
Owner

Format as in the guidelines
Table of Contents:

BAB I    Pendahuluan
BAB II   Tinjauan Pustaka
BAB III  Analisis dan Perancangan

Table of Appendices:

Lampiran A. Judul Lampiran

Current ToC format
Table of Contents:

I    Pendahuluan
II   Tinjauan Pustaka
III  Analisis dan Perancangan

Table of Appendices:

Lampiran A. Judul Lampiran
@dionesiusap
Copy link
Owner Author

Current hack to fix ToC format:
Add the following lines in the TABLE OF CONTENTS, LISTS OF FIGURES & TABLES section in if-itb-thesis.sty file

\renewcommand{\cftchappresnum}{BAB~} % BAB before number in ToC
\newlength{\mylen} % a scratch length
\settowidth{\mylen}{\bfseries\cftchappresnum\cftchapaftersnum} % extra space
\addtolength{\cftchapnumwidth}{\mylen} % add the extra space

It fixes the ToC format but breaks the ToA as seen below.
ToC:
Screenshot from 2020-09-27 00-38-12
ToA:
Screenshot from 2020-09-27 00-38-51

@dionesiusap dionesiusap changed the title Table of Contents and Table of Appendices Formatting TODO: Fix Table of Contents and Table of Appendices Formatting Sep 26, 2020
@dionesiusap dionesiusap added document formatting improve the thesis document format/style to adhere to the thesis writing guidelines enhancement New feature or request labels Sep 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
document formatting improve the thesis document format/style to adhere to the thesis writing guidelines enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant