The PDF library in Asciidoctor PDF (Prawn) does not provide overline formatting. If it did, we could add support for it based on the overline role.
However, since it seems you're creating mathematical symbols, what you probably want to be doing is using the stem support. It can be a little tricky to set up, but once you do, you can add mathematical symbols wherever you want without restoring to styling hacks.
Hint: You probably want to use the Docker container (https://github.com/asciidoctor/docker-asciidoctor) because asciidoctor-mathematical can be tough to install due to its use of native libraries.
Cheers,
-Dan
On Mon, Feb 18, 2019 at 12:48 AM Clemens [via Asciidoctor :: Discussion] <[hidden email]> wrote:
Hello,
I want to print an X overlined (symbol for average value).
However it seems [.overline]#X# is not supported in asciidoctor-pdf.
Is there another way, how to do it.
I played around with the inline_quoted.html.slim and generate underline. However overline was not possible.
Thank you for your help.
Best regards,
Clemens
If you reply to this email, your message will be added to the discussion below: