īģŋ

Saved searches

Use saved searches to filter your results more quickly

Cancel Create saved search Sign up Reseting focus

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.

A template for writing a nice book with LaTeX

License

Notifications You must be signed in to change notification settings

academic-templates/tex-book-template

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Go to file

Folders and files

Last commit message Last commit date

Latest commit

History

View all files

Repository files navigation

ℹī¸ Introduction

The goal of this template is to provide a nice-looking book layout, easy to configure and fill in. Here is an example preview for the table of content, and other main document items:
Preview image generated with this tool Here is an example preview for chapter items, including the chapter heading, summary and discussion pages:
Preview image generated with this tool Here is an example preview for appendix items, including the appendix heading with a mini table of content:
Preview image generated with this tool

🗃ī¸ Structure

This particular template features a style especially designed for publishing at Lambert Academic Publishing, style/lap-publishing-book.sty .

⚙ī¸ Compilation

The compilation can easilly be configured in Texmaker by defining a Quick Build Command:

  1. Go to the menu Options
  2. Select Configure Texmaker
  3. Go to tab Quick Build
  4. In the field User : (. ), replace the command with:

 pdflatex -synctex=1 -interaction=nonstopmode %.tex|makeindex %.idx -s styles/index.ist|bibtex %.aux|makeglossaries %|pdflatex -synctex=1 -interaction=nonstopmode %.tex|pdflatex -synctex=1 -interaction=nonstopmode %.tex 

When editing the book with Texmaker:

  1. Open main.tex
  2. Go to the menu Options
  3. Select Define Current Document as "Master Document"
  4. Open main.idx for edition
  5. Click on Quick Build to compile

This will produce main.pdf with all the included chapters, parts and appendices.

📕 Making your book

Tuning parts

This template includes multiple pre-filled (self-explanatory) part files of the dissertation, whose some are to be adapted and others should not be modified.

Parts that you should adapt:

Parts that you should not adapt:

Adding chapters

This template has a particular layout for chapters. Each of them starts with a chapter cover page with:

In LaTeX, this is structured like the following:

\beginchaptercover>% % % % Your chapter content. \endchaptercover>

Once you have written your new chapter in chapters/my-chapter.tex , do not forget to include it in main.tex (insert a line \include where relevant).

Adding appendices

This template also features a particular layout for appendices. As matters separated from the main thread, they do not have cover pages but a mini table of content as well.

In LaTeX, this is structured like the following:

\beginappchaptercover>% % Your appendix content. \endappchaptercover>

⭐ Related Projects

You may also like these: