Ian Jauslin
summaryrefslogtreecommitdiff
blob: ddaff19a15199be06de5ca70d35c759fc8b4ae9d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
\documentclass{standalone}
\usepackage{tikz}
\usepackage{graphene}
\begin{document}
\begin{tikzpicture}

% draw grids
\graphene{(0,0)}{}
\graphene{(-1,0)}{dashed}

% bounding box
\path\mlo++\mlo++(-0.1,-0.1)coordinate(A);
\path\lt++(-60:1)++(0.1,-0.1)coordinate(B);
\path\lo++\mlt++\lo++(60:1)++(0.1,0.1)coordinate(C);
\path\mlt++\mlt++\lo++\mlt++(-0.1,0.1)coordinate(D);

\sitelattice{at}{(-1,0)}{}
\sitelattice{bt}{(-1,0)}{color=green}
\sitelattice{a}{(0,0)}{color=green}
\sitelattice{b}{(0,0)}{}



\end{tikzpicture}
\end{document}