0

Could you please advise me how I could change that code from this link to place the section title opposite to the logo? I am new in LaTeX and I would be very grateful for advice.

For example:

  • 1st page: logo...............section
  • 2nd page: section............logo
patii
  • 41
  • Welcome! Can you please post a small, minimal example document we can work with? Unless you really want almost identical output to that in the linked question, there are almost certainly simpler ways to do what you want. – cfr Nov 08 '15 at 00:06

1 Answers1

1

I solved it in that way:

'% section layout:
\setcounter{secnumdepth}{0}
\newcommand\sectionrule{%
  \makebox[0pt][l]{\rule[-.25ex]{\linewidth}{1pt}}}
\newcommand\sectionformat[1]{
  \sffamily\huge\color{darkred}
  \sectionrule
  \ifthenelse{\isodd{\thepage}}
  {\MakeUppercase{#1}}
  {\hfill\MakeUppercase{#1}}
  }
\setkomafont{section}{\sectionformat}'
patii
  • 41