Advertisement
Guest User

Untitled

a guest
Oct 21st, 2019
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. Use \texorpdfstring; the first argument can contain (La)TeX code and the second one (text only), will be used for the bookmarks:
  2.  
  3. \section[this is a very long title I want to break manually]{\texorpdfstring{this is a very long title I\\ want to break manually}{this is a very long title I want to break manually}}
  4.  
  5. If a ToC is to be produced and the break line is not desired there, a better option is to to use the optional argument of \section (this will be used for the headers, the ToC and the bookmarks):
  6.  
  7. \section[this is a very long title I want to break manually]{this is a very long title I\\ want to break manually}
  8.  
  9. share
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement