New answers tagged

1

EDIT: there's an indentation error in the for-loop, but I'm too lazy to upload a new image. A quik'n'derty example of minted as an alternative to the lstlisting-package. Taking the above code \documentclass[10pt,a4paper]{scrartcl} \usepackage[utf8]{inputenc} \usepackage{minted} \begin{document} \begin{minted}{Python} #!/usr/bin/env python import sys ...


3

Since it is not exactly clear if you want a normal "Y" or a fraktur "Y", I provide both... (note that these are designed to take up the same space as an unadulterated "Y" or \mathfrak{Y}) The stoke elevation can be adjusted with the first argument of \stackengine. \documentclass{article} \usepackage{amssymb} \usepackage{stackengine} \def\strokeY{\...



Top 50 recent answers are included