Re: asciidoctor.pdf and monospaced font in table

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: asciidoctor.pdf and monospaced font in table

mojavelinux
Administrator
Antonin,

The default theme provided with Asciidoctor PDF sets the font color for monospaced text to #B12146 (a maroon color). You can override this setting by extending the default theme. The theming guide explains how. https://github.com/asciidoctor/asciidoctor-pdf/blob/v1.5.x/docs/theming-guide.adoc#basic-extended-theme

If you have any questions that the theming guide does not answer, I'm happy to answer them.

Best Regards,

-Dan

On Wed, Nov 18, 2020 at 9:24 AM Antonin Rozehnal [via Asciidoctor :: Discussion] <[hidden email]> wrote:
I'am writing my first ADOC document. It contains a table. I have such columns definition:
   [cols="6a,<35a,45m,12a"]
The conversion of the document to PDF turned out well. Just monospaced font turned red - but I would like it to be black.
Probably I have to modify/create some theme file, isn't it? Where and how best to do it?


If you reply to this email, your message will be added to the discussion below:
https://discuss.asciidoctor.org/asciidoctor-pdf-and-monospaced-font-in-table-tp8349.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML


--
Dan Allen (he, him, his) | @mojavelinux | https://twitter.com/mojavelinux