[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] How to generate subscript followed overstriking in org-mode
From: |
Eric S Fraga |
Subject: |
Re: [O] How to generate subscript followed overstriking in org-mode |
Date: |
Mon, 01 May 2017 16:49:47 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) |
On Monday, 1 May 2017 at 13:16, XP Chen wrote:
> Hi, everyone,
>
> How to generate subscript followed overstriking when export to latex or
> pdf, I want use general org-mode method to generate html format also.
>
> Mix latex is ok as: \textbf{d1}_{sub}
>
> But org method like: " *d1*_{sub} " or " *d1* _{sub} " cannot achieve.
The following works for me: This is *bold*\mbox{}_{subscripted}
although probably only for LaTeX export... possibly okay for your use
case but not a general solution.
You could put inline LaTeX and HTML codes:
This is @@latex:\textbf{@@@@html:<b>@@bold@@latex:}@@@@html:</b>@@_{subscripted}
but this is incredibly ugly and difficult to parse... but it works.
--
: Eric S Fraga (0xFFFCF67D), Emacs 26.0.50, Org release_9.0.5-444-g998576
signature.asc
Description: PGP signature