From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id OOSYE3jNn2AMKAAAgWs5BA (envelope-from ) for ; Sat, 15 May 2021 15:32:40 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id ODc7D3jNn2C4SQAAB5/wlQ (envelope-from ) for ; Sat, 15 May 2021 13:32:40 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id B475825A80 for ; Sat, 15 May 2021 15:32:39 +0200 (CEST) Received: from localhost ([::1]:47412 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lhuPG-00073e-VO for larch@yhetil.org; Sat, 15 May 2021 09:32:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38412) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lhuOc-00073P-4i for emacs-orgmode@gnu.org; Sat, 15 May 2021 09:31:58 -0400 Received: from ciao.gmane.io ([116.202.254.214]:55614) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lhuOa-0001nE-By for emacs-orgmode@gnu.org; Sat, 15 May 2021 09:31:57 -0400 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1lhuOY-0002Wj-LU for emacs-orgmode@gnu.org; Sat, 15 May 2021 15:31:54 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-orgmode@gnu.org To: emacs-orgmode@gnu.org From: Uwe Brauer Subject: when executing a src block with latex construct, display problem because of + Date: Sat, 15 May 2021 15:31:48 +0200 Message-ID: <87fsyo9l8b.fsf@mat.ucm.es> Mime-Version: 1.0 Content-Type: text/plain User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cancel-Lock: sha1:zoKBWiD/tpm+9uC+xZ7SZuXsE0E= Mail-Copies-To: never Received-SPF: pass client-ip=116.202.254.214; envelope-from=geo-emacs-orgmode@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: -15 X-Spam_score: -1.6 X-Spam_bar: - X-Spam_report: (-1.6 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.25, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1621085559; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=0VUsWMgT5HhwM2Z/T+EnA+Dz4xVtWELs9eV+EvTCrGE=; b=YYrIE8h7gx2DW5ZDG40x+G63oxCb9yfgPYcVjRJMEQPQoAeqGwErNoulsIorbFH1VBrukC RJs9/UfLfYvTb2oA97bASThyxuexncSpSR8VFg1J19MsDv/oJ2en2U4yjBdG+k+8epF/n4 RMDX8NZx9ZdiP+ZY1B8ykbXaLICsqBDDR06rl4o4clzNA3EH+eh8kNpJGPOKlcpD3XQp6C UcngEGSaCbdlML3+5cNknQzDT0pELpPl/4T9DHRbKCFVR1jcpIWLaLmhHRrZnsEhsEvjcU dkv5U9uqq/+3eyGdtxmQvieJCZK4hLdGxpIwEZW4+5p7f1iCzb2bgiAKdCMbTw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1621085559; a=rsa-sha256; cv=none; b=QzcM3LMDY1fAI7F63q6j0UisZbgaa4W95Ofci5bQjCBkbkqRdPXHvLyKBlkbEe8EIAY8tF YTJwRzIk2H3s44k6uj/mLs7OhZyYmErvDRusNScLXJnfFC4aO8WFgz9yyU8cvuCMhqcedD dQ84TybMNn1MLIeeQLZfkJEKuWxMsxneIdmaxPe4eAhzGWnQzipR+OZGlqSPXwG5sGd6fS KkO8aV7M6d7ZVbhb2m7xeddT3tKVwVXBkQ/L/bVoDtGjiGuFpLJ2NL6oroo3M7pYYBTZWo EHFhE6BHij/CK6R8G/S17EYf2Z15nQ3u0Be9KyknuuKxKpgwN4rfGVrI/Q5IKg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -1.85 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=mat.ucm.es (policy=none); spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: B475825A80 X-Spam-Score: -1.85 X-Migadu-Scanner: scn0.migadu.com X-TUID: 7UiUiwnnEcfD Hi 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 sens=0.7; spec=0.95; aspec=1-spec; prob=0.1; sal=1-prob; [bp,bpinv,bn,bninv]=mibayes(sens,spec,prob); disp('\begin{align*}') disp('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})}\\') 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); disp('\end{align*}') #+end_src That is exported to #+RESULTS: \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.000139982 \\ P(\text{No-Covid19}|+)&=1-P(\text{Covid19}|+)=0.99986 \\ \end{align*} Now in my org mode file, the lines between the + \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})}\\ Get a overstrike. How can I avoid that? Thanks and regards Uwe Brauer