Using the default PDF theme with an additional font
Posted by leslieking on Sep 19, 2019; 3:23pm
URL: https://discuss.asciidoctor.org/Using-the-default-PDF-theme-with-an-additional-font-tp7155.html
Hello, I'm happy with the default PDF theme however I'd like to be able to use an additional font beside the default one, the Charis SIL font, so I can represent the pronunciation of certain words using the International Phonetic Alphabet.
Is it possible to denote specific areas in a documentation, something like this:
[Pronunciation]
----
Some text here
----
Which uses the custom font? Then the rest of the document to be in the default font.
UPDATE: I checked the documentation and I noticed that I can create a custom role, like so:
Word: [.pronunciation]#əɪɑæʊ#
However using the same role for each word makes the document too verbose. Is there a way to use a role for a block of text?
Thank you,
Leslie