From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: How to generate subscript followed overstriking in org-mode Date: Mon, 01 May 2017 16:49:47 +0100 Message-ID: <87vapkpof8.fsf@t3610> References: <96ea98d52f4448678e0f1a9ba9687d6b@HE1PR01MB1898.eurprd01.prod.exchangelabs.com> Reply-To: Eric S Fraga Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45220) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d5Dpn-00075c-Jy for emacs-orgmode@gnu.org; Mon, 01 May 2017 12:06:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d5Dpk-0001PZ-D6 for emacs-orgmode@gnu.org; Mon, 01 May 2017 12:05:59 -0400 Received: from mail-ve1eur01on0096.outbound.protection.outlook.com ([104.47.1.96]:52938 helo=EUR01-VE1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1d5Dpk-0001Nl-0X for emacs-orgmode@gnu.org; Mon, 01 May 2017 12:05:56 -0400 In-Reply-To: <96ea98d52f4448678e0f1a9ba9687d6b@HE1PR01MB1898.eurprd01.prod.exchangelabs.com> (XP Chen's message of "Mon, 1 May 2017 13:16:32 +0000") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain 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:@@bold@@latex:}@@@@html:@@_{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 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQSPXCedOQfhSlwpVw3IkZPY//z2fQUCWQdZGwAKCRDIkZPY//z2 feZCAJ9Yw6b7pa5GJBSwcGUNQoZ1VyIL5QCeMoKiNOBVHaAJsqPpnb8bmtZriU8= =RoXW -----END PGP SIGNATURE----- --=-=-=--