ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* breaking a line
@ 2010-09-06 14:58 Hannes Baur
  2010-09-06 15:57 ` Arthur Reutenauer
  2010-09-06 16:24 ` Wolfgang Schuster
  0 siblings, 2 replies; 4+ messages in thread
From: Hannes Baur @ 2010-09-06 14:58 UTC (permalink / raw)
  To: ntg-context

Dear all

I should break a line to correct for an "Overfull \hbox ..." error. How can I achieve this, so that the line before the manual line break remains justified. 

Example:

Original text
"Abb. 1. Männchen von Megarhyssa rixator, einer charakteristischen Schlupf- 
wespe von im Holz lebenden Pflanzenwespen. R. Burri. Während der "

The word "Schlupf" cannot be hyphenated any further and therefore "Schlupfwespe" should be put on the next line. However, the above line above becomes raggedright with standard commands, e.g. \crlf. So, how can I force the word "Schlupfwespe" to the next line so that the the entire paragraph remains justified? The command should be the equivalent to LaTeX's \linebreak command.

Any suggestions welcome.

Regards
Hannes





___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: breaking a line
  2010-09-06 14:58 breaking a line Hannes Baur
@ 2010-09-06 15:57 ` Arthur Reutenauer
  2010-09-06 16:24 ` Wolfgang Schuster
  1 sibling, 0 replies; 4+ messages in thread
From: Arthur Reutenauer @ 2010-09-06 15:57 UTC (permalink / raw)
  To: Mailing list for ConTeXt users

> The command should be the equivalent to LaTeX's \linebreak command.

  LaTeX's \linebreak is roughly equivalent to \penalty-10000; that
should do what you need.

	Arthur
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: breaking a line
  2010-09-06 14:58 breaking a line Hannes Baur
  2010-09-06 15:57 ` Arthur Reutenauer
@ 2010-09-06 16:24 ` Wolfgang Schuster
  2010-09-06 19:47   ` Henning Hraban Ramm
  1 sibling, 1 reply; 4+ messages in thread
From: Wolfgang Schuster @ 2010-09-06 16:24 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 06.09.2010 um 16:58 schrieb Hannes Baur:

> Dear all
> 
> I should break a line to correct for an "Overfull \hbox ..." error. How can I achieve this, so that the line before the manual line break remains justified. 
> 
> Example:
> 
> Original text
> "Abb. 1. Männchen von Megarhyssa rixator, einer charakteristischen Schlupf- 
> wespe von im Holz lebenden Pflanzenwespen. R. Burri. Während der "
> 
> The word "Schlupf" cannot be hyphenated any further and therefore "Schlupfwespe" should be put on the next line. However, the above line above becomes raggedright with standard commands, e.g. \crlf. So, how can I force the word "Schlupfwespe" to the next line so that the the entire paragraph remains justified? The command should be the equivalent to LaTeX's \linebreak command.
> 
> Any suggestions welcome.


\setupcations[align=stretch] % align={stretch,verytolerant}

Wolfgang

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: breaking a line
  2010-09-06 16:24 ` Wolfgang Schuster
@ 2010-09-06 19:47   ` Henning Hraban Ramm
  0 siblings, 0 replies; 4+ messages in thread
From: Henning Hraban Ramm @ 2010-09-06 19:47 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Am 2010-09-06 um 18:24 schrieb Wolfgang Schuster:

>> Original text
>> "Abb. 1. Männchen von Megarhyssa rixator, einer charakteristischen  
>> Schlupf-
>> wespe von im Holz lebenden Pflanzenwespen. R. Burri. Während der "
>>
>> The word "Schlupf" cannot be hyphenated any further and therefore  
>> "Schlupfwespe" should be put on the next line. However, the above  
>> line above becomes raggedright with standard commands, e.g. \crlf.  
>> So, how can I force the word "Schlupfwespe" to the next line so  
>> that the the entire paragraph remains justified? The command should  
>> be the equivalent to LaTeX's \linebreak command.
>
> \setupcations[align=stretch] % align={stretch,verytolerant}

should read \setupcaptions

for a single case you could try \hbox{Schlupfwespe}



Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-09-06 19:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-06 14:58 breaking a line Hannes Baur
2010-09-06 15:57 ` Arthur Reutenauer
2010-09-06 16:24 ` Wolfgang Schuster
2010-09-06 19:47   ` Henning Hraban Ramm

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).