emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric S Fraga <e.fraga@ucl.ac.uk>
To: emacs-orgmode@gnu.org
Subject: Re: How to generate subscript followed overstriking in org-mode
Date: Mon, 01 May 2017 16:49:47 +0100	[thread overview]
Message-ID: <87vapkpof8.fsf@t3610> (raw)
In-Reply-To: <96ea98d52f4448678e0f1a9ba9687d6b@HE1PR01MB1898.eurprd01.prod.exchangelabs.com> (XP Chen's message of "Mon, 1 May 2017 13:16:32 +0000")

[-- Attachment #1: Type: text/plain, Size: 791 bytes --]

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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 194 bytes --]

       reply	other threads:[~2017-05-01 16:06 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <96ea98d52f4448678e0f1a9ba9687d6b@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2017-05-01 15:49 ` Eric S Fraga [this message]
2017-05-02  3:19   ` How to generate subscript followed overstriking in org-mode XP Chen
     [not found]   ` <3623af645062449491b89ede41561e4c@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2017-05-02  7:01     ` Eric S Fraga
2017-05-02 10:56       ` XP Chen
2017-05-01 13:16 XP Chen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87vapkpof8.fsf@t3610 \
    --to=e.fraga@ucl.ac.uk \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).