momo
26-10-2009, 21:37
Hallo zusammen,
ich möchte auf einfache Weise Flussdiagramme erzeugen und dabei auch den Latex-Schriftsatz verwenden können.
Mein Ansatz ist folgender:
Die freie Software Dia kann solche Flussdiagramme auf einfache Art erzeugen, und bietet hierzu dann auch eine Export-Schnittstelle an, die den Rumpf einer tex-Datei erzeugt. Ich würde dann ggfs. Latex-Texte in der Tex-Datei anpassen.
http://http://www.togaware.com/linux/survivor/Export_TeX.html
Könnte sich jemand mal mein Beispiel ansehen und sagen, warum das Layout so arg mies aussieht ? Kästchen sind nicht mehr als solche zu erkennen, Schriftstärke viel zu dick, Text wird gar nicht übernommen..
Hat jemand Erfahrung damit, bzw. eine andere, bessere Idee (..ohne direkt in Latex mit pstricks einzelne Koordinatenkästchen konstruieren zu müssen)
Ich wäre Euch sehr dankbar, wenn Ihr mir weiterhelfen könntet, probiere schon ewig lange herum und komme einfach nicht weiter.
Danke und Grüße
Annette
Minimalbeispiel: Flussdiagramm.tex:
\documentclass{article}
\usepackage{tikz}
\usepackage{pstricks}
\usepackage{pst-node}
\usepackage{pst-blur}
\pagestyle{empty}%
\begin{document}
\include{Diagramm7}
\end{document}
Diagramm7:
% PSTricks TeX macro
% Title: C:\Dokumente und Einstellungen\annette\Desktop\LZMMI\Flussdigramm\b ilder\Diagramm7.dia
% Creator: Dia v0.96+svn
% CreationDate: Mon Oct 26 20:46:37 2009
% For: annette
% \usepackage{pstricks}
% The following commands are not supported in PSTricks at present
% We define them conditionally, so when they are implemented,
% this pstricks file will use them.
\ifx\setlinejoinmode\undefined
\newcommand{\setlinejoinmode}[1]{}
\fi
\ifx\setlinecaps\undefined
\newcommand{\setlinecaps}[1]{}
\fi
% This way define your own fonts mapping (for example with ifthen)
\ifx\setfont\undefined
\newcommand{\setfont}[2]{}
\fi
\pspicture(1.950000,-15.050000)(14.050000,-5.950000)
\psscalebox{1.000000 -1.000000}{
\newrgbcolor{dialinecolor}{0.000000 0.000000 0.000000}
\psset{linecolor=dialinecolor}
\newrgbcolor{diafillcolor}{1.000000 1.000000 1.000000}
\psset{fillcolor=diafillcolor}
\psset{linewidth=0.100000cm}
\psset{linestyle=solid}
\psset{linestyle=solid}
\setlinejoinmode{0}
\newrgbcolor{dialinecolor}{0.000000 0.000000 0.000000}
\psset{linecolor=dialinecolor}
\psline(2.000000,6.000000)(9.000000,6.000000)
\newrgbcolor{dialinecolor}{0.000000 0.000000 0.000000}
\psset{linecolor=dialinecolor}
\psline(2.000000,9.000000)(9.000000,9.000000)
\newrgbcolor{dialinecolor}{0.000000 0.000000 0.000000}
\psset{linecolor=dialinecolor}
\psclip{\pswedge[linestyle=none,fillstyle=none](2.000000,6.000000){0.000000}{180.000000}{270.0000 00}}
\psellipse(2.000000,6.000000)(0.000000,0.000000)
\endpsclip
\newrgbcolor{dialinecolor}{0.000000 0.000000 0.000000}
\psset{linecolor=dialinecolor}
\psclip{\pswedge[linestyle=none,fillstyle=none](9.000000,6.000000){0.000000}{270.000000}{360.0000 00}}
\psellipse(9.000000,6.000000)(0.000000,0.000000)
\endpsclip
\newrgbcolor{dialinecolor}{0.000000 0.000000 0.000000}
\psset{linecolor=dialinecolor}
\psline(2.000000,6.000000)(2.000000,9.000000)
\newrgbcolor{dialinecolor}{0.000000 0.000000 0.000000}
\psset{linecolor=dialinecolor}
\psline(9.000000,6.000000)(9.000000,9.000000)
\newrgbcolor{dialinecolor}{0.000000 0.000000 0.000000}
\psset{linecolor=dialinecolor}
\psclip{\pswedge[linestyle=none,fillstyle=none](2.000000,9.000000){0.000000}{90.000000}{180.00000 0}}
\psellipse(2.000000,9.000000)(0.000000,0.000000)
\endpsclip
\newrgbcolor{dialinecolor}{0.000000 0.000000 0.000000}
\psset{linecolor=dialinecolor}
\psclip{\pswedge[linestyle=none,fillstyle=none](9.000000,9.000000){0.000000}{0.000000}{90.000000} }
\psellipse(9.000000,9.000000)(0.000000,0.000000)
\endpsclip
\setfont{Helvetica}{0.800000}
\newrgbcolor{dialinecolor}{0.000000 0.000000 0.000000}
\psset{linecolor=dialinecolor}
\rput[l](3.320000,-7.698750){\psscalebox{1 -1}{Wurzel aus 9}}
\psset{linewidth=0.100000cm}
\psset{linestyle=solid}
\psset{linestyle=solid}
\setlinejoinmode{0}
\newrgbcolor{dialinecolor}{1.000000 1.000000 1.000000}
\psset{linecolor=dialinecolor}
\pspolygon*(10.000000,11.000000)(10.000000,15.0000 00)(14.000000,15.000000)(14.000000,11.000000)
\newrgbcolor{dialinecolor}{1.000000 1.000000 1.000000}
\psset{linecolor=dialinecolor}
\psclip{\pswedge[linestyle=none,fillstyle=none](10.000000,11.000000){0.000000}{180.000000}{270.00 0000}}
\psellipse*(10.000000,11.000000)(0.000000,0.000000 )
\endpsclip
\newrgbcolor{dialinecolor}{1.000000 1.000000 1.000000}
\psset{linecolor=dialinecolor}
\psclip{\pswedge[linestyle=none,fillstyle=none](14.000000,11.000000){0.000000}{270.000000}{360.00 0000}}
\psellipse*(14.000000,11.000000)(0.000000,0.000000 )
\endpsclip
\newrgbcolor{dialinecolor}{1.000000 1.000000 1.000000}
\psset{linecolor=dialinecolor}
\pspolygon*(10.000000,11.000000)(10.000000,15.0000 00)(14.000000,15.000000)(14.000000,11.000000)
\newrgbcolor{dialinecolor}{1.000000 1.000000 1.000000}
\psset{linecolor=dialinecolor}
\psclip{\pswedge[linestyle=none,fillstyle=none](10.000000,15.000000){0.000000}{90.000000}{180.000 000}}
\psellipse*(10.000000,15.000000)(0.000000,0.000000 )
\endpsclip
\newrgbcolor{dialinecolor}{1.000000 1.000000 1.000000}
\psset{linecolor=dialinecolor}
\psclip{\pswedge[linestyle=none,fillstyle=none](14.000000,15.000000){0.000000}{0.000000}{90.00000 0}}
\psellipse*(14.000000,15.000000)(0.000000,0.000000 )
\endpsclip
\newrgbcolor{dialinecolor}{0.000000 0.000000 0.000000}
\psset{linecolor=dialinecolor}
\psline(10.000000,11.000000)(14.000000,11.000000)
\newrgbcolor{dialinecolor}{0.000000 0.000000 0.000000}
\psset{linecolor=dialinecolor}
\psline(10.000000,15.000000)(14.000000,15.000000)
\newrgbcolor{dialinecolor}{0.000000 0.000000 0.000000}
\psset{linecolor=dialinecolor}
\psclip{\pswedge[linestyle=none,fillstyle=none](10.000000,11.000000){0.000000}{180.000000}{270.00 0000}}
\psellipse(10.000000,11.000000)(0.000000,0.000000)
\endpsclip
\newrgbcolor{dialinecolor}{0.000000 0.000000 0.000000}
\psset{linecolor=dialinecolor}
\psclip{\pswedge[linestyle=none,fillstyle=none](14.000000,11.000000){0.000000}{270.000000}{360.00 0000}}
\psellipse(14.000000,11.000000)(0.000000,0.000000)
\endpsclip
\newrgbcolor{dialinecolor}{0.000000 0.000000 0.000000}
\psset{linecolor=dialinecolor}
\psline(10.000000,11.000000)(10.000000,15.000000)
\newrgbcolor{dialinecolor}{0.000000 0.000000 0.000000}
\psset{linecolor=dialinecolor}
\psline(14.000000,11.000000)(14.000000,15.000000)
\newrgbcolor{dialinecolor}{0.000000 0.000000 0.000000}
\psset{linecolor=dialinecolor}
\psclip{\pswedge[linestyle=none,fillstyle=none](10.000000,15.000000){0.000000}{90.000000}{180.000 000}}
\psellipse(10.000000,15.000000)(0.000000,0.000000)
\endpsclip
\newrgbcolor{dialinecolor}{0.000000 0.000000 0.000000}
\psset{linecolor=dialinecolor}
\psclip{\pswedge[linestyle=none,fillstyle=none](14.000000,15.000000){0.000000}{0.000000}{90.00000 0}}
\psellipse(14.000000,15.000000)(0.000000,0.000000)
\endpsclip
\psset{linewidth=0.100000cm}
\psset{linestyle=solid}
\psset{linestyle=solid}
\setlinejoinmode{0}
\setlinecaps{0}
\newrgbcolor{dialinecolor}{0.000000 0.000000 0.000000}
\psset{linecolor=dialinecolor}
\psline(5.500000,9.000000)(5.500000,13.000000)(9.5 13197,13.000000)
\psset{linestyle=solid}
\setlinejoinmode{0}
\setlinecaps{0}
\newrgbcolor{dialinecolor}{0.000000 0.000000 0.000000}
\psset{linecolor=dialinecolor}
\pspolygon*(9.888197,13.000000)(9.388197,13.250000 )(9.513197,13.000000)(9.388197,12.750000)
\newrgbcolor{dialinecolor}{0.000000 0.000000 0.000000}
\psset{linecolor=dialinecolor}
\pspolygon(9.888197,13.000000)(9.388197,13.250000) (9.513197,13.000000)(9.388197,12.750000)
}\endpspicture
ich möchte auf einfache Weise Flussdiagramme erzeugen und dabei auch den Latex-Schriftsatz verwenden können.
Mein Ansatz ist folgender:
Die freie Software Dia kann solche Flussdiagramme auf einfache Art erzeugen, und bietet hierzu dann auch eine Export-Schnittstelle an, die den Rumpf einer tex-Datei erzeugt. Ich würde dann ggfs. Latex-Texte in der Tex-Datei anpassen.
http://http://www.togaware.com/linux/survivor/Export_TeX.html
Könnte sich jemand mal mein Beispiel ansehen und sagen, warum das Layout so arg mies aussieht ? Kästchen sind nicht mehr als solche zu erkennen, Schriftstärke viel zu dick, Text wird gar nicht übernommen..
Hat jemand Erfahrung damit, bzw. eine andere, bessere Idee (..ohne direkt in Latex mit pstricks einzelne Koordinatenkästchen konstruieren zu müssen)
Ich wäre Euch sehr dankbar, wenn Ihr mir weiterhelfen könntet, probiere schon ewig lange herum und komme einfach nicht weiter.
Danke und Grüße
Annette
Minimalbeispiel: Flussdiagramm.tex:
\documentclass{article}
\usepackage{tikz}
\usepackage{pstricks}
\usepackage{pst-node}
\usepackage{pst-blur}
\pagestyle{empty}%
\begin{document}
\include{Diagramm7}
\end{document}
Diagramm7:
% PSTricks TeX macro
% Title: C:\Dokumente und Einstellungen\annette\Desktop\LZMMI\Flussdigramm\b ilder\Diagramm7.dia
% Creator: Dia v0.96+svn
% CreationDate: Mon Oct 26 20:46:37 2009
% For: annette
% \usepackage{pstricks}
% The following commands are not supported in PSTricks at present
% We define them conditionally, so when they are implemented,
% this pstricks file will use them.
\ifx\setlinejoinmode\undefined
\newcommand{\setlinejoinmode}[1]{}
\fi
\ifx\setlinecaps\undefined
\newcommand{\setlinecaps}[1]{}
\fi
% This way define your own fonts mapping (for example with ifthen)
\ifx\setfont\undefined
\newcommand{\setfont}[2]{}
\fi
\pspicture(1.950000,-15.050000)(14.050000,-5.950000)
\psscalebox{1.000000 -1.000000}{
\newrgbcolor{dialinecolor}{0.000000 0.000000 0.000000}
\psset{linecolor=dialinecolor}
\newrgbcolor{diafillcolor}{1.000000 1.000000 1.000000}
\psset{fillcolor=diafillcolor}
\psset{linewidth=0.100000cm}
\psset{linestyle=solid}
\psset{linestyle=solid}
\setlinejoinmode{0}
\newrgbcolor{dialinecolor}{0.000000 0.000000 0.000000}
\psset{linecolor=dialinecolor}
\psline(2.000000,6.000000)(9.000000,6.000000)
\newrgbcolor{dialinecolor}{0.000000 0.000000 0.000000}
\psset{linecolor=dialinecolor}
\psline(2.000000,9.000000)(9.000000,9.000000)
\newrgbcolor{dialinecolor}{0.000000 0.000000 0.000000}
\psset{linecolor=dialinecolor}
\psclip{\pswedge[linestyle=none,fillstyle=none](2.000000,6.000000){0.000000}{180.000000}{270.0000 00}}
\psellipse(2.000000,6.000000)(0.000000,0.000000)
\endpsclip
\newrgbcolor{dialinecolor}{0.000000 0.000000 0.000000}
\psset{linecolor=dialinecolor}
\psclip{\pswedge[linestyle=none,fillstyle=none](9.000000,6.000000){0.000000}{270.000000}{360.0000 00}}
\psellipse(9.000000,6.000000)(0.000000,0.000000)
\endpsclip
\newrgbcolor{dialinecolor}{0.000000 0.000000 0.000000}
\psset{linecolor=dialinecolor}
\psline(2.000000,6.000000)(2.000000,9.000000)
\newrgbcolor{dialinecolor}{0.000000 0.000000 0.000000}
\psset{linecolor=dialinecolor}
\psline(9.000000,6.000000)(9.000000,9.000000)
\newrgbcolor{dialinecolor}{0.000000 0.000000 0.000000}
\psset{linecolor=dialinecolor}
\psclip{\pswedge[linestyle=none,fillstyle=none](2.000000,9.000000){0.000000}{90.000000}{180.00000 0}}
\psellipse(2.000000,9.000000)(0.000000,0.000000)
\endpsclip
\newrgbcolor{dialinecolor}{0.000000 0.000000 0.000000}
\psset{linecolor=dialinecolor}
\psclip{\pswedge[linestyle=none,fillstyle=none](9.000000,9.000000){0.000000}{0.000000}{90.000000} }
\psellipse(9.000000,9.000000)(0.000000,0.000000)
\endpsclip
\setfont{Helvetica}{0.800000}
\newrgbcolor{dialinecolor}{0.000000 0.000000 0.000000}
\psset{linecolor=dialinecolor}
\rput[l](3.320000,-7.698750){\psscalebox{1 -1}{Wurzel aus 9}}
\psset{linewidth=0.100000cm}
\psset{linestyle=solid}
\psset{linestyle=solid}
\setlinejoinmode{0}
\newrgbcolor{dialinecolor}{1.000000 1.000000 1.000000}
\psset{linecolor=dialinecolor}
\pspolygon*(10.000000,11.000000)(10.000000,15.0000 00)(14.000000,15.000000)(14.000000,11.000000)
\newrgbcolor{dialinecolor}{1.000000 1.000000 1.000000}
\psset{linecolor=dialinecolor}
\psclip{\pswedge[linestyle=none,fillstyle=none](10.000000,11.000000){0.000000}{180.000000}{270.00 0000}}
\psellipse*(10.000000,11.000000)(0.000000,0.000000 )
\endpsclip
\newrgbcolor{dialinecolor}{1.000000 1.000000 1.000000}
\psset{linecolor=dialinecolor}
\psclip{\pswedge[linestyle=none,fillstyle=none](14.000000,11.000000){0.000000}{270.000000}{360.00 0000}}
\psellipse*(14.000000,11.000000)(0.000000,0.000000 )
\endpsclip
\newrgbcolor{dialinecolor}{1.000000 1.000000 1.000000}
\psset{linecolor=dialinecolor}
\pspolygon*(10.000000,11.000000)(10.000000,15.0000 00)(14.000000,15.000000)(14.000000,11.000000)
\newrgbcolor{dialinecolor}{1.000000 1.000000 1.000000}
\psset{linecolor=dialinecolor}
\psclip{\pswedge[linestyle=none,fillstyle=none](10.000000,15.000000){0.000000}{90.000000}{180.000 000}}
\psellipse*(10.000000,15.000000)(0.000000,0.000000 )
\endpsclip
\newrgbcolor{dialinecolor}{1.000000 1.000000 1.000000}
\psset{linecolor=dialinecolor}
\psclip{\pswedge[linestyle=none,fillstyle=none](14.000000,15.000000){0.000000}{0.000000}{90.00000 0}}
\psellipse*(14.000000,15.000000)(0.000000,0.000000 )
\endpsclip
\newrgbcolor{dialinecolor}{0.000000 0.000000 0.000000}
\psset{linecolor=dialinecolor}
\psline(10.000000,11.000000)(14.000000,11.000000)
\newrgbcolor{dialinecolor}{0.000000 0.000000 0.000000}
\psset{linecolor=dialinecolor}
\psline(10.000000,15.000000)(14.000000,15.000000)
\newrgbcolor{dialinecolor}{0.000000 0.000000 0.000000}
\psset{linecolor=dialinecolor}
\psclip{\pswedge[linestyle=none,fillstyle=none](10.000000,11.000000){0.000000}{180.000000}{270.00 0000}}
\psellipse(10.000000,11.000000)(0.000000,0.000000)
\endpsclip
\newrgbcolor{dialinecolor}{0.000000 0.000000 0.000000}
\psset{linecolor=dialinecolor}
\psclip{\pswedge[linestyle=none,fillstyle=none](14.000000,11.000000){0.000000}{270.000000}{360.00 0000}}
\psellipse(14.000000,11.000000)(0.000000,0.000000)
\endpsclip
\newrgbcolor{dialinecolor}{0.000000 0.000000 0.000000}
\psset{linecolor=dialinecolor}
\psline(10.000000,11.000000)(10.000000,15.000000)
\newrgbcolor{dialinecolor}{0.000000 0.000000 0.000000}
\psset{linecolor=dialinecolor}
\psline(14.000000,11.000000)(14.000000,15.000000)
\newrgbcolor{dialinecolor}{0.000000 0.000000 0.000000}
\psset{linecolor=dialinecolor}
\psclip{\pswedge[linestyle=none,fillstyle=none](10.000000,15.000000){0.000000}{90.000000}{180.000 000}}
\psellipse(10.000000,15.000000)(0.000000,0.000000)
\endpsclip
\newrgbcolor{dialinecolor}{0.000000 0.000000 0.000000}
\psset{linecolor=dialinecolor}
\psclip{\pswedge[linestyle=none,fillstyle=none](14.000000,15.000000){0.000000}{0.000000}{90.00000 0}}
\psellipse(14.000000,15.000000)(0.000000,0.000000)
\endpsclip
\psset{linewidth=0.100000cm}
\psset{linestyle=solid}
\psset{linestyle=solid}
\setlinejoinmode{0}
\setlinecaps{0}
\newrgbcolor{dialinecolor}{0.000000 0.000000 0.000000}
\psset{linecolor=dialinecolor}
\psline(5.500000,9.000000)(5.500000,13.000000)(9.5 13197,13.000000)
\psset{linestyle=solid}
\setlinejoinmode{0}
\setlinecaps{0}
\newrgbcolor{dialinecolor}{0.000000 0.000000 0.000000}
\psset{linecolor=dialinecolor}
\pspolygon*(9.888197,13.000000)(9.388197,13.250000 )(9.513197,13.000000)(9.388197,12.750000)
\newrgbcolor{dialinecolor}{0.000000 0.000000 0.000000}
\psset{linecolor=dialinecolor}
\pspolygon(9.888197,13.000000)(9.388197,13.250000) (9.513197,13.000000)(9.388197,12.750000)
}\endpspicture