2

In my code I have two line sections. But I want it in 1 line in header . What can I do?

\documentclass{biditufte-handout}
\usepackage{ptext}

\usepackage{fancyhdr}

\pagestyle{fancy}
\fancyhf{}
\fancyhead[L]{\leftmark}
\renewcommand{\headrulewidth}{0pt}

\usepackage{xepersian}
\settextfont{Yas}
\reversemarginpar


\begin{document} 
\section{یک عنوان \\ بخش}
\ptext[1]
\end{document}  

This picture is my goal: This is my goal

Werner
  • 603,163
  • related http://tex.stackexchange.com/questions/6862/how-can-i-display-a-short-chapter-name-in-the-header-and-a-long-chapter-name-in – touhami Oct 26 '15 at 08:06
  • use the optional argument of section: \section[line line]{line \\ line} –  Oct 26 '15 at 09:26

1 Answers1

1

Supply the header as the optional argument

\section[abc def]{abc \\ def}
Werner
  • 603,163