Verlinkung
Verfasst: Do 27. Jun 2024, 14:25
Guten Abend meine Damen und Herren, ich möchte in meinem tikz an einem Block eine Referenz auf ein Kapitel. Ich zeige den Plan und gehe dann in Unterkapitel auf die einzelnen Blöcke ein.
Also wenn ich auf Process 1 drücke soll ich (ähnlich wie hyperref) dann zum Unterkapitel kommen.
Also wenn ich auf Process 1 drücke soll ich (ähnlich wie hyperref) dann zum Unterkapitel kommen.
\documentclass[ 11pt, % Schriftgröße paper=a4, DIV=13, % Seitenlayout (Satzspiegel) parskip=half, % Abstand zwischen Absätzen %twoside, % Doppelseitig %openright, % neues Kapitel rechts % cleardoublepage, bibtotoc, % Literaturverzeichis in Inhaltsverzeichnis headsepline, % Kopfzeilentrennlinie headings, % draft, % Korrekturfassung ]{scrreprt} % scrartcl % Eingabecodierung \usepackage[utf8]{inputenc} % Schriftcodierung \usepackage[T1]{fontenc} % Sprachraum \usepackage[ngerman]{babel} % Blindtext \usepackage{blindtext} % Schrifteinstellungen \usepackage{lmodern} % Vektorschrift \renewcommand{\familydefault}{\sfdefault} % Serifenlose Schrift \usepackage{sansmath} % Mathe-Schrift ohne Serifen \sansmath % aktiviert serifenlose Matheschrift \usepackage{microtype} % harmonische Typenverteilung %\usepackage{hyperref} % Literatur einbinden \usepackage{csquotes} % Steuerung der Anführungszeichen \usepackage[ backend=biber, % Sortier-Compiler style=numeric-comp, % Zitationsstil block=ragged, ]{biblatex} \addbibresource{ref/Bibliothek.bib} \usepackage{booktabs} % Mathemodus \usepackage{amsmath,amssymb} % Trennung \hyphenation{Crash-zo-ne} % Bilder einbinden \usepackage{graphicx} \graphicspath{{bilder/}} \usepackage{svg} % Kopf- und Fußzeile \usepackage[headsepline,automark]{scrlayer-scrpage} \clearpairofpagestyles \ihead{\rightmark} \cfoot{\pagemark} \renewcommand*\chaptermarkformat{} \renewcommand*\chapterpagestyle{scrheadings} %Nummerierung durchgehend im gesamten Dokument \usepackage{chngcntr}% Nummerierung ohne Kapitel \counterwithout{equation}{section} \counterwithout{equation}{chapter} \counterwithout{figure}{section} \counterwithout{figure}{chapter} \counterwithout{table}{section} \counterwithout{table}{chapter} %für ltspice scopes \usepackage{pgfkeys} \usepackage{tikz} \usepackage{tikz} \usetikzlibrary{shapes.geometric, arrows} \tikzstyle{startstop} = [rectangle, rounded corners, minimum width=3cm, minimum height=1cm, text centered, draw=black, fill=red!30] \tikzstyle{io} = [trapezium, trapezium stretches=true, % A later addition trapezium left angle=70, trapezium right angle=110, minimum width=3cm, minimum height=1cm, text centered, draw=black, fill=blue!30] \tikzstyle{process} = [rectangle, minimum width=3cm, minimum height=1cm, text centered, text width=3cm, draw=black, fill=orange!30] \tikzstyle{decision} = [diamond, minimum width=3cm, minimum height=1cm, text centered, draw=black, fill=green!30] \tikzstyle{arrow} = [thick,->,>=stealth] \usepackage{pgfplots}\pgfplotsset{compat=newest} \usetikzlibrary{arrows.meta,positioning,calc} \begin{document} \begin{tikzpicture}[node distance=2cm] \node (start) [startstop] {Start}; \node (in1) [io, below of=start] {Einlesen der Daten}; \node (pro1) [process, below of=in1] {Process 1}; \node (dec1) [decision, below of=pro1, yshift=-0.5cm] {Decision 1}; \node (pro2a) [process, below of=dec1, yshift=-0.5cm] {Process 2a text text text text text text text text text text}; \node (pro2b) [process, right of=dec1, xshift=2cm] {Process 2b}; \node (out1) [io, below of=pro2a] {Output}; \node (stop) [startstop, below of=out1] {Stop}; \draw [arrow] (start) -- (in1); \draw [arrow] (in1) -- (pro1); \draw [arrow] (pro1) -- (dec1); \draw [arrow] (dec1) -- node[anchor=east] {yes} (pro2a); \draw [arrow] (dec1) -- node[anchor=south] {no} (pro2b); \draw [arrow] (pro2b) |- (pro1); \draw [arrow] (pro2a) -- (out1); \draw [arrow] (out1) -- (stop); \end{tikzpicture} \subsection{Process1} Process 1 macht ... \end{document}