suttacentral / publications

SuttaCentral books: make HTML, EPUB, PDF
Creative Commons Zero v1.0 Universal
2 stars 1 forks source link

use font for logo in pdf interior #140

Closed sujato closed 2 years ago

sujato commented 2 years ago

Currently we import a png image to use as the SC logo. Obviously using a vector is better, and it avoids Lulu annoying us with messages about image resolution.

The sclogo.ttf file only contains the logo, which is at the character 0.

In the preamble:

% logo
\newfontfamily\Logofont{sclogo.ttf}
\newcommand*{\sclogo}[1]{\large\Logofont{#1}}

In the document:

\sclogo{0}
 \halftitlepagePublisher{SuttaCentral}