aboutsummaryrefslogtreecommitdiff
path: root/Info/9/1/Zellbezuege/handout.tex
blob: 74e8aea49ffcea998796abf90a7055cc4637edcb (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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
\documentclass[]{handout}
\title{Zellen und Datentypen}

\begin{document}

\subsection*{Formeln kopieren}

Damit man nicht mühsam ähnliche Eingaben wiederholt eingeben muss, können Zellen, und ihre Inhalte bequem kopiert werden. \\[0.2cm]
In Formeln verändert das \textbf{TKS} automatisch die Zellbezüge.
Das muss nicht immer erwünscht sein.

\begin{center}
\begin{tcolorbox}[title=Beispiel]
\begin{tikzpicture}
\node (p) {\includegraphics[keepaspectratio, width=0.8\textwidth]{img/salary_broken_copy.png}};
\draw[line width = 1pt, blue, ->] (1.5, -0.4) -- (5.5, -0.4);
\draw[line width = 1pt, red, ->] (1.5, -0.85) -- (5.5, -0.85); \node[xshift=1] at (6, -0.85){\textcolor{red}{\faIcon{bolt}}};
\draw[line width = 1pt, red, ->] (1.5, -1.3) -- (5.5, -1.3); \node[xshift=1] at (6, -1.3){\textcolor{red}{\faIcon{bolt}}};
\draw[line width = 1pt, red, ->] (1.5, -1.75) -- (5.5, -1.75); \node[xshift=1] at (6, -1.75){\textcolor{red}{\faIcon{bolt}}};
\node[below of=p, yshift=-2cm] {\large \textcolor{red}{\textbf{Unerwünschte Anpassung: Der Bezug der Zeile verändert sich mit!}}};
\end{tikzpicture}
\end{tcolorbox}
\end{center}

Um eine automatische Anpassung beim Kopieren zu verhindern, setzt man ein \pgap{\huge \boldred{Dollarzeichen \$}} vor den Adressteil, der sich nicht verändern soll.

\subsubsection*{Zellbezüge}

\begin{merke}
\begin{tabularx}{\textwidth}{p{4.6cm} p{11.7cm}}
  \includegraphics[keepaspectratio, height=5cm]{img/dollar.png} &
  {\vspace{-4cm} \LARGE \begin{tabularx}{11.7cm}{| p{8cm} | p{2.8cm} |}
    \hline
    Relative Adressierung & A1 \\
    \hline
    Absolute Zeilenadressierung & \solution{A\$1} \\
    \hline
    Absolute Spaltenadressierung & \solution{\$A1} \\
    \hline
    Absolute Adressierung & \$A\$1 \\
    \hline
  \end{tabularx}} \\
\end{tabularx}
\end{merke}
\end{document}