ich würde gerne die Trennlinie unterhalb der Kopfzeile so modifizieren, dass sie nach außen hin dem Verlauf eines EKGs entspricht. Wie stelle ich es denn am Besten an, den Verlauf in die Linie zu integrieren, sodass diese also direkt in den Verlauf übergeht? Momentan ist die Kurve einfach als Abbildung über der Trennlinie angeordnet:
\documentclass[paper=a5, pagesize, abstracton, twoside=true, headinclude=true, footinclude=true, BCOR=10mm, openright,fontsize=10pt, headings=small, DIV=calc]{scrreprt} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{blindtext} \usepackage{tikz} \usepackage[automark, headsepline]{scrlayer-scrpage} \pagestyle{scrheadings} \clearscrheadfoot \setlength{\skip\footins}{20mm} \automark[chapter]{chapter} \automark*[section]{} \ihead{\slshape \headmark} \chead{} \ohead{ \raisebox{\ht\strutbox}[0pt]{% \input{ekg.tex} %ekg in kopfzeile }% } % \ifoot{} \cfoot{} \ofoot{\pagemark} % \begin{document} \chapter{Motivation} \blindtext[5] \end{document}
das ekg wird als tikzpicture erzeugt:
\begin{tikzpicture}[line join=round, x=1pt, y=-1pt] \tikzset{ normal ecg/.pic={ \draw (0,455.0021) -- (11.8345,455.0021); \draw (11.8345,455.0021) .. controls (14.2834,454.8958) and (14.1385,448.7114) .. (18.8842,448.7114) .. controls (24.2116,448.7114) and (23.9695,454.8958) .. (26.3035,455.0021); \draw (26.3035,455.0021) -- (40.7723,455.0021); \draw (40.7723,455.0021) -- (42.7455,463.0645) -- (46.0339,413.3461) -- (48.6647,466.4235) -- (51.2955,455.0021); \draw (51.2955,455.0021) -- (61.1605,455.0021); \draw (61.1605,455.0021) .. controls (64.4487,454.3298) and (65.7118,441.6860) .. (70.3679,441.5241) .. controls (75.2428,441.3542) and (76.9447,454.3301) .. (80.2329,455.0021); \draw (80.2329,455.0021) -- (90.2329,455.0021); % \draw (80.2329,455.0021) .. controls (81.4852,455.0021) and % (82.2677,452.8462) .. (84.1792,452.9863) .. controls (85.8717,453.1101) and % (86.4830,455.0021) .. (87.4678,455.0021); % \draw (87.4678,455.0021) -- (100,455.0021); } } \foreach \x in {0,...,0}{ \pic [scale=0.5] at (\x*50, 0) {normal ecg}; } \end{tikzpicture}