Mat
23-10-2008, 13:03
Hallo,
ich brauche unbedingt eine möglichkeit folgendes beispiel mit pdflatex kompilieren zu lassen weil ich eben pdf bilder einbinden möchte...so kann ich nur mit latex kompilieren und nur eps-grafiken einbinden - meine bilder liegen aber als pdf vor so dass ich nicht in das verlustbehaftete eps konvertieren möchte was dann unschön aussieht.
\usepackage{multicol}
\usepackage[english,ngerman]{babel}
\usepackage{latexsym}
\usepackage{amsmath}
\usepackage{mathpazo}
\usepackage[latin1]{inputenc}
\usepackage{pstricks}
\usepackage{pst-grad}
\usepackage{pst-eps}
\usepackage{epsfig}
\usepackage{epsf}
\usepackage{color}
\usepackage{psfig}
\usepackage{graphicx}
\newcommand{\mysec}[1]{\vspace{1.cm}{\color{lightblue} \Large \bfseries #1}}
\setlength{\columnsep}{3cm} \setlength{\columnseprule}{2mm}
\setlength{\parindent}{0.0cm}
\usepackage{array,colortbl}
\usepackage{url}
\bibliographystyle{siam}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%
%%% affe %%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%
\newenvironment{affe}{
\begin{center}
\begin{minipage}[c]{0.98\textwidth}
}{
\end{minipage}
\end{center}
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%
%%% pcolumn %%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%
\newenvironment{pcolumn}[1]{
\begin{minipage}{#1\textwidth}
\begin{center}
}{
\end{center}
\end{minipage}
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%
%%% pbox %%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%
\definecolor{lcolor}{rgb}{0., 0., 0.80}
\definecolor{gcolor1}{rgb}{1, 1, 1}
\definecolor{gcolor2}{rgb}{.80, .80, 1.}
\newcommand{\pbox}[4]{
\psshadowbox[#3]{
\begin{minipage}[t][#2][t]{#1}
#4
\end{minipage}
}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%
%%% myfig %%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%
% \myfig - replacement for \figure
% necessary, since in multicol-environment
% \figure won't work
\newcommand{\myfig}[3][0]{
\begin{center}
\vspace{1.5cm}
\includegraphics[width=#3\hsize,angle=#1]{#2}
\nobreak\medskip
\end{center}}
\newcommand{\mysmallfig}[3][0]{
\includegraphics[width=#3\hsize,angle=#1]{#2}
}
\setcounter{figure}{1}
\newcommand{\mycaption}[1]{
\vspace{0.5cm}
\begin{quote}
{{\sc Figure} \arabic{figure}: #1}
\end{quote}
\vspace{1cm}
\stepcounter{figure}
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%
%%% Background %%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%
\newcommand{\originalbackground}[3]{
\psframe[fillstyle=gradient,gradend=#2,
gradbegin=#1,gradmidpoint=#3](0.,0.)(1.\textwidth,-1.\textheight)
}
\newcommand{\background}[3]{
\psframe[fillstyle=gradient,gradend=#2,
gradbegin=#1](0.,0.)(1.\textwidth,-1.\textheight)
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%
%%% Heading %%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%
\newcommand{\myheading}[1]{
\vspace{0.2cm}\begin{center}\pbox{0.8\columnwidth} {}{linewidth=1mm,
framearc=0.1,linecolor=lightblue,fillstyle=gradien t,gradangle=0,
gradbegin=white,gradend=whiteblue,gradmidpoint=1.0 ,framesep=1em}{\begin{center}
\LARGE #1 \end{center}}\end{center}\vspace{1cm}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %
%%% Colors %%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %
\definecolor{lightblue}{rgb}{0., 0., 0.80}
\definecolor{white}{rgb}{1., 1., 1.}
\definecolor{whiteblue}{rgb}{.80, .80, 1.}
\definecolor{whiterblue}{rgb}{.90, .90, 1.}
\definecolor{mygreen}{rgb}{0., 0.80, 0.}
\definecolor{myred}{rgb}{0.80, 0., 0.}
\definecolor{bdfcolor}{rgb}{0.098, 0.458, 0.819}
\colorlet{darkgreen}{green!50!black}
\colorlet{darkred}{red!60!black}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%
%%% Begin of Document
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%
\begin{document}
\sffamily
\vspace*{2cm}
\begin{affe}
%%%%%%%%%%%%%%%%%%%%%
%%% Header
%%%%%%%%%%%%%%%%%%%%%
\large
\begin{pcolumn}{0.48}
\pbox{0.9\textwidth}{}{linewidth=2mm,framearc=0.1, linecolor=lightblue,
fillstyle=gradient,gradangle=0,gradbegin=white,gra dend=white,
gradmidpoint=1.0,framesep=1em}{
\myheading{ÜBerschrift}
Dies ist ein laaaanger text
}
\end{pcolumn}
\end{affe}
\end{document}
ich brauche unbedingt eine möglichkeit folgendes beispiel mit pdflatex kompilieren zu lassen weil ich eben pdf bilder einbinden möchte...so kann ich nur mit latex kompilieren und nur eps-grafiken einbinden - meine bilder liegen aber als pdf vor so dass ich nicht in das verlustbehaftete eps konvertieren möchte was dann unschön aussieht.
\usepackage{multicol}
\usepackage[english,ngerman]{babel}
\usepackage{latexsym}
\usepackage{amsmath}
\usepackage{mathpazo}
\usepackage[latin1]{inputenc}
\usepackage{pstricks}
\usepackage{pst-grad}
\usepackage{pst-eps}
\usepackage{epsfig}
\usepackage{epsf}
\usepackage{color}
\usepackage{psfig}
\usepackage{graphicx}
\newcommand{\mysec}[1]{\vspace{1.cm}{\color{lightblue} \Large \bfseries #1}}
\setlength{\columnsep}{3cm} \setlength{\columnseprule}{2mm}
\setlength{\parindent}{0.0cm}
\usepackage{array,colortbl}
\usepackage{url}
\bibliographystyle{siam}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%
%%% affe %%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%
\newenvironment{affe}{
\begin{center}
\begin{minipage}[c]{0.98\textwidth}
}{
\end{minipage}
\end{center}
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%
%%% pcolumn %%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%
\newenvironment{pcolumn}[1]{
\begin{minipage}{#1\textwidth}
\begin{center}
}{
\end{center}
\end{minipage}
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%
%%% pbox %%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%
\definecolor{lcolor}{rgb}{0., 0., 0.80}
\definecolor{gcolor1}{rgb}{1, 1, 1}
\definecolor{gcolor2}{rgb}{.80, .80, 1.}
\newcommand{\pbox}[4]{
\psshadowbox[#3]{
\begin{minipage}[t][#2][t]{#1}
#4
\end{minipage}
}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%
%%% myfig %%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%
% \myfig - replacement for \figure
% necessary, since in multicol-environment
% \figure won't work
\newcommand{\myfig}[3][0]{
\begin{center}
\vspace{1.5cm}
\includegraphics[width=#3\hsize,angle=#1]{#2}
\nobreak\medskip
\end{center}}
\newcommand{\mysmallfig}[3][0]{
\includegraphics[width=#3\hsize,angle=#1]{#2}
}
\setcounter{figure}{1}
\newcommand{\mycaption}[1]{
\vspace{0.5cm}
\begin{quote}
{{\sc Figure} \arabic{figure}: #1}
\end{quote}
\vspace{1cm}
\stepcounter{figure}
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%
%%% Background %%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%
\newcommand{\originalbackground}[3]{
\psframe[fillstyle=gradient,gradend=#2,
gradbegin=#1,gradmidpoint=#3](0.,0.)(1.\textwidth,-1.\textheight)
}
\newcommand{\background}[3]{
\psframe[fillstyle=gradient,gradend=#2,
gradbegin=#1](0.,0.)(1.\textwidth,-1.\textheight)
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%
%%% Heading %%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%
\newcommand{\myheading}[1]{
\vspace{0.2cm}\begin{center}\pbox{0.8\columnwidth} {}{linewidth=1mm,
framearc=0.1,linecolor=lightblue,fillstyle=gradien t,gradangle=0,
gradbegin=white,gradend=whiteblue,gradmidpoint=1.0 ,framesep=1em}{\begin{center}
\LARGE #1 \end{center}}\end{center}\vspace{1cm}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %
%%% Colors %%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %
\definecolor{lightblue}{rgb}{0., 0., 0.80}
\definecolor{white}{rgb}{1., 1., 1.}
\definecolor{whiteblue}{rgb}{.80, .80, 1.}
\definecolor{whiterblue}{rgb}{.90, .90, 1.}
\definecolor{mygreen}{rgb}{0., 0.80, 0.}
\definecolor{myred}{rgb}{0.80, 0., 0.}
\definecolor{bdfcolor}{rgb}{0.098, 0.458, 0.819}
\colorlet{darkgreen}{green!50!black}
\colorlet{darkred}{red!60!black}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%
%%% Begin of Document
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%
\begin{document}
\sffamily
\vspace*{2cm}
\begin{affe}
%%%%%%%%%%%%%%%%%%%%%
%%% Header
%%%%%%%%%%%%%%%%%%%%%
\large
\begin{pcolumn}{0.48}
\pbox{0.9\textwidth}{}{linewidth=2mm,framearc=0.1, linecolor=lightblue,
fillstyle=gradient,gradangle=0,gradbegin=white,gra dend=white,
gradmidpoint=1.0,framesep=1em}{
\myheading{ÜBerschrift}
Dies ist ein laaaanger text
}
\end{pcolumn}
\end{affe}
\end{document}