Ei kuvausta
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

bms.sty 3.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. %%%%%%%%%%%%%%% L A Y O U T %%%%%%%%%%%%%%%%%%%%%%%%%%%%
  2. \usepackage{inputs/bmsColors}
  3. %% Font
  4. \newcommand{\myTitelFont}{qhv}
  5. \newcommand*{\cdciFont}{\fontfamily{\myTitelFont}\selectfont\textbf}
  6. %% Font neues Layout 2023
  7. \renewcommand{\rmdefault}{qhv} % Helvetica
  8. \renewcommand{\sfdefault}{qhv} % "
  9. \headheight30pt%
  10. %% Schlagwortverzeichnis
  11. \renewcommand{\indexname}{Stichwortverzeichnis}%%
  12. \renewenvironment{theindex}%
  13. {\if@twocolumn
  14. \@restonecolfalse
  15. \else
  16. \@restonecoltrue
  17. \fi
  18. \columnseprule \z@
  19. \columnsep 35\p@
  20. \twocolumn[\section{\indexname}]%
  21. \@mkboth{\MakeUppercase\indexname}%
  22. {\MakeUppercase\indexname}%
  23. \thispagestyle{fancy}\parindent\z@
  24. \parskip\z@ \@plus .3\p@\relax
  25. \let\item\@idxitem}
  26. {\if@restonecol\onecolumn\else\clearpage\fi}%%
  27. %% Subtitle
  28. \def\iffull#1{\if#1\relax\else}
  29. \gdef\@subtitle{}
  30. \def\subtitle#1{\gdef\@subtitle{#1}}
  31. \def\title#1{\gdef\@title{\sectfont\bfseries\LARGE#1\iffull\@subtitle\\%
  32. \mdseries\Large\@subtitle\fi}}
  33. %%%%% H E A D E R %%%
  34. %% Erzeuge ein Kommando «parttitle»
  35. %% Siehe hier:
  36. %% https://tex.stackexchange.com/questions/13387/how-to-get-part-name-in-latex
  37. \newcommand*\parttitle{}
  38. \let\origpart\part
  39. \renewcommand*{\part}[2][]{%
  40. \ifx\\#1\\% optional argument not present?
  41. \origpart{#2}%
  42. \renewcommand*\parttitle{#2}%
  43. \else
  44. \origpart[#1]{#2}%
  45. \renewcommand*\parttitle{#1}%
  46. \fi
  47. }
  48. % styles siehe http://web.reed.edu/cis/help/latex/bibtexstyles.html
  49. % include texlife.bibtex.extra:
  50. \bibliographystyle{alphadin.bst}
  51. %\bibliographystyle{plain}
  52. %% cleardoublepage soll auf linker (also gerader) Seite beginnen.
  53. \makeatletter
  54. \renewcommand*\cleardoublepage{\clearpage\if@twoside
  55. \ifodd\c@page \hbox{}\newpage\if@twocolumn\hbox{}%
  56. \newpage\fi\fi\fi}
  57. \makeatother
  58. %% Titel immer links:
  59. \titleformat{\section}[block]%%
  60. {\huge}%%{\cleardoublepage\huge}
  61. {\thesection}%%
  62. {1em{}}%%
  63. { | }%%
  64. [%%{\vspace{8cm}\raisebox{2mm}{\includegraphics[width=14cm]{logos/bbw.pdf}}\thispagestyle{empty}\newpage\mbox{}}
  65. ]%%
  66. %%\titleformat{\part}{\normalfont\Huge\bfseries\color{titelFarbe}}{\thepart}{1em}{}%%
  67. %\titleformat{\section}{\normalfont\huge\bfseries\color{titelFarbe}}{\thesection}{1em}{}%%
  68. %\titleformat{\subsection}{\normalfont\Large\bfseries\color{titelFarbe}}{\thesubsection}{1em}{}%%
  69. %\titleformat{\subsubsection}{\normalfont\large\bfseries\color{titelFarbe}}{\thesubsubsection}{1em}{}%%
  70. \titleformat{\part}{\fontfamily{\myTitelFont}\huge\bfseries\color{titelFarbe}}{\thepart}{1em}{}%%
  71. \titleformat{\chapter}{\fontfamily{\myTitelFont}\huge\bfseries\color{titelFarbe}}{\thechapter}{1em}{}%%
  72. \titleformat{\section}{\fontfamily{\myTitelFont}\huge\bfseries\color{titelFarbe}}{\thesection}{1em}{}%%
  73. \titleformat{\subsection}{\fontfamily{\myTitelFont}\Large\bfseries\color{titelFarbe}}{\thesubsection}{1em}{}%%
  74. \titleformat{\subsubsection}{\fontfamily{\myTitelFont}\large\bfseries\color{titelFarbe}}{\thesubsubsection}{1em}{}%%
  75. %%\input{impressum.tex}
  76. %% Theoreme: Bemerkungen, Beispiele und Definitionen
  77. %\theoremstyle{remark}
  78. %\newtheorem{bsp}{Beispiel}[section]
  79. %\newtheorem{bem}{Bemerkung}[section]
  80. %%\theoremstyle{definitionstyle}
  81. %%\newtheorem{definition}{Definition}[section]
  82. %% EV Hier schauen, wegen Boxen und Faben um Bsp, Bem, Definition
  83. %% https://tex.stackexchange.com/questions/437317/leftbar-theorem-environment-with-changeable-colors-for-the-left-bar/437335
  84. %%%%%%%%%%%%%%%%%%%%%%
  85. %% Start fetching index entries for theindex
  86. \makeindex
  87. %%\setlength{\headheight}{36pt}
  88. \setlength{\topmargin}{-19mm}