Commit 3bbcb792 authored by Antonin Dudermel's avatar Antonin Dudermel
Browse files

setting presentation in lmodern (i.e. TTF) to work with BBB

reset "~" in the middle
parent d4042251
No preview for this file type
\documentclass{beamer}
\usepackage{lmodern} % For BBB
\usepackage[T1]{fontenc}
\addtobeamertemplate{navigation symbols}{}{%
\usebeamerfont{footline}%
......@@ -10,7 +12,7 @@
\mode<presentation>
{
\usetheme{metropolis}
%\usecolortheme{beaver}
% \usecolortheme{beaver}
% \setbeamercovered{transparent}
}
......@@ -25,6 +27,16 @@
% \usepackage{ulem}
\usepackage{listings}
\lstset{
language=c,
basicstyle=\ttfamily,
% literate={~}{{\raisebox{-.25em}{\textasciitilde{}}}}{1}
% literate={~}{\char `~}{0},
% linewidth=.5\textwidth,
% numbers=left,
% numberstyle=\small
}
\usepackage{tikz}
\usetikzlibrary{calc, shapes, decorations.markings}
......@@ -141,7 +153,7 @@
Low-latency programs can't be executed on computers.
\begin{center}
\scalebox{0.8}{\computeraudio}\\
\vspace{10px}
\vspace{5mm}
\uncover<2->{\scalebox{0.8}{\asicaudio}}\\
\end{center}
\begin{minipage}{.3\linewidth}
......@@ -275,7 +287,7 @@ Biggest (range): \(2^{\msb+1} - 2^{\lsb}\) \hspace{\stretch{1}} Smallest
\end{frame}
\begin{frame}{Recursive Signals Problem}
Int phaser : \lstinline{process = \%(10)~ +(1);} (\% is the modulo operator)
Int phaser : \lstinline{process = \%(10) ~ +(1);} (\% is the modulo operator)
\begin{figure}
\centering
\subfloat[blocks]{\includegraphics[width = 0.4\textwidth, valign=c]{../code/rec-block.png}}
......@@ -310,7 +322,7 @@ Biggest (range): \(2^{\msb+1} - 2^{\lsb}\) \hspace{\stretch{1}} Smallest
\end{frame}
\begin{frame}{Good Example}
On example \lstinline{process = \%(10)~ +(1);}
On example \lstinline{process = \%(10) ~ +(1);}
\(f:z \mapsto z + 1 \mod 10 \)
\begin{figure}
\centering
......@@ -322,7 +334,7 @@ Biggest (range): \(2^{\msb+1} - 2^{\lsb}\) \hspace{\stretch{1}} Smallest
\end{frame}
\begin{frame}{Bad Example}
On example \lstinline{process = \_~ +(1);}
On example \lstinline{process = \_ ~ +(1);}
\(f:z \mapsto z + 1\)
\begin{figure}
\centering
......
No preview for this file type
......@@ -14,6 +14,18 @@
\usepackage{algorithm}
\usepackage{algpseudocode}
\usepackage{listings}
\lstset{
language=c,
basicstyle=\ttfamily,
literate={~}{{\raisebox{-.25em}{\textasciitilde{}}}}{1}
% literate={~}{\char `~}{0},
% linewidth=.5\textwidth,
% numbers=left,
% numberstyle=\small
}
\usepackage{amsmath,amsfonts,amssymb, amsthm}
\usepackage[pagebackref]{hyperref}
......@@ -37,7 +49,6 @@
}
\usepackage{siunitx}
\usepackage{float}
\usepackage{graphicx}
\usepackage{subfig}
......
\usepackage{listings}
\lstset{
language=c,
basicstyle=\ttfamily,
literate={~}{{\raisebox{-.25em}{\textasciitilde{}}}}{1}
% literate={~}{\char `~}{0},
% linewidth=.5\textwidth,
% numbers=left,
% numberstyle=\small
}
\newcommand{\todo}[1]{\textcolor{red}{TODO: #1}}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment