von basti-fantasti-48 » Do 20. Jun 2024, 14:34
\documentclass{scrreprt}
% Eingabecodierung
\usepackage[utf8]{inputenc}
% Schriftcodierung
\usepackage[T1]{fontenc}
% Sprachraum
\usepackage[ngerman]{babel}
% Blindtext
\usepackage{blindtext}
% Bilder einbinden
\usepackage{graphicx}
\graphicspath{{bilder/}}
\usepackage{svg}
\usepackage{pgfkeys}
\usepackage{tikz}
\usetikzlibrary{shapes.geometric, arrows}
\usepackage{struktex}
\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}
% für tikz
\pgfplotsset{select coords between index/.style 2 args={
x filter/.code={
\ifnum\coordindex<#1\def\pgfmathresult{}\fi
\ifnum\coordindex>#2\def\pgfmathresult{}\fi
}
}}
\usepackage{subcaption}
\usepackage{pdfpages}
\usepackage{acronym}%abkürzung
\usetikzlibrary{arrows, decorations.markings}
\makeatletter
\tikzset{
nomorepostaction/.code=\makeatletter\let\tikz@postactions\pgfutil@empty,
my axis/.style={
postaction={
decoration={
markings,
mark=at position 1 with {
\arrow[ultra thick]{latex}
}
},
decorate,
nomorepostaction
},
thin,
-, % switch off other arrow tips
every path/.append style=my axis % this is necessary
%so it works both with "axis lines=left" and "axis lines=center"
}
}
%
\usepackage{adjustbox}
\makeatother
\renewcommand*{\chapterheadstartvskip}{\vspace*{-1\baselineskip}}% Abstand einstellen
\renewcommand*\chapterheadendvskip{%
\vspace*{1\baselineskip plus -1\baselineskip minus .167\baselineskip}}
\begin{document}
\begin{minipage}{\textwidth}
\centering
\includegraphics{funktion.pdf}
\captionof{figure}{unterschr}
\end{minipage}
\end{document}
Hallo ich möchte in das pdf Bild was reinschreiben. wie in tikz (eventuell \node). im mitgelieferten pdf genau in die rechtecke rein. Leider läuft das Bsp nicht weil das Bild nicht gefunden wird.
- Dateianhänge
-
- funktion.pdf
- (20.82 KiB) 110-mal heruntergeladen
[code]\documentclass{scrreprt}
% Eingabecodierung
\usepackage[utf8]{inputenc}
% Schriftcodierung
\usepackage[T1]{fontenc}
% Sprachraum
\usepackage[ngerman]{babel}
% Blindtext
\usepackage{blindtext}
% Bilder einbinden
\usepackage{graphicx}
\graphicspath{{bilder/}}
\usepackage{svg}
\usepackage{pgfkeys}
\usepackage{tikz}
\usetikzlibrary{shapes.geometric, arrows}
\usepackage{struktex}
\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}
% für tikz
\pgfplotsset{select coords between index/.style 2 args={
x filter/.code={
\ifnum\coordindex<#1\def\pgfmathresult{}\fi
\ifnum\coordindex>#2\def\pgfmathresult{}\fi
}
}}
\usepackage{subcaption}
\usepackage{pdfpages}
\usepackage{acronym}%abkürzung
\usetikzlibrary{arrows, decorations.markings}
\makeatletter
\tikzset{
nomorepostaction/.code=\makeatletter\let\tikz@postactions\pgfutil@empty,
my axis/.style={
postaction={
decoration={
markings,
mark=at position 1 with {
\arrow[ultra thick]{latex}
}
},
decorate,
nomorepostaction
},
thin,
-, % switch off other arrow tips
every path/.append style=my axis % this is necessary
%so it works both with "axis lines=left" and "axis lines=center"
}
}
%
\usepackage{adjustbox}
\makeatother
\renewcommand*{\chapterheadstartvskip}{\vspace*{-1\baselineskip}}% Abstand einstellen
\renewcommand*\chapterheadendvskip{%
\vspace*{1\baselineskip plus -1\baselineskip minus .167\baselineskip}}
\begin{document}
\begin{minipage}{\textwidth}
\centering
\includegraphics{funktion.pdf}
\captionof{figure}{unterschr}
\end{minipage}
\end{document}
[/code]
Hallo ich möchte in das pdf Bild was reinschreiben. wie in tikz (eventuell \node). im mitgelieferten pdf genau in die rechtecke rein. Leider läuft das Bsp nicht weil das Bild nicht gefunden wird.