Skip to content

Instantly share code, notes, and snippets.

@pydanny
Created April 23, 2015 06:39
Show Gist options
  • Select an option

  • Save pydanny/7440c244e56f2538e4cf to your computer and use it in GitHub Desktop.

Select an option

Save pydanny/7440c244e56f2538e4cf to your computer and use it in GitHub Desktop.

Revisions

  1. pydanny created this gist Apr 23, 2015.
    12 changes: 12 additions & 0 deletions fixed_chapter.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,12 @@
    Had a problem with one of our chapter titles having a carriage return in the TOC. Just fixed it! How? Changed the chapter header from
    ``` latex
    \chapter{Fundamentals of Django App \\ Design}
    ```

    to

    ``` latex
    \chapter*{Fundamentals of Django App \\ Design}
    \addcontentsline{toc}{chapter}{Fundamentals of Django App Design}
    ```
    Hooray LaTeX!