You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
\documentclass[11pt]{article}
\usepackage{pythontex}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\begin{document}
\begin{pyconsole}
x = 987.27
x = x**2
\end{pyconsole}
The variable is $x=\pycon{x}$
\end{document}
williamstein
changed the title
latex: disable formating if the document contains {pythontex} or {sagetex}.
latex: disable formatting if the document contains {pythontex} or {sagetex}.
Aug 6, 2024
williamstein
changed the title
latex: disable formatting if the document contains {pythontex} or {sagetex}.
latex: formatting latex files that use {pythontex} or {sagetex} breaks everything horribly, due to indentation
Aug 6, 2024
Why -- formatting results in indentation of the code blocks, which is a syntax error in Python!
The text was updated successfully, but these errors were encountered: