How do I customize a thesis template in LaTeX to match the university's font style and requirements?
I was given a template to use for my thesis, but I need to make it look consistent with the university's font style and requirements. I've tried searching online for examples, but I'm having trouble finding specific instructions.
1 Answer
Start by digging into the preamble of your .tex file. This is where the font settings live. If your university requires a specific font, you'll likely need to switch your compiler from pdfLaTeX to XeLaTeX or LuaLaTeX. These engines let you call any font already installed on your computer using the fontspec package, which is way easier than hunting for specific LaTeX font packages. Check the .cls or .sty files that came with your template. These files act as the "rulebook" for the document's layout. If you need to change margins, line spacing, or header styles, look for commands like \geometry or \setstretch inside those files. Changing things here ensures the style stays consistent across every chapter instead of you having to fix it page by page. Don't try to change everything at once. Update one requirement, like the font size or the margin width, and then recompile the document to see if it broke any other formatting. It's easy to accidentally shift a table or image out of place when you tweak the global layout. If you're unsure about a specific requirement, compare your PDF output side-by-side with a previously approved thesis from your department. This helps you spot small details, like indentation or caption placement, that the written guidelines might have missed.
In-depth guide available
From Generic to Official: How to Tailor Your LaTeX Thesis →Have a similar question?
Ask the community →