What are the fonts used in the page layout below? How can I instruct latex to use that font or a very similar one? I need to format my title and section heading like in the example using titlesec.
I have only worked with readymade templates before and have no idea how to.
[img]pdfsample.png[/img]
Fonts & Character Sets ⇒ Need to identify font in given image
Need to identify font in given image
- Attachments
-
- pdfsample.png (49.01 KiB) Viewed 4956 times
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
Need to identify font in given image
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
- Stefan Kottwitz
- Site Admin
- Posts: 10290
- Joined: Mon Mar 10, 2008 9:44 pm
Need to identify font in given image
For readers, Bernard found (in the link already above) that it looks like Adobe Utopia, and we could use erewhon for it, such as in his example:
Btw. the book is "Introduction to sustainable engineering" by R. L. Lag and L. D. Remesh.
Stefan
Code: Select all
\documentclass{book}
\usepackage[utf8]{inputenc}
\usepackage{geometry}
\usepackage[explicit]{titlesec}
\usepackage{array, graphicx} \usepackage[tracking=true]{microtype}
\usepackage{fourier, erewhon} \usepackage{lipsum}% just to generate text for the example
\titleformat{\chapter}[display]{\centering\bfseries\Huge\lsstyle}%
{\titlerule[1.5pt]\vskip1ex\scalebox{1}[1.2]{\thechapter}\\[-1ex]\rule{5cm}{0.5pt}}{0ex}%
{#1\endgraf\titlerule\vskip2pt\titlerule[1.5pt]}
\titleformat{\section}[block]{\bfseries\LARGE}{}{0em}{\noindent\begin{tabular}{@{}ll@{}}\thesection & \MakeUppercase{#1}\\[-0.1ex]\hline\end{tabular}}
\begin{document}
\setcounter{chapter}{10}
\chapter{Green Technology and\\Green Business}
\lipsum[3]
\section{Green Business or Sustainable Business}
\lipsum[4]
\end{document}
Stefan
LaTeX.org admin