There are several questions posted here on fonts in latex, but for many of them, one has to use several commands.
But there are also some simple commands to change fonts, such as:
\sffamily, \rmfamily, \ttfamily
Can I get to know some more such commands for different fonts? Usually, I had seen different answers for such questions on fonts, but as soon as see so many commands there and copy-paste it, then some errors usually comes, and then I think like this: "lets remove this command and see what happens" It was difficult to understand also what a command does there?
So I thought there could be simple commands to change fonts.
For example, this is typing in a book, I don't know which is this font:
The following two are other examples which came as output in my typing
\documentclass[a4paper,12pt]{article}
\usepackage[utf8]{inputenc}
\usepackage{tgbonum}
\begin{center}
{\Large 1.3 Relations with Lie groups}
\end{center}
We discuss only the beginning of this topic. First we look at the ....
\ttfamily
\begin{center}
{\Large 1.3 Relations with Lie groups} \end{center}
We discuss only the beginning of this topic. First we look at the ....
\sffamily
, etc. using the LaTeX font selection scheme to whatever, depending on the font in use. Can you give a bit more detail?\large
norcenter
environment nor explicit numbers like1.3
just use\section{Relations with Lie groups}
and the style and numbering is automatic and can be configured in the preamble or your document class.