Search found 3 matches

by marco.c
Mon Aug 24, 2009 6:20 pm
Forum: Text Formatting
Topic: String splitting at the end of the line
Replies: 4
Views: 3614

String splitting at the end of the line

phi wrote:have a look at the listings package. It provides an option to do line breaks.
Neither this solved my problem. If I set lstset{breaklines=true}, the lines get broken but only at some special charachers (=, -, whitespace, ...) still making the lines longer than the page.
by marco.c
Mon Aug 24, 2009 10:50 am
Forum: Text Formatting
Topic: String splitting at the end of the line
Replies: 4
Views: 3614

String splitting at the end of the line


the first idea that comes to my mind is to use the \url command

Thanks for your reply. Unfortunately, the \url command did not solve my problem, since urls are not line-broken by default. You can set the list of characters where to brake but, in my case, I have to brake at any character, so I ...
by marco.c
Sun Aug 23, 2009 6:43 pm
Forum: Text Formatting
Topic: String splitting at the end of the line
Replies: 4
Views: 3614

String splitting at the end of the line

Hello,
I've got a problem writing a thesis in Latex
I have to show a text message sent through the Internet. The message has no spaces. Say it is "THIS_IS_A_VERY_LONG_MESSAGE_WITHOUT_SPACES_THAT_CAUSED_ME_A_LOT_OF_PROBLEMS"
The message is shown in Typewrites (with the \texttt{text} command) and is ...