diff options
author | Ulli Kehrle <ulli.kehrle@rwth-aachen.de> | 2018-01-12 18:02:18 +0100 |
---|---|---|
committer | Ulli Kehrle <ulli.kehrle@rwth-aachen.de> | 2018-01-12 18:02:18 +0100 |
commit | d1b0006a9de7a938038de0613718ee7e27409683 (patch) | |
tree | 48ac5347e1e8ce8916365f4518304835753ea86f /skript.cls | |
parent | 59c2089055ff2af58fdc04a73f0f8bca4fd33e48 (diff) | |
download | funkana-d1b0006a9de7a938038de0613718ee7e27409683.tar.gz funkana-d1b0006a9de7a938038de0613718ee7e27409683.tar.xz |
vorlesung freitag, 12.01.18 hinzugefĆ¼gt
Diffstat (limited to 'skript.cls')
-rw-r--r-- | skript.cls | 59 |
1 files changed, 28 insertions, 31 deletions
@@ -80,7 +80,7 @@ % fonts \RequirePackage{setspace} -\setstretch{1.08} +\setstretch{1.1} \setlength\parskip{0pt} \setlength\parindent{2em} @@ -150,10 +150,10 @@ \def\theorem@checkbold{} \newtheoremstyle{mychange}% {\item[\hskip\labelsep \theorem@headerfont ##2\hskip 0.3em\ ##1\theorem@separator]}% - {\item[\hskip\labelsep \theorem@headerfont ##2\hskip 0.3em\ ##1\ {\mdseries(##3)}\theorem@separator]} + {\item[\hskip\labelsep \theorem@headerfont ##2\hskip 0.3em\ ##1\ {\normalsize\mdseries(##3)}\theorem@separator]} \newtheoremstyle{nonumbermychange}% {\item[\hskip\labelsep \theorem@headerfont ##1\theorem@separator]}% - {\item[\hskip\labelsep \theorem@headerfont ##1\ {\mdseries(##3)}\theorem@separator]} + {\item[\hskip\labelsep \theorem@headerfont ##1\ {\normalsize\mdseries(##3)}\theorem@separator]} \makeatother \DeclareDocumentCommand\newmdtheoremenv{s O{} m o m o }{% \IfBooleanTF{#1}{% @@ -170,26 +170,20 @@ \AfterEndEnvironment{#3}{% \end{mdframed}}% } -\newcounter{defsatzusw} -\def\newthm#1#2{ - \newmdtheoremenv[ntheorem, - usetwoside=false, - leftmargin=1em, - linewidth=0.5em, - % linecolor=myurlcolor!20, - linecolor=green!30, - leftline=true, rightline=false, bottomline=false, topline=false, - innerleftmargin=0.5em, - ]{#1}[defsatzusw]{#2} - \newmdtheoremenv*[ntheorem, +\mdfdefinestyle{thmstyle}{ usetwoside=false, - leftmargin=1em, + % leftmargin=1em, linewidth=0.5em, - % linecolor=myurlcolor!20, + backgroundcolor=black!05, linecolor=green!30, leftline=true, rightline=false, bottomline=false, topline=false, innerleftmargin=0.5em, - ]{#1-nn}{#2} + splittopskip=3ex, + afterlastframe={\vspace{\topsep}}} +\newcounter{defsatzusw} +\def\newthm#1#2{ + \newmdtheoremenv[ntheorem,style=thmstyle]{#1}[defsatzusw]{#2} + \newmdtheoremenv*[ntheorem,style=thmstyle]{#1-nn}{#2} } \def\newdef#1#2{\newtheorem{#1}[defsatzusw]{#2}\newtheorem*{#1-nn}{#2}} \theoremseparator{.} @@ -206,13 +200,15 @@ \newthm{proposition}{Proposition} % aufrechte schrift \theorembodyfont{\normalfont} +\newmdtheoremenv[ntheorem,style=thmstyle,linecolor=blue!30]{definition}[defsatzusw]{Definition} +\newmdtheoremenv*[ntheorem,style=thmstyle,linecolor=blue!30]{definition-nn}{Definition} \newthm{bezeichnung}{Bezeichnung} \newthm{bezeichnungen}{Bezeichnungen} \newthm{voraussetzung}{Voraussetzung} \newthm{voraussetzungen}{Voraussetzungen} \newdef{bemerkung}{Bemerkung} \newdef{bemerkungen}{Bemerkungen} -\newdef{definition}{Definition} +%\newdef{definition}{Definition} \newdef{notation}{Notation} \newdef{warnung}{Warnung} \newdef{achtung}{Achtung} @@ -230,8 +226,9 @@ \theorembodyfont{\normalfont} \theoremseparator{.} % \theoremsymbol{\scalebox{0.8}{\ensuremath{\blacksquare}}} -\theoremsymbol{\scalebox{0.8}{\ensuremath{\blacksquare}}} +\theoremsymbol{\scalebox{0.8}{\ensuremath{\blacksquare}\hfill}} \newtheorem{proof}{Beweis} +\newtheorem{beweisidee}{Beweisidee} \newtheorem{beweis}{Beweis} \theoremsymbol{\scalebox{0.8}{\ensuremath{\nikeswoosh}}} \newtheorem{noproof}{Beweis} @@ -239,17 +236,17 @@ \renewcommand{\thesection}{\arabic{section}} \renewcommand\sectionformat{\S \thesection\autodot \hspace{1ex}} \renewcommand\subsectionformat{\S \thesubsection\autodot \hspace{1ex}} -\RequirePackage{textcase} -\ifxetexorluatex - \DeclareRobustCommand{\spacedlowsmallcaps}[1]{ - \fontspec{Linux Libertine O}[SmallCapsFeatures={Ligatures={NoCommon, NoDiscretionary},Letters=SmallCaps,LetterSpace=10,WordSpace=1.6}] - \scshape\MakeLowercase{#1}}% - % \scshape{#1}}}% -\else - \DeclareRobustCommand{\spacedlowsmallcaps}[1]{\textls[80]{\scshape\MakeTextLowercase{#1}}}% -\fi -\setkomafont{section}{\Large\normalfont\spacedlowsmallcaps} -\setkomafont{subsection}{\large\normalfont\spacedlowsmallcaps} +% \RequirePackage{textcase} +% \ifxetexorluatex +% \DeclareRobustCommand{\spacedlowsmallcaps}[1]{ +% \fontspec{Linux Libertine O}[SmallCapsFeatures={Ligatures={NoCommon, NoDiscretionary},Letters=SmallCaps,LetterSpace=10,WordSpace=1.6}] +% \scshape\MakeLowercase{#1}}% +% % \scshape{#1}}}% +% \else +% \DeclareRobustCommand{\spacedlowsmallcaps}[1]{\textls[80]{\scshape\MakeTextLowercase{#1}}}% +% \fi +% \setkomafont{section}{\Large\normalfont\spacedlowsmallcaps} +% \setkomafont{subsection}{\large\normalfont\spacedlowsmallcaps} \let\emph\relax \DeclareTextFontCommand{\emph}{\bfseries} |