ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Wed, 09 Jun 2021 23:00:51 +0200how to bold and embiggen variable using latex_namehttps://ask.sagemath.org/question/57515/how-to-bold-and-embiggen-variable-using-latex_name/ I am attempting to recreate variables and expressions from an academic paper.
I would like to be able to calculate with the variables/expressions and to typeset
them using Latex.
Here is what is working in Command-Line, CoCalc, jupyter notebook but not SageMath Cell (which
just show a blank after evaluation):
P = var('P', latex_name='\mathscr{P}'); view(P)
An uppercase cursive/script P is shown.
If I try to em-bold it, like so:
P = var('P', latex_name='\bold\mathscr{P}'); view(P)
Then:
1) Command line SageMath produces about 200 lines of error message beginning with:
An error occurred.
This is pdfTeX, Version 3.141592653-2.6-1.40.22 (TeX Live 2021) (preloaded format=pdflatex 2021.6.3) 9 JUN 2021 13:50
...
2) SageMath cell server -- using doubled '\\'s -- again, produces blanks after evaluation
3) CoCalc -- again, using doubled '\\'s -- outputs "\bold" followed by a properly typeset cursive-script uppercase P
4) jupyter notebook produces 200+ error message lines beginning with:
An error occurred.
This is pdfTeX, Version 3.141592653-2.6-1.40.22 (TeX Live 2021) (preloaded format=pdflatex 2021.6.3) 9 JUN 2021 13:56
So...it may well be that using the MacOS 9.3.rc4 has issues, or that I have failed to properly install MacTex
but CoCalc should work -- if only I input the correct argument.
I apologize if this is/seems like a RTFM situation.
enthorWed, 09 Jun 2021 23:00:51 +0200https://ask.sagemath.org/question/57515/Sagemath 9.0 Markdown inconsistency Cocalc vs. Localhttps://ask.sagemath.org/question/49808/sagemath-90-markdown-inconsistency-cocalc-vs-local/I have recently installed the latest Sagemath 9.0 on a Windows 10 machine and noticed a Markdown bold formatting problem that is not present on the Cocalc.com Sagemath 9.0 version. Here is the Markdown:
For each of the 10 questions a student can choose 1 of **3** possibilities: (1) answer T, (2) answer F, or (3) omit. By the **Extended Rule of Products**, there are $3^{10}$ ways of accomplishing this, this is far more than $2^{10}$.
On the local 9.0 install it renders as:
![image description](https://snipboard.io/7rRdcU.jpg)
Notice that the bold is not terminated by the ** after the '3'. On the other hand, the same code on Cocalc.com renders correctly with Sagemath 9.0:
![image description](https://i.snipboard.io/Rqr05O.jpg)
Both of these use the latest Chrome browser. Is there any way to correct the Markdown rendering on the local install?
If Sagemath provides the Jupyter notebook for CoCalc is it possible for them to provide the SAME Jupyter notebook with their binary downloads for windows and other platforms? Or just update the Jupyter notebook part of the Sagemath 9.0 Windows executable?holistoneWed, 05 Feb 2020 18:34:42 +0100https://ask.sagemath.org/question/49808/