* export +A+ to latex, xout and not sout
@ 2020-11-08 10:03 Uwe Brauer
2020-11-08 10:34 ` TEC
0 siblings, 1 reply; 3+ messages in thread
From: Uwe Brauer @ 2020-11-08 10:03 UTC (permalink / raw)
To: emacs-orgmode
Hi
When I export an org file that contains constructs such as +A+ to a
Latex files, it gets converted to \sout{A}.
I'd rather prefer to have \xout{A} instead of \sout{A}
How can I achieve that?
Thanks and regards
Uwe Brauer
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: export +A+ to latex, xout and not sout
2020-11-08 10:03 export +A+ to latex, xout and not sout Uwe Brauer
@ 2020-11-08 10:34 ` TEC
2020-11-08 12:44 ` Uwe Brauer
0 siblings, 1 reply; 3+ messages in thread
From: TEC @ 2020-11-08 10:34 UTC (permalink / raw)
To: Uwe Brauer; +Cc: emacs-orgmode
Hi Uwe,
Uwe Brauer <oub@mat.ucm.es> writes:
> I'd rather prefer to have \xout{A} instead of \sout{A}
> How can I achieve that?
How about this:
(setcdr (assoc 'strike-through org-latex-text-markup-alist)
"\\xout{%s}")
Hope that helps,
Timothy.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: export +A+ to latex, xout and not sout
2020-11-08 10:34 ` TEC
@ 2020-11-08 12:44 ` Uwe Brauer
0 siblings, 0 replies; 3+ messages in thread
From: Uwe Brauer @ 2020-11-08 12:44 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 451 bytes --]
>>> "T" == TEC <tecosaur@gmail.com> writes:
Hi Timothy
> Hi Uwe,
> Uwe Brauer <oub@mat.ucm.es> writes:
>> I'd rather prefer to have \xout{A} instead of \sout{A}
>> How can I achieve that?
> How about this:
> (setcdr (assoc 'strike-through org-latex-text-markup-alist)
> "\\xout{%s}")
A pure lisp solution, I see, I thought one could add something in the
export options, but never mind.
> Hope that helps,
It does so very much, thanks.
[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 5673 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-11-08 12:46 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-11-08 10:03 export +A+ to latex, xout and not sout Uwe Brauer
2020-11-08 10:34 ` TEC
2020-11-08 12:44 ` Uwe Brauer
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).