aboutsummaryrefslogtreecommitdiffstats
path: root/buch/papers/punktgruppen/tikz/lattice.tex
diff options
context:
space:
mode:
authorAndreas Mueller <andreas.mueller@othello.ch>2021-07-12 11:31:28 +0200
committerAndreas Mueller <andreas.mueller@othello.ch>2021-07-12 11:31:28 +0200
commitaffde0cbea01f14d6f245523aae1c7e442f4b9ba (patch)
tree54891ac6e4b9404769f7558cde13ce4f3fd12c74 /buch/papers/punktgruppen/tikz/lattice.tex
parentfix error in Debian, triggered by tab before \label (diff)
parentMerge pull request #29 from NaoPross/master (diff)
downloadSeminarMatrizen-affde0cbea01f14d6f245523aae1c7e442f4b9ba.tar.gz
SeminarMatrizen-affde0cbea01f14d6f245523aae1c7e442f4b9ba.zip
Merge branch 'master' of github.com:AndreasFMueller/SeminarMatrizen
Diffstat (limited to 'buch/papers/punktgruppen/tikz/lattice.tex')
-rw-r--r--buch/papers/punktgruppen/tikz/lattice.tex39
1 files changed, 39 insertions, 0 deletions
diff --git a/buch/papers/punktgruppen/tikz/lattice.tex b/buch/papers/punktgruppen/tikz/lattice.tex
new file mode 100644
index 0000000..9c05af3
--- /dev/null
+++ b/buch/papers/punktgruppen/tikz/lattice.tex
@@ -0,0 +1,39 @@
+\documentclass[tikz]{standalone}
+\usepackage{amsmath}
+\usepackage{times}
+\usepackage{txfonts}
+
+\usetikzlibrary{arrows}
+\usetikzlibrary{intersections}
+\usetikzlibrary{math}
+\usetikzlibrary{positioning}
+\usetikzlibrary{arrows.meta}
+\usetikzlibrary{shapes.misc}
+\usetikzlibrary{calc}
+
+\begin{document}
+\begin{tikzpicture}[
+ dot/.style = {
+ draw, circle, thick, black, fill = gray!40!white,
+ minimum size = 2mm,
+ inner sep = 0pt,
+ outer sep = 1mm,
+ },
+ ]
+
+ \begin{scope}
+ \clip (-2,-2) rectangle (3,4);
+ \foreach \y in {-7,-6,...,7} {
+ \foreach \x in {-7,-6,...,7} {
+ \node[dot, xshift=3mm*\y] (N\x\y) at (\x, \y) {};
+ }
+ }
+ \end{scope}
+ \draw[black, thick] (-2, -2) rectangle (3,4);
+
+ \draw[red!80!black, thick, ->]
+ (N00) to node[midway, below] {\(\vec{a}_1\)} (N10);
+ \draw[cyan!80!black, thick, ->]
+ (N00) to node[midway, left] {\(\vec{a}_2\)} (N01);
+\end{tikzpicture}
+\end{document}