Sorry, missed the inclusion of the output of the minimal example. In the ConTeXT manual I see that a construct \framed{A\\B\\C} should type set as three lines below each other: A B C But instead the \\'s disappear without a trace. Did I miss some change on the use of \\'s in \framed? Could it be a sideeffect of recent changes? Hans van der Meer \starttext \framed{A\\B\\C} \stoptext
Am 05.07.2012 um 11:01 schrieb Meer, H. van der:
Sorry, missed the inclusion of the output of the minimal example.
In the ConTeXT manual I see that a construct \framed{A\\B\\C} should type set as three lines below each other:
A B C
But instead the \\'s disappear without a trace. Did I miss some change on the use of \\'s in \framed? Could it be a sideeffect of recent changes?
The \\ is converted to a space as you can see in the output, you have to set a align value to break the input into lines. \starttext \framed[align=middle]{A\\B\\C} \stoptext Wolfgang
Thanks. Indeed, the align does the trick. But what is the raison d'être of coupling the behaviour of \\ to the align parameter? I wouldn't have known out but for your reply. Is it something to add to the wiki on framed? (sorry, I am not apt at these things myself, too old ;-). Or can it be done generally? Hans van der Meer On 5 jul. 2012, at 12:29, Wolfgang Schuster wrote: Am 05.07.2012 um 11:01 schrieb Meer, H. van der: Sorry, missed the inclusion of the output of the minimal example. In the ConTeXT manual I see that a construct \framed{A\\B\\C} should type set as three lines below each other: A B C But instead the \\'sx-msg://2488/ disappear without a trace. Did I miss some change on the use of \\'sx-msg://2488/ in \framed? Could it be a sideeffect of recent changes? The \\ is converted to a space as you can see in the output, you have to set a align value to break the input into lines. \starttext \framed[align=middle]{A\\B\\C} \stoptext Wolfgang
On Thu, 5 Jul 2012, Meer, H. van der wrote:
Indeed, the align does the trick. But what is the raison d'être of coupling the behaviour of \\ to the align parameter? I wouldn't have known out but for your reply. Is it something to add to the wiki on framed? (sorry, I am not apt at these things myself, too old ;-). Or can it be done generally?
Without align={normal|middle|left|right}, \framed is equal to \hbox. You cannot have line breaks in a \hbox. With align=something, \framed is a \vbox, so you can have line breaks. Aditya
2012/7/5 Aditya Mahajan
Without align={normal|middle|left|right}, \framed is equal to \hbox. You cannot have line breaks in a \hbox. With align=something, \framed is a \vbox, so you can have line breaks.
Thank you, it’s wikified. (Command reference on \setupframed) Greetlings, Hraban
Thank you very much. That completely clarifies it. Hans van der Meer On 5 jul. 2012, at 12:55, Aditya Mahajan wrote: On Thu, 5 Jul 2012, Meer, H. van der wrote: Indeed, the align does the trick. But what is the raison d'être of coupling the behaviour of \\ to the align parameter? I wouldn't have known out but for your reply. Is it something to add to the wiki on framed? (sorry, I am not apt at these things myself, too old ;-). Or can it be done generally? Without align={normal|middle|left|right}, \framed is equal to \hbox. You cannot have line breaks in a \hbox. With align=something, \framed is a \vbox, so you can have line breaks. Aditya
participants (4)
-
Aditya Mahajan
-
Henning Hraban Ramm
-
Meer, H. van der
-
Wolfgang Schuster