I want to include some LaTEX code in play framework 2.0 template, namely:
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\usepackage{babel}
Of course play complains with error in unicode escape error message because of \us... parts.
How should I escape those pieces of text, so play compiles the template and I get verbatim LaTeX code in result? Tried my luck with @Html(), but it doesn’t work either…
Create an method ie in
Application.javacontroller:So you can use it in the view: