Is there a way to make PythonTEX compile as of today in Overleaf V2 ?
\documentclass[]{article}
\usepackage[utf8]{inputenc}
\usepackage{pythontex}
\begin{document}
\begin{pyverbatim}
def calc_ellipticity(theta, delta):
theta = np.deg2rad(theta)
psi = np.arcsin(np.sin(2*theta) * np.sin(delta))/2
return np.tan(psi)
\end{pyverbatim}
\end{document}
Compiling gives : ? PythonTEX ?
pythontex, then this question may be more appropriate for Overleaf support instead of here. On the other hand, Overleaf usually has a few people that watch TeX.SE, so I wouldn't be surprised if they show up. – Teepeemm Mar 24 '20 at 22:08