Login  Register

Re: Custom style description lists

Posted by mojavelinux on Dec 24, 2020; 12:56am
URL: https://discuss.asciidoctor.org/Custom-style-description-lists-tp8424p8425.html

This appears to be PDF output. In the default theme for Asciidoctor PDF, the italic style for monospace is mapped to a lighter font weight since the bundled monospaced font (M+ 1mn) does not support italic. So the text is italic. It just doesn't appear that way.

If you want different behavior, you will need to replace the font. See https://github.com/asciidoctor/asciidoctor-pdf/blob/master/docs/theming-guide.adoc#extending-the-font-catalog

Best Regards,

-Dan

On Wed, Dec 23, 2020 at 5:23 PM Harmyder [via Asciidoctor :: Discussion] <[hidden email]> wrote:
I'm trying to achieve the following:

italic, constant, constant-italic, constant-bold description list

I'm unable to remove boldness and reconcile constant and italic like `_E_`.

It is only one description list in the book so I can change it to something else if it is impossible to remove boldness. But I really need constant + italic.


If you reply to this email, your message will be added to the discussion below:
https://discuss.asciidoctor.org/Custom-style-description-lists-tp8424.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