Skip to content

Tweaking Class files

This page contains a (possibly growing) collection of tips to change parameters in class files to make your thesis chapters look the way you want.

Figures within the text

In order to tell \Latex{} to place figures within the text and not at the end of a chapter (which is default), we adjust the 'float placement' parameters in the '.cls' file. Here are some useful values-

\def\topfraction{.9}
\def\textfraction{0.35}
\def\floatpagefraction{0.8}

Overleaf guides

LaTeX Basics

Mathematics

Figures and tables

References and Citations

Languages

Document structure

Formatting

Fonts

Presentations

Commands

Field specific

Class files

Advanced TeX/LaTeX