\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}