This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
latex:example_control_region [2017/06/07 19:46] – iwn | latex:example_control_region [2021/09/18 17:17] (current) – iwn | ||
---|---|---|---|
Line 1: | Line 1: | ||
Example of drawing control regions with LaTeX using the TikZ package. | Example of drawing control regions with LaTeX using the TikZ package. | ||
+ | For more related figures, please visit https:// | ||
- | <WRAP group>< | + | <WRAP group>< |
{{ latex: control_region_isolation.png ? 250 }} | {{ latex: control_region_isolation.png ? 250 }} | ||
- | </ | + | </ |
\\ | \\ | ||
{{ latex: control_region_OS_SS.png ? 200 }} | {{ latex: control_region_OS_SS.png ? 200 }} | ||
Line 14: | Line 15: | ||
\usepackage{amsmath} % for \text | \usepackage{amsmath} % for \text | ||
\usepackage{tikz} | \usepackage{tikz} | ||
- | \usepackage{tikz-3dplot} | ||
\tikzset{> | \tikzset{> | ||
\definecolor{mylightred}{RGB}{255, | \definecolor{mylightred}{RGB}{255, | ||
Line 29: | Line 29: | ||
+ | % CONTROL REGION: isolation | ||
\begin{tikzpicture}[scale=6] | \begin{tikzpicture}[scale=6] | ||
Line 43: | Line 44: | ||
\draw[->, | \draw[->, | ||
(0,0) -- (\isomax,0) | (0,0) -- (\isomax,0) | ||
- | node[at end,below=8pt,anchor=north east] {electron isolation $I_\text{e}$}; | + | node[at end,below=16pt,left] {electron isolation $I_\text{e}$}; |
% boxes | % boxes | ||
Line 64: | Line 65: | ||
+ | % CONTROL REGION: OS/SS | ||
\begin{tikzpicture}[scale=4] | \begin{tikzpicture}[scale=4] | ||
Line 70: | Line 72: | ||
(0,0) rectangle (1,1); | (0,0) rectangle (1,1); | ||
- | % boxes | + | % dashed lines |
\draw[dashed, | \draw[dashed, | ||
(0.5,-0.1) -- (0.5,1); | (0.5,-0.1) -- (0.5,1); |