From 4df7b39e1eff88a23f7296d879f1d434fb191c34 Mon Sep 17 00:00:00 2001 From: chhan11 Date: Tue, 30 May 2017 21:50:54 +0200 Subject: [PATCH] commands.tex: New lstenvironment txt --- commands.tex | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/commands.tex b/commands.tex index 6e1e5ff..e61588b 100644 --- a/commands.tex +++ b/commands.tex @@ -47,4 +47,9 @@ } \newcommand{\itemtitle}[2]{\textbf{#1:}\\% - {\footnotesize #2}} \ No newline at end of file + {\footnotesize #2}} + + +% Enviroment @var txt +% changes code styling to: in frame, white bg. +\lstnewenvironment{txt}{\lstset{style=plaintxt}}{} \ No newline at end of file