Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
osak
talks
Commits
6d73ca96
Commit
6d73ca96
authored
Jun 04, 2019
by
Valentin Bruch
Browse files
presentation: notes for presentation
parent
1688d658
Changes
1
Hide whitespace changes
Inline
Side-by-side
workshops/latex/latex.tex
View file @
6d73ca96
...
...
@@ -21,7 +21,9 @@
\usefonttheme
{
professionalfonts
}
\newcommand
{
\bsl
}{
\textbackslash
}
\renewcommand\note
[2][]
{
\ifshownotes
#1
{
\color
[rgb]
{
0,.5,0
}
#2
}
\fi
}
\definecolor
{
darkgreen
}{
rgb
}{
0,0.5,0
}
\renewcommand\note
[2][]
{
\ifshownotes
#1
{
\color
{
darkgreen
}
#2
}
\fi
}
\newcommand\colorifnote
{
\ifshownotes\color
{
darkgreen
}
\fi
}
\hypersetup
{
unicode=true
}
...
...
@@ -36,7 +38,8 @@
commentstyle=
\itshape\color
{
RoyalBlue
}
,
keywordstyle=
\color
{
RoyalBlue
}
\bfseries
,
moretexcs=
{
lstset,subsubsection,paragraph,subsection,color,sl,textcolor,lstinputlisting,newfontfamily,fontsize,section,documentclass,begin,includegraphics,hello,bye,setmainlanguage,setlength
}
,
morekeywords=
{
center,document,flushleft,flushright,itemize,enumerate,tabular,article,polyglossia,geometry,amsmath,graphicx,xcolor,hyperref,figure,babel,mathtools,equation,align
}
morekeywords=
{
center,document,flushleft,flushright,itemize,enumerate,tabular,article,polyglossia,geometry,amsmath,graphicx,xcolor,hyperref,figure,babel,mathtools,equation,align
}
,
deletetexcs=
{
vec
}
}
\makeatletter
...
...
@@ -463,14 +466,15 @@
\begin{minipage}
[t][10mm][c]
{
.4
\textwidth
}
\centering
\scriptsize
\ttfamily
\verb
|
\sum_{n=0}^\infty n =
|
\verb
|
-\frac{1}{12}
|
\colorifnote
\verb
|
-\frac{1}{12}
|
\end{minipage}
}
;
&
\node
{
\includegraphics
[width=16pt]
{
figures/texstudio-compile.pdf
}}
;
&
\node
[draw=blue!20!lightgray, line width=2pt]
{
\begin{minipage}
[t][10mm][c]
{
.4
\textwidth
}
\centering
$
\displaystyle\sum
_{
n
=
0
}^
\infty
n
=
-
\frac
{
1
}{
12
}$
$
\displaystyle\sum
_{
n
=
0
}^
\infty
n
=
-
\colorifnote\frac
{
1
}{
12
}$
\end{minipage}
}
;
\\
...
...
@@ -478,7 +482,7 @@
\begin{minipage}
[t][6mm][c]
{
.4
\textwidth
}
\centering
\scriptsize
\ttfamily
\verb
|
\nabla\cdot\vec{E} = 4\pi\rho
|
\verb
|
\nabla\cdot\vec{E} = 4
|
\colorifnote
\verb
|
\pi\rho
|
\end{minipage}
}
;
&
\node
{
\includegraphics
[width=16pt]
{
figures/texstudio-compile.pdf
}}
;
&
...
...
@@ -492,8 +496,8 @@
\node
[draw=blue!20!lightgray, line width=2pt]
{
\begin{minipage}
[t][6mm][c]
{
.4
\textwidth
}
\centering
\scriptsize
\ttfamily
\verb
|
\sqrt{e^{i\pi}} = \pm i
|
\scriptsize\ttfamily
{
\colorifnote
\verb
|
\sqrt
|
}
\verb
|
{e^{i\pi}} = \pm i
|
\end{minipage}
}
;
&
\node
{
\includegraphics
[width=16pt]
{
figures/texstudio-compile.pdf
}}
;
&
...
...
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