Chapter 12 – Enhancing Your Documents Further

Here are the Code examples of of this chapter. You can compile them online right on this web page by pressing the Typeset / Compile button. You can also edit them for testing, and compile again.

For a better view with the online compiler, I sometimes use \documentclass[border=10pt]{standalone} instead of \documentclass{article}. Instead of having a big letter/A4 page, the standalone class crops the paper to see just the visible text without an empty rest of a page.

Any question about a code example? Post it on, I will answer. As forum admin I read every single question there. (profile link).

Combined document from chapter 11, plus hyperref

% preamble
% document body
% dedication
This book is dedicated to one of the greatest mathematicians of
all time: Carl Friedrich Gauss. Without him, this book wouldn't
have been possible.
% chapter 1
\section{Quadratic equations}
  A quadratic equation is an equation of the form
    ax^2 + bx + c = 0
  where \( a, b \) and \( c \) are constants and \( a \neq 0 \).
% chapter 2
\chapter{Equation Systems}
\section{Linear Systems}
\section{Non-linear Systems}

Using math formulas and special symbols in bookmarks

Sample sections follow.
\section{The equation \texorpdfstring{$\bm{y=x^2}$}{y=x\texttwosuperior}}
\section{\texorpdfstring{$\bm{\gamma}$}{\textgamma} radiation}
\section[\texorpdfstring{Let $\int\sim\sum$ for
  {Let \int\sim\sum\ for n\rightarrow\infty}]
  {Let $\bm{\int\sim\sum}$ for $\bm{n\rightarrow\infty}$}

This code is available on Github. It is licensed under the MIT License, a short and simple permissive license with conditions only requiring preservation of copyright and license notices.

Go to next chapter.