Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
White Rabbit Switch - Testing
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Projects
White Rabbit Switch - Testing
Commits
28d5a1d7
Commit
28d5a1d7
authored
Nov 23, 2012
by
Benoit Rat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc: improve beamer header to display code
parent
a6be0249
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
2 deletions
+29
-2
presentation.tex
doc/presentations/workshop_madrid/presentation.tex
+29
-2
No files found.
doc/presentations/workshop_madrid/presentation.tex
View file @
28d5a1d7
\documentclass
{
beamer
}
\usetheme
{
Madrid
}
% My favorite!
%\usepackage[latin1]{inputenc}
\usepackage
[T1]
{
fontenc
}
\usepackage
[ngerman]
{
babel
}
%
\usepackage[T1]{fontenc}
%
\usepackage[ngerman]{babel}
\usepackage
{
amsmath
}
\usepackage
{
mathtools
}
\usepackage
[utf8]
{
inputenc
}
%\usepackage[spanish]{babel}
\usepackage
[english]
{
babel
}
\usepackage
{
tabularx
}
% Erweiterte Tabellen Optionen
\usepackage
{
booktabs
}
\usepackage
{
multicol
}
...
...
@@ -15,6 +16,9 @@
\usepackage
{
graphicx
}
\usepackage
{
graphics
}
%% Display code in beamer
\usepackage
{
listings
}
% Uncomment the following line if you want %
% page numbers and using Warsaw theme%
%\setbeamertemplate{footline}[page number]
...
...
@@ -29,6 +33,7 @@
%\definecolor{verde}{RGB}{82,163,0}
%\definecolor{verde}{RGB}{0,163,0} %51 - -
\definecolor
{
verde
}{
RGB
}{
0,102,0
}
\definecolor
{
lightLightBlue
}{
RGB
}{
238,245,240
}
%usepackage{bm} % For typesetting bold math (not \mathbold)
%\logo{\includegraphics[height=0.6cm]{yourlogo.eps}}
%
...
...
@@ -44,8 +49,30 @@ GSI \\
% \today will show current date.
% Alternatively, you can specify a date.
%
\begin{document}
\lstset
{
language=bash,
basicstyle=
\ttfamily\scriptsize
,
% Code font, Examples: \footnotesize\ttfamily,
keywordstyle=
\color
{
OliveGreen
}
,
% Keywords font ('*' = uppercase)
commentstyle=
\color
{
gray
}
,
% Comments font
numbersep=5pt,
% How far are line-numbers from code
backgroundcolor=
\color
{
lightLightBlue
}
,
% Choose background color
frame=none,
% A frame around the code
tabsize=2,
% Default tab size
captionpos=b,
% Caption-position = bottom
breaklines=true,
% Automatic line breaking?
breakatwhitespace=false,
% Automatic breaks only at whitespace?
showspaces=false,
% Dont make spaces visible
showtabs=false,
% Dont make tabls visible
columns=flexible,
% Column format
morekeywords=
{
>,
__
global
__
,
__
device
__}
,
% CUDA specific keywords
}
\begin{frame}
\titlepage
\end{frame}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment