mirror of
https://github.com/MartinThoma/LaTeX-examples.git
synced 2025-04-19 11:38:05 +02:00
added readme
This commit is contained in:
parent
e0d3782190
commit
940343261a
3 changed files with 8 additions and 5 deletions
BIN
tikz/2d-parted-function/2d-parted-function.png
Normal file
BIN
tikz/2d-parted-function/2d-parted-function.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 19 KiB |
3
tikz/2d-parted-function/Readme.md
Normal file
3
tikz/2d-parted-function/Readme.md
Normal file
|
@ -0,0 +1,3 @@
|
|||
Compiled example
|
||||
----------------
|
||||

|
|
@ -13,13 +13,13 @@
|
|||
\draw[fill=black!35] (-0.35,0) -- (0.95,-0) -- (0.95,0.9) -- (-0.35,0.9) --cycle;
|
||||
\draw[fill=black!15] (3.5,-1) -- (5.5,-1) -- (5.5,1) -- (3.5,1) --cycle;
|
||||
\node (A) at (0.25,-0.5) {$\mathcal{A}$};
|
||||
\node[text width=2cm] (E) at (4.7,0) {Challenger\\$Enc(K, \cdot)$};
|
||||
\node[text width=1.5cm] (O) at (0.5,0.5) {\scriptsize{Orakel\\$Enc(K, \cdot)$}};
|
||||
\node[text width=2cm] (E) at (4.7,0) {Challenger\\$Enc(k, \cdot)$};
|
||||
\node[text width=1.5cm] (O) at (0.5,0.5) {\scriptsize{Orakel\\$Enc(k, \cdot)$}};
|
||||
|
||||
|
||||
\draw[->,thick] (1,0.7) -- node[sloped, above=-0.1cm] {$\scriptstyle M^{(1)}$} (3.5,0.7);
|
||||
\draw[->,thick] (1,0.4) -- node[sloped, above=-0.1cm] {$\scriptstyle M^{(2)}$} (3.5,0.4);
|
||||
\draw[<-,thick] (1,0.0) -- node[sloped, above=-0.1cm] {$\scriptstyle C^* = Enc(K, M^{(b)})$} (3.5,0.0);
|
||||
\draw[->,thick] (1,0.7) -- node[sloped, above=-0.1cm] {$\scriptstyle M^{(0)}$} (3.5,0.7);
|
||||
\draw[->,thick] (1,0.4) -- node[sloped, above=-0.1cm] {$\scriptstyle M^{(1)}$} (3.5,0.4);
|
||||
\draw[<-,thick] (1,0.0) -- node[sloped, above=-0.1cm] {$\scriptstyle C^* = Enc(k, M^{(b)})$} (3.5,0.0);
|
||||
|
||||
\draw[->,thick] (0,-1) |- node[sloped, above=0.19cm,right=0.3cm] {rate $b$} (2,-2);
|
||||
\draw[<-,very thick] (-0.5,-2) -- node[sloped, above=-0.05cm] {Zeit} (-0.5,1.5);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue