Skip to content

Commit 5c2374b

Browse files
amadiobernhardmgruber
authored andcommitted
Capitalize items consistently
1 parent d188326 commit 5c2374b

File tree

2 files changed

+22
-22
lines changed

2 files changed

+22
-22
lines changed

talk/basicconcepts/control.tex

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,10 @@
8383
}
8484
\end{cppcode*}
8585
\begin{itemize}
86-
\item \mintinline{cpp}{break} is not mandatory but...
87-
\item cases are entry points, not independent pieces
88-
\item execution falls through to the next case without a \mintinline{cpp}{break}!
89-
\item \mintinline{cpp}{default} may be omitted
86+
\item The \mintinline{cpp}{break} statement is not mandatory but...
87+
\item Cases are entry points, not independent pieces
88+
\item Execution falls through to the next case without a \mintinline{cpp}{break}!
89+
\item The \mintinline{cpp}{default} case may be omitted
9090
\end{itemize}
9191
\end{block}
9292
\pause
@@ -142,7 +142,7 @@
142142
\end{frame}
143143

144144
\begin{frame}[fragile]
145-
\frametitlecpp[17]{init-statements for if and switch}
145+
\frametitlecpp[17]{Init-statements for if and switch}
146146
\begin{block}{}
147147
Allows to limit variable scope in \mintinline{cpp}{if} and \mintinline{cpp}{switch} statements
148148
\end{block}
@@ -176,9 +176,9 @@
176176
\end{cppcode*}
177177
\vspace{-0.2cm}
178178
\begin{itemize}
179-
\item initializations and increments are comma separated
180-
\item initializations can contain declarations
181-
\item braces are optional if loop body is a single statement
179+
\item Initializations and increments are comma separated
180+
\item Initializations can contain declarations
181+
\item Braces are optional if loop body is a single statement
182182
\end{itemize}
183183
\end{block}
184184
\pause
@@ -201,8 +201,8 @@
201201
\frametitlecpp[11]{Range-based loops}
202202
\begin{block}{Reason of being}
203203
\begin{itemize}
204-
\item simplifies loops over ``ranges'' tremendously
205-
\item especially with STL containers
204+
\item Simplifies loops over ``ranges'' tremendously
205+
\item Especially with STL containers
206206
\end{itemize}
207207
\end{block}
208208
\begin{block}{Syntax}
@@ -222,7 +222,7 @@
222222
\end{frame}
223223

224224
\begin{frame}[fragile]
225-
\frametitlecpp[20]{init-statements for range-based loops}
225+
\frametitlecpp[20]{Init-statements for range-based loops}
226226
\begin{block}{}
227227
Allows to limit variable scope in range-based loops
228228
\end{block}
@@ -257,7 +257,7 @@
257257
} while(condition);
258258
\end{cppcode*}
259259
\begin{itemize}
260-
\item braces are optional if the body is a single statement
260+
\item Braces are optional if the body is a single statement
261261
\end{itemize}
262262
\end{block}
263263
\pause
@@ -274,10 +274,10 @@
274274
\frametitlecpp[98]{Control structures: jump statements}
275275
\begin{block}{}
276276
\begin{description}
277-
\item[break] exits the loop and continues after it
278-
\item[continue] goes immediately to next loop iteration
279-
\item[return] exists the current function
280-
\item[goto] can jump anywhere inside a function, don't use!
277+
\item[break] Exits the loop and continues after it
278+
\item[continue] Goes immediately to next loop iteration
279+
\item[return] Exits the current function
280+
\item[goto] Can jump anywhere inside a function, avoid!
281281
\end{description}
282282
\end{block}
283283
\pause

talk/basicconcepts/references.tex

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,16 +29,16 @@
2929
\frametitlecpp[98]{Pointers vs References}
3030
\begin{block}{Specificities of reference}
3131
\begin{itemize}
32-
\item natural syntax
33-
\item must be assigned when defined, cannot be \mintinline{cpp}{nullptr}
34-
\item cannot be reassigned
35-
\item non-const references to temporary objects are not allowed
32+
\item Natural syntax
33+
\item Must be assigned when defined, cannot be \mintinline{cpp}{nullptr}
34+
\item Cannot be reassigned
35+
\item Non-const references to temporary objects are not allowed
3636
\end{itemize}
3737
\end{block}
3838
\begin{block}{Advantages of pointers}
3939
\begin{itemize}
40-
\item can be reassigned to point elsewhere or to \mintinline{cpp}{nullptr}
41-
\item clearly indicates that argument may be modified
40+
\item Can be reassigned to point elsewhere or to \mintinline{cpp}{nullptr}
41+
\item Clearly indicates that argument may be modified
4242
\end{itemize}
4343
\end{block}
4444
\pause

0 commit comments

Comments
 (0)