emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: when executing a src block with latex construct, display problem bec


From: Uwe Brauer
Subject: Re: when executing a src block with latex construct, display problem because of +
Date: Sat, 15 May 2021 22:18:24 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Chuck, 
   > Uwe,
   > [snip]


   > [screenshot deleted]

   > Oh, I misunderstood.

   > The result looks like latex. So why not use `:results output latex' ?

I tried that also, then however the result is 
#+RESULTS:
#+begin_export latex
\begin{align*}
P(\text{Covid19}|\text{+})&=\frac{P(\text{+}|\text{Covid19})P(\text{Covid19})}{P(\text{+}|\text{Covid19})P(\text{Covid19})+P(\text{+}|\text{No-Covid19})P(\text{No-Covid19})}\\
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.608696 \\ 
P(\text{No-Covid19}|+)&=1-P(\text{Covid19}|+)=0.391304 \\ 
\end{align*}
#+end_export

That is ok for displaying, but if I now want also to export this org
file to latex, the align construct is not exported, sigh. 

As the great philosopher M. Jagger said:

«You Can't Always Get What You Want»

Attachment: smime.p7s
Description: S/MIME cryptographic signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]