[FE training-materials-updates] Use "upquote" package
Michael Opdenacker
michael.opdenacker at free-electrons.com
Fri Oct 11 05:02:39 CEST 2013
Repository : git://git.free-electrons.com/training-materials.git
On branch : master
Link : http://git.free-electrons.com/training-materials/commit/?id=09ceccd9275d0b7dde40c4f3d1713df59c5d75aa
>---------------------------------------------------------------
commit 09ceccd9275d0b7dde40c4f3d1713df59c5d75aa
Author: Michael Opdenacker <michael.opdenacker at free-electrons.com>
Date: Fri Oct 11 04:53:33 2013 +0200
Use "upquote" package
- Takes care of showing straight quotes in verbatim mode
- Several people got confused by in lab instructions because of this,
not using regular quotes (for example in U-boot).
Signed-off-by: Michael Opdenacker <michael.opdenacker at free-electrons.com>
>---------------------------------------------------------------
09ceccd9275d0b7dde40c4f3d1713df59c5d75aa
common/beamerthemeFreeElectrons.sty | 3 +++
common/labs.sty | 3 +++
2 files changed, 6 insertions(+)
diff --git a/common/beamerthemeFreeElectrons.sty b/common/beamerthemeFreeElectrons.sty
index 4a2d3f9..7bc8665 100644
--- a/common/beamerthemeFreeElectrons.sty
+++ b/common/beamerthemeFreeElectrons.sty
@@ -40,6 +40,9 @@
\usepackage{setspace}
\usepackage{etoolbox}
+% Display straight quotes instead of curly ones in verbatim mode
+\usepackage{upquote}
+
\lstloadlanguages{C}
\lstset{%
basicstyle=\tiny \ttfamily,
diff --git a/common/labs.sty b/common/labs.sty
index cef9ab4..dcf92a3 100644
--- a/common/labs.sty
+++ b/common/labs.sty
@@ -22,6 +22,9 @@
\ProvidesPackage{labs}[28/03/2011 - First rework of labs training templates]
+%% Have straight quotes instead of curly ones in verbatim mode
+\usepackage{upquote}
+
% Extensions
\RequirePackageWithOptions{inputenc}
More information about the training-materials-updates
mailing list