Debian Codegraph @

texmf-dist/doc/latex/gridslides/example.tex

raw
1 % Package: gridslides
2 % Description: LaTeX package to create free form slides with blocks placed on a grid
3 % File: example.tex
4 % Author: Daniel Mendler <[email protected]>
5 % Version: 0.1.1
6 % Date: 2017-11-28
7 % License: GPL2 or LPPL1.3 at your option
8 % Homepage: https://github.com/minad/gridslides
9 \documentclass{gridslides}
10
11 \usepackage{cmbright}
12
13 \newcommand{\hcterm}{\text{H.c.}}
14 \newcommand{\nodag}{{\phantom{\dag}}}
15 \newcommand{\hc}{^\dag}
16 \newcommand{\trans}{^\intercal}
17 \newcommand{\nohc}{^\nodag}
18 \newcommand{\OpH}{\ensuremath{\mathcal{H}}\xspace}
19 \newcommand{\HH}{\ensuremath{\widehat{\OpH}}\xspace}
20 \renewcommand{\vec}[1]{\ensuremath{\boldsymbol{#1}}\xspace}
21
22 \definecolor{bordercolor}{HTML}{23373b}
23 \newcommand{\border}{
24 \block(0,0,32){\tikz\fill[bordercolor] (0,0) rectangle (128mm,2mm);}
25 \block(0,22,32){\tikz\fill[bordercolor] (0,0) rectangle (128mm,8mm);}
26 }
27 \newcommand{\logo}{\Large\textbf{\color{bordercolor}\TeX}}
28
29 \author{Author}
30 \title{Presentation Title}
31 \date{\today}
32 \institute{Institute~$\cdot$~University}
33
34 \begin{style}
35 \border
36 \txt(28,1.5){\logo}
37 \block(1.5,2,26){\LARGE\theheadline}
38 \txt(1,22.8){\color{white}\theslide}
39 \txt(4,22.9){\color{white}\scriptsize\theauthor~$\cdot$~\thetitle}
40 \end{style}
41
42 \begin{document}
43
44 \begin{rawslide}
45 \border
46 \txt(28,1.5){\logo}
47 \block(2,5,28){\LARGE\thetitle}
48 \txt(2,9.5){\theauthor~$\cdot$~\thedate}
49 \txt(2,11.7){\footnotesize\theinstitute}
50 \end{rawslide}
51
52 \begin{slide}{Overview}
53 \block(1.5,5,29){
54 \begin{enumerate}[1.]
55 \item Topological phases
56 \item 1D p-wave superconductor
57 \end{enumerate}
58 }
59 \end{slide}
60
61 \begin{slide}{Topological Phases}
62 \fig(3,4,12){qahe}
63 \fig(17,4,12){qshe}
64 \txt(6,11){Conducting edge channels $\longleftrightarrow$ Non-trivial bandstructure}
65
66 \txt<2->(1.5,12.5){QAHE bulk Hamiltonian $\HH(\vec{k}) = \vec{g}(\vec{k})\cdot\vec{\sigma}$}
67 \eq<2->(13,14.2){\vec{g}(k_x,k_y) = \left(\sin k_x, \sin k_y, \cos k_x + \cos k_y - M \right)\trans}
68
69 \only<3>{
70 \fig(0.5,15,16){skyrmion}
71 \eq(4,20){M=1}
72 \block(4,15,5){\tikz \node[fill=white,text=red!90!black,inner sep=0.5mm]
73 {non-trivial};}
74
75 \fig(15,16,16){trivial}
76 \eq(18,21){M=3}
77 \block(20,17.5,2.2){\tikz \node[fill=white,inner sep=0.5mm,text=blue!90!black]
78 {trivial};}
79 }
80 \end{slide}
81
82 \begin{slide}{1D p-wave superconductor}
83 \txt(1.5,11){Lattice}
84 \eq(6.5,10){\OpH = \sum_{i=1}^{n-1} \left [ t c_i\hc c_{i+1}\nohc + \Delta c\nohc_i c\nohc_{i+1} + \hcterm \right] - \mu \sum_{i=1}^n c_i\hc c_i\nohc}
85
86 \fig(2,4,12){ctrivial}
87 \fig(18,5.5,12){cnontrivial}
88
89 \block<2->(26,10.5,4){%
90 \tikz \node[draw=red,inner sep=1mm] {
91 \scriptsize Majorana operators
92 $\begin{aligned}
93 \gamma_j\nohc &= \frac{c_j\nohc + c_j\hc}{2}\\
94 \gamma_j' &= \frac{c_j\nohc - c_j\hc}{2 \imath}
95 \end{aligned}$
96 };
97 }
98
99 \only<3>{
100 \fig(3,13.5,9){band02}
101 \txt(5,13.5){t=0.2}
102
103 \fig(16,13.5,9){band08}
104 \txt(18,13.5){t=0.8}
105
106 \txt(4,20.5){Bulk}
107 \eq(9,20.3){\HH(k) = (2t \cos k - \mu)\tau_z - 2\Delta\sin k\, \tau_y\qquad\vec{c}_k\hc = \left( c_k\hc,\, c_{-k}\nohc\right)}
108 }
109 \end{slide}
110
111 \end{document}