darxun
07-01-2007, 12:49
das habe ich im titlesec-pdf gefunden:
\titleformat{\chapter}[block]
{\begin{picture}(330,200)}
{\put(450,80){%
\makebox(0,0)[rb]{%
\chapterfont\textcolor[named]{SkyBlue}{\thechapter}}}
\put(0,230){%
\makebox(0,0)[lb]{%
\Huge\sffamily\underline{Chapter \thechapter}}}}
{0pt}
{\chapterformat}
[\end{picture}]
das habe ich ausprobiert, da ich nur die farbe ändern wollte
\titleformat{\paragraph}%
{\sffamily\bfseries\textcolor{red}}%
{\thesection}%
{1ex}%
{}%
Fehlermeldung: Package titlesec error: entered in horizontal mode.
was tun?
hier noch die präambel
\documentclass[a4paper,12pt,oneside]{scrartcl}
\usepackage[ngerman]{babel}
\usepackage[latin1]{inputenc}
\usepackage[left=3.5cm,top=2.5cm,bottom=3cm,right=2.5cm]{geometry}
\usepackage[pdftex]{graphicx}
\usepackage[automark]{scrpage2}
\usepackage{floatflt}
\usepackage{caption}
\usepackage{amsmath}
\usepackage{bbm}
\usepackage{wrapfig}
\usepackage{setspace}
\usepackage{listings}
\usepackage{moreverb}
\usepackage{xcolor}
\renewcommand{\listinglabel}[1]{\llap{\scriptsize\rmfamily\the#1}\hskip\listingof fset\relax}
\usepackage{wasysym}
\usepackage{titlesec}
\titleformat{\paragraph}%
{\sffamily\bfseries\textcolor{red}}%
{\thesection}%
{1ex}%
{}%
\usepackage{caption}
\renewcommand{\captionfont}{\small\itshape}
\DeclareGraphicsExtensions{.pdf} \DeclareGraphicsExtensions{.jpg}
\usepackage{paralist}
\titleformat{\chapter}[block]
{\begin{picture}(330,200)}
{\put(450,80){%
\makebox(0,0)[rb]{%
\chapterfont\textcolor[named]{SkyBlue}{\thechapter}}}
\put(0,230){%
\makebox(0,0)[lb]{%
\Huge\sffamily\underline{Chapter \thechapter}}}}
{0pt}
{\chapterformat}
[\end{picture}]
das habe ich ausprobiert, da ich nur die farbe ändern wollte
\titleformat{\paragraph}%
{\sffamily\bfseries\textcolor{red}}%
{\thesection}%
{1ex}%
{}%
Fehlermeldung: Package titlesec error: entered in horizontal mode.
was tun?
hier noch die präambel
\documentclass[a4paper,12pt,oneside]{scrartcl}
\usepackage[ngerman]{babel}
\usepackage[latin1]{inputenc}
\usepackage[left=3.5cm,top=2.5cm,bottom=3cm,right=2.5cm]{geometry}
\usepackage[pdftex]{graphicx}
\usepackage[automark]{scrpage2}
\usepackage{floatflt}
\usepackage{caption}
\usepackage{amsmath}
\usepackage{bbm}
\usepackage{wrapfig}
\usepackage{setspace}
\usepackage{listings}
\usepackage{moreverb}
\usepackage{xcolor}
\renewcommand{\listinglabel}[1]{\llap{\scriptsize\rmfamily\the#1}\hskip\listingof fset\relax}
\usepackage{wasysym}
\usepackage{titlesec}
\titleformat{\paragraph}%
{\sffamily\bfseries\textcolor{red}}%
{\thesection}%
{1ex}%
{}%
\usepackage{caption}
\renewcommand{\captionfont}{\small\itshape}
\DeclareGraphicsExtensions{.pdf} \DeclareGraphicsExtensions{.jpg}
\usepackage{paralist}