I am very far from an expert on LaTeX, but here's what I had in mind.
LaTeX would build the page up to the beginning of the \verb (or whatever it would need to be replaced with), then it would build the verb block, compares it's dimensions with how much space is left on the line and then place it ...
Search found 3 matches
- Sun Jun 23, 2013 4:54 pm
- Forum: Text Formatting
- Topic: Is there a way to treat \verb as unbreakable word
- Replies: 5
- Views: 9463
- Sun Jun 23, 2013 4:22 pm
- Forum: Text Formatting
- Topic: Is there a way to treat \verb as unbreakable word
- Replies: 5
- Views: 9463
Re: Is there a way to treat \verb as unbreakable word
Yeah I assumed I could do it manually, I was just wondering if there was a way to automate it.
Doing this kind of thing by hand is just asking for trouble in the next version...
Doing this kind of thing by hand is just asking for trouble in the next version...
- Sun Jun 23, 2013 3:07 pm
- Forum: Text Formatting
- Topic: Is there a way to treat \verb as unbreakable word
- Replies: 5
- Views: 9463
Is there a way to treat \verb as unbreakable word
I have some code that I want to add to my text as an inline verbatim, but, using
\verb
it continues past the margin. Is there a way to tell LaTeX to place the whole thing on the next line if it doesn't fit on this one?