I'm writing a document which includes several example commands, which I've wrapped in #+BEGIN_SRC/#+END_SRC. In LaTeX/PDF export, these come out in Courier, as I hoped, but they run off the right edge of the page. For example: #+BEGIN_SRC curl curl -v -X GET -H "Authorization:...\", \"access_token\": \"..." "http://blah.blah.blah.com/v1/REST_API_STUFF/..." #+END_SRC Years ago, someone on a TeX mailing list offered some code to force line breaking in \tt{...} code, with a \triangleright at the right margin to show the line overflowed. I think this was all it took: % Define obj {\catcode`\_=13\gdef_{{\tt\char`\_}% \discretionary{\rlap{$\triangleright$}}{\llap{$\triangleright$}}{}}} \def\obj{\bgroup\catcode`\_=13\hyphenpenalty=10000\relax\sf\sc\endobj} \def\endobj#1{#1\egroup} However, I'm not enough of a TeX wiz to know how to make this work with org-mode, or even if I can. I tried replacing the above with: #+BEGIN_LaTeX curl -v -X GET -H "Authorization:...\", \"access_token\": \"..." "http://blah.blah.blah.com/v1/REST_API_STUFF/..." #+END_LaTeX But (apart from the need to quote the backslashes, etc.), this didn't seem to do what I wanted. Any suggestions on how to force line breaks? Thank you! -pd