Hi everyone, I can't get cases subformula to work properly. My MWE, inspired from the wiki and the My Way "Using \startalign and friends" by Aditya Mahajan, is : \starttext\placeformula\startformula \startcases \NC x = a \NR[+] \NC y = b \NR[+] \stopcases\stopformula\stoptext This only prints (2) on the right of the whole cases system. If I use \placesubformula, the behavior remains exactly the same. It also yields the same output with live ConTeXt. The ConTeXt version I am using is 2018.01.19 13:42 Has there been a change in the behavior since the documents were written ? I asked on stackexchange, and since the document is 12 years old and the wiki consistent with it, they suggested me to ask the mailing list. Thanks in advance, -- Adrien Licari-Guillaume Professeur de Physique-Chimie MPSI et d'informatique IPT MP & PSI Lycée Jean Dautet (La Rochelle)
On Mon, Nov 26, 2018 at 8:40 AM adrien Licari
Hi everyone,
I can't get cases subformula to work properly. My MWE, inspired from the wiki and the My Way "Using \startalign and friends" by Aditya Mahajan, is :
\starttext\placeformula\startformula \startcases \NC x = a \NR[+] \NC y = b \NR[+] \stopcases\stopformula\stoptext
This only prints (2) on the right of the whole cases system. If I use \placesubformula, the behavior remains exactly the same. It also yields the same output with live ConTeXt. The ConTeXt version I am using is 2018.01.19 13:42
Has there been a change in the behavior since the documents were written ? I asked on stackexchange, and since the document is 12 years old and the wiki consistent with it, they suggested me to ask the mailing list. Thanks in advance,
\starttext \startbuffer \placeformula \startformula \startcases \NC 2 \NC $ y > 0 $ \NR \NC 7 \NC $ x = 7 $ \NR[+] \NC 4 \NC otherwise \NR \stopcases \stopformula \stopbuffer \typebuffer \getbuffer \startbuffer \placeformula \startformula x \startcases \NC 2 \NC $ y > 0 $ \NR[+] \NC 7 \NC $ x = 7 $ \NR \NC 4 \NC otherwise \NR \stopcases \stopformula \stopbuffer \typebuffer \getbuffer \startbuffer \placeformula \startformula \startcases \NC 2 \NC $ y > 0 $ \NR \NC 7 \NC $ x = 7 $ \NR \NC 4 \NC otherwise \NR \stopcases \stopformula \stopbuffer \typebuffer \getbuffer \startbuffer \placeformula \startformula x \startcases \NC 2 \NC $ y > 0 $ \NR \NC 7 \NC $ x = 7 $ \NR \NC 4 \NC otherwise \NR \stopcases \stopformula \stopbuffer \typebuffer \getbuffer %% your example \placeformula \startformula \startcases \NC x = a \NR[+] \NC y = b \NR[+] \stopcases \stopformula \stoptext What I see is (more or less) 1 \placeformula \startformula \startcases \NC 2 \NC $ y > 0 $ \NR \NC 7 \NC $ x = 7 $ \NR[+] \NC 4 \NC otherwise \NR \stopcases \stopformula {2 𝑦 > 0 ⎧ ⎨ 7 𝑥=7 (1) { ⎩ 4 otherwise \placeformula \startformula x \startcases \NC 2 \NC $ y > 0 $ \NR[+] \NC 7 \NC $ x = 7 $ \NR \NC 4 \NC otherwise \NR \stopcases \stopformula {2 𝑦 > 0 ⎧ 𝑥⎨7 𝑥 = 7 (2) { ⎩ 4 otherwise \placeformula \startformula \startcases \NC 2 \NC $ y > 0 $ \NR \NC 7 \NC $ x = 7 $ \NR \NC 4 \NC otherwise \NR \stopcases \stopformula {2 𝑦 > 0 ⎧ ⎨ 7 𝑥=7 (3) { ⎩ 4 otherwise \placeformula \startformula x \startcases \NC 2 \NC $ y > 0 $ \NR \NC 7 \NC $ x = 7 $ \NR \NC 4 \NC otherwise \NR \stopcases \stopformula {2 𝑦 > 0 ⎧ 𝑥⎨7 𝑥 = 7 (4) { ⎩ 4 otherwise 𝑥=𝑎 { (6) 𝑦=𝑏 -- luigi
participants (2)
-
adrien Licari
-
luigi scarso