title: LaTeX: update '\leftmark' automatically on '\chapter*{abc123}'
body: <p>In my current document there are some chapters that have to be added with the <code>\chapter*</code>-command because I don't want them to be <em>real chapters</em> (no entry in toc, no chapter-number, ...). This works fine.</p>
  
  <p>But in my header I want the <code>chapter-name</code> to be displayed. I'm using <code>fancyheaders</code> and <code>\leftmark</code>:</p>
  
  <pre><code>\fancyhead[RO,LE]{\leftmark}
  </code></pre>
  
  <p>The problem is, that for chapters added with the <code>\chapter*</code>-command, <code>\leftmark</code> is not updated and so the header still displays the chapter-name of the previous chapter.</p>
  
  <p>Therefore I either need to force <code>\chapter*</code> to automatically update <code>\leftmark</code>, or I switch to the <code>\chapter</code>-command but prevent the other stuff that comes along (entry in toc, ...). but I don't know how! Any ideas?</p>