ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* framed \\
@ 2012-07-05  8:59 Meer, H. van der
  0 siblings, 0 replies; 7+ messages in thread
From: Meer, H. van der @ 2012-07-05  8:59 UTC (permalink / raw)
  To: ConTeXt NTG


[-- Attachment #1.1: Type: text/plain, Size: 322 bytes --]

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<smb://'s> disappear without a trace.
Did I miss some change on the use of \\'s<smb://'s> in \framed?
Could it be a sideeffect of recent changes?

Hans van der Meer




[-- Attachment #1.2: Type: text/html, Size: 1933 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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] 7+ messages in thread

* Re: framed \\
  2012-07-05 10:55     ` Aditya Mahajan
  2012-07-05 12:33       ` Henning Hraban Ramm
@ 2012-07-05 13:24       ` Meer, H. van der
  1 sibling, 0 replies; 7+ messages in thread
From: Meer, H. van der @ 2012-07-05 13:24 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 668 bytes --]

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



[-- Attachment #1.2: Type: text/html, Size: 2340 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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] 7+ messages in thread

* Re: framed \\
  2012-07-05 10:55     ` Aditya Mahajan
@ 2012-07-05 12:33       ` Henning Hraban Ramm
  2012-07-05 13:24       ` Meer, H. van der
  1 sibling, 0 replies; 7+ messages in thread
From: Henning Hraban Ramm @ 2012-07-05 12:33 UTC (permalink / raw)
  To: mailing list for ConTeXt users

2012/7/5 Aditya Mahajan <adityam@umich.edu>:
> 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
___________________________________________________________________________________
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] 7+ messages in thread

* Re: framed \\
  2012-07-05 10:43   ` Meer, H. van der
@ 2012-07-05 10:55     ` Aditya Mahajan
  2012-07-05 12:33       ` Henning Hraban Ramm
  2012-07-05 13:24       ` Meer, H. van der
  0 siblings, 2 replies; 7+ messages in thread
From: Aditya Mahajan @ 2012-07-05 10:55 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: TEXT/PLAIN, Size: 560 bytes --]

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

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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] 7+ messages in thread

* Re: framed \\
  2012-07-05 10:29 ` Wolfgang Schuster
@ 2012-07-05 10:43   ` Meer, H. van der
  2012-07-05 10:55     ` Aditya Mahajan
  0 siblings, 1 reply; 7+ messages in thread
From: Meer, H. van der @ 2012-07-05 10:43 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1016 bytes --]

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 \\'s<x-msg://2488/> disappear without a trace.
Did I miss some change on the use of \\'s<x-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



[-- Attachment #1.2: Type: text/html, Size: 4224 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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] 7+ messages in thread

* Re: framed \\
  2012-07-05  9:01 Meer, H. van der
@ 2012-07-05 10:29 ` Wolfgang Schuster
  2012-07-05 10:43   ` Meer, H. van der
  0 siblings, 1 reply; 7+ messages in thread
From: Wolfgang Schuster @ 2012-07-05 10:29 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 619 bytes --]


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


[-- Attachment #1.2: Type: text/html, Size: 2247 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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] 7+ messages in thread

* Re: framed \\
@ 2012-07-05  9:01 Meer, H. van der
  2012-07-05 10:29 ` Wolfgang Schuster
  0 siblings, 1 reply; 7+ messages in thread
From: Meer, H. van der @ 2012-07-05  9:01 UTC (permalink / raw)
  To: ConTeXt NTG


[-- Attachment #1.1: Type: text/plain, Size: 412 bytes --]

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



[-- Attachment #1.2: Type: text/html, Size: 2660 bytes --]

[-- Attachment #2: test.pdf --]
[-- Type: application/pdf, Size: 5005 bytes --]

[-- Attachment #3: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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] 7+ messages in thread

end of thread, other threads:[~2012-07-05 13:24 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-05  8:59 framed \\ Meer, H. van der
2012-07-05  9:01 Meer, H. van der
2012-07-05 10:29 ` Wolfgang Schuster
2012-07-05 10:43   ` Meer, H. van der
2012-07-05 10:55     ` Aditya Mahajan
2012-07-05 12:33       ` Henning Hraban Ramm
2012-07-05 13:24       ` Meer, H. van der

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).