-
-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tcolorbox combined with sageblock? #54
Comments
I might have something but it's not finished yet. Is there a general interest to add this to sagetex? |
I might have something but it's not finished yet. Is there a general
interest to add this to sagetex?
If you can show before/after output files, that might be helpful. I'm just
not sure what you are trying to accomplish - clearly it's more than
styling, but I think I just need the purpose explained more thoroughly.
(On a side note, keep in mind that especially things like tcolorbox are
said to be extraordinarily brittle, and that the order various packages are
loaded makes a huge difference sometimes, so precise instructions on how to
use this would be crucial.)
|
Okay, here is an example. Suppose we call the new environment \begin{sagenotebook}
P = QQ[x]
P
\end{sagenotebook} should produce but in LaTeX code. The above MWE shows one way to produce a Jupyter-like cell. I am not sure whether there is a way too avoid Please let me know if you need further details. |
I created a repo. Please check this out: https://github.com/mjungmath/sagetex_notebook Feedback is highly appreciated. |
Opinions on my above approach? Is that something we would like to implement? |
Hello there,
For my current project I'd like to depict Sage code in fancy Jupyter style. For that, I have already made a tcolorbox listing environment. Now it would be nice to combine that with
sageblock
in order to reuse the code snippets written in there.Here is a minimal example:
However, I have no clue how to proceed from here. Any help, comment or hint is appreciated. Thanks!
The text was updated successfully, but these errors were encountered: