emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Uwe Brauer <oub@mat.ucm.es>
To: emacs-orgmode@gnu.org
Subject: when executing a src block with latex construct, display problem because of +
Date: Sat, 15 May 2021 15:31:48 +0200	[thread overview]
Message-ID: <87fsyo9l8b.fsf@mat.ucm.es> (raw)


I have the following src block

#+begin_src matlab :results output raw :exports code  :eval never-export
addpath /home/oub/ALLES/HGs/Matlab-init/Statistic
fprintf('P(\\text{No-Covid19}) &= 1- P(\\text{Covid19}) = 1-%g=%g\\\\ \n',prob,sal)
fprintf('P(\\text{+}|\\text{No-Covid19}) &= 1-    P(\\text{-}|\\text{No-Covid19}) = 1-%g=%g \\\\ \n',spec,aspec)
fprintf('&=\\frac{%g \\cdot %g}{%g\\cdot%g + (1-%g)\\cdot %g}\\\\ \n',spec,prob,spec,prob,spec,sal)
fprintf('P(\\text{Covid19}|-)&=%g \\\\ \n', bp);
fprintf('P(\\text{No-Covid19}|+)&=1-P(\\text{Covid19}|+)=%g \\\\ \n', bpinv);

That is exported to 
P(\text{No-Covid19}) &= 1- P(\text{Covid19}) = 1-0.1=0.9\\ 
P(\text{+}|\text{No-Covid19}) &= 1-    P(\text{-}|\text{No-Covid19}) = 1-0.95=0.05 \\ 
&=\frac{0.95 \cdot 0.1}{0.95\cdot0.1 + (1-0.95)\cdot 0.9}\\ 
P(\text{Covid19}|-)&=0.000139982 \\ 
P(\text{No-Covid19}|+)&=1-P(\text{Covid19}|+)=0.99986 \\ 

Now in my org mode file, the lines between the +


Get a overstrike.

How can I avoid that?

Thanks and regards

Uwe Brauer 

             reply	other threads:[~2021-05-15 13:32 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-15 13:31 Uwe Brauer [this message]
2021-05-15 17:25 ` when executing a src block with latex construct, display problem because of + Berry, Charles via General discussions about Org-mode.
2021-05-15 18:10   ` Uwe Brauer
2021-05-15 19:15     ` Berry, Charles via General discussions about Org-mode.
2021-05-15 20:18       ` Uwe Brauer
2021-05-15 22:44         ` Berry, Charles via General discussions about Org-mode.
2021-05-16  7:13           ` Uwe Brauer

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:

  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=87fsyo9l8b.fsf@mat.ucm.es \
    --to=oub@mat.ucm.es \
    --cc=emacs-orgmode@gnu.org \


* 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


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).