Created
June 28, 2016 23:03
-
-
Save ScumCoder/03cba04492e73ac544155dc03bf991de to your computer and use it in GitHub Desktop.
minted problem with Unicode
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\documentclass{article} | |
\usepackage[utf8]{inputenc} | |
\usepackage[T2A]{fontenc} | |
\usepackage[english,main=russian]{babel} | |
\usepackage{minted} | |
\begin{document} | |
\newminted{cpp}{ | |
breaklines, | |
breakanywhere | |
} | |
\begin{cppcode} | |
int main(void) | |
{ | |
// Привет | |
// longlinewithnospaceslonglinewithnospaceslonglinewithnospaceslonglinewithnospaceslonglinewithnospaceslonglinewithnospaceslonglinewithnospaceslonglinewithnospaceslonglinewithnospaceslonglinewithnospaces | |
} | |
\end{cppcode} | |
\end{document} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment