Coloration syntaxique lstinline (Bug #848)


Added by JULIEN SCHNEIDER over 1 year ago. Updated over 1 year ago.


Status:New Start date:09/25/2022
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:-
Target version:-

Description

Bonjour,
j'essaye de mettre du code Python dans un QCM. Pas de problème en utilisant \lstinputlisting{prog.py}. En revanche, je ne parviens à aucun résultat avec lstinline (pas de coloration). Comment puis-je faire ? Merci beaucoup


History

Updated by Frédéric Bréal over 1 year ago

Si vous écrivez après \begin{document}

\lstset{language=Python}

Dans mon petit test, cela donne

\lstinline|return|

return

Also available in: Atom PDF