ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Re: \inmargin
       [not found] <mailman.2607.1330851188.4232.ntg-context@ntg.nl>
@ 2012-03-04  9:39 ` S Barmeier
  2012-03-04  9:50   ` \inmargin Wolfgang Schuster
  0 siblings, 1 reply; 8+ messages in thread
From: S Barmeier @ 2012-03-04  9:39 UTC (permalink / raw)
  To: ntg-context

I had a look at the garden reference of \setupinmargin. Trying to set
width=70mm, I get no change.

The default seems to be bold and aligned right. Changing the style
works, but trying to align inner/left also has no effect.

Any help?

Thank you,
Severin
___________________________________________________________________________________
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] 8+ messages in thread

* Re: \inmargin
  2012-03-04  9:39 ` \inmargin S Barmeier
@ 2012-03-04  9:50   ` Wolfgang Schuster
  0 siblings, 0 replies; 8+ messages in thread
From: Wolfgang Schuster @ 2012-03-04  9:50 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 04.03.2012 um 10:39 schrieb S Barmeier:

> I had a look at the garden reference of \setupinmargin. Trying to set
> width=70mm, I get no change.

\setuplayout
  [backspace=8cm,
   leftmargin=7cm,
   cutspace=2cm,
   width=middle]

\starttext

\inmargin{\input ward }
\input knuth

\stoptext

> The default seems to be bold and aligned right. Changing the style
> works, but trying to align inner/left also has no effect.

Style and color:

\setupmargindata[…][style=…,color=…]

Alignment:

\setupmarginframed[align=…]

Can be also done direct:

\inmargin[style=…,color=…][align=…]{…}

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

* Re: \inmargin
  2014-12-30 21:50 ` \inmargin Wolfgang Schuster
@ 2014-12-30 22:24   ` Idris Samawi Hamid ادريس سماوي حامد
  0 siblings, 0 replies; 8+ messages in thread
From: Idris Samawi Hamid ادريس سماوي حامد @ 2014-12-30 22:24 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Tue, 30 Dec 2014 14:50:25 -0700, Wolfgang Schuster  
<schuster.wolfgang@gmail.com> wrote:

> Use \inmargin[scope=local]{…} when you use the command within a box  
> structure.

Thanks, Wolfgang!

-- 
Idris Samawi Hamid
Professor of Philosophy
Colorado State University
Fort Collins, CO 80523
___________________________________________________________________________________
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] 8+ messages in thread

* Re: \inmargin
  2014-12-30 21:15 \inmargin Idris Samawi Hamid ادريس سماوي حامد
@ 2014-12-30 21:50 ` Wolfgang Schuster
  2014-12-30 22:24   ` \inmargin Idris Samawi Hamid ادريس سماوي حامد
  0 siblings, 1 reply; 8+ messages in thread
From: Wolfgang Schuster @ 2014-12-30 21:50 UTC (permalink / raw)
  To: mailing list for ConTeXt users


> Am 30.12.2014 um 22:15 schrieb Idris Samawi Hamid ادريس سماوي حامد <ishamid@colostate.edu>:
> 
> Dear Syndicate,
> 
> ConTeXt  ver: 2014.12.30 09:48 MKIV beta
> This is LuaTeX, Version beta-0.79.2 (TeX Live 2014/W32TeX)
> 
> The following used to work:
> 
> \starttext
> \define[5]\EDUITEM{\framed[frame=off,align=width,width=broad]
> 					{{\bf #1 }\inmargin{\it #2}\ (#3).\crlf
>                    {\bf #4}, #5.\blank[small]}}
> 		
> \EDUITEM{Certificate of Proficiency}{2005}{\ConTeXt\ Studies}{\ConTeXt\ Seminary}{\TeX{ville}, \TeX{land}}		
> \stoptext
> 
> Now I get nothing in the margin. Please advise!

Use \inmargin[scope=local]{…} when you use the command within a box structure.

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

* \inmargin
@ 2014-12-30 21:15 Idris Samawi Hamid ادريس سماوي حامد
  2014-12-30 21:50 ` \inmargin Wolfgang Schuster
  0 siblings, 1 reply; 8+ messages in thread
From: Idris Samawi Hamid ادريس سماوي حامد @ 2014-12-30 21:15 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Dear Syndicate,

ConTeXt  ver: 2014.12.30 09:48 MKIV beta
This is LuaTeX, Version beta-0.79.2 (TeX Live 2014/W32TeX)

The following used to work:

\starttext
\define[5]\EDUITEM{\framed[frame=off,align=width,width=broad]
					{{\bf #1 }\inmargin{\it #2}\ (#3).\crlf
                     {\bf #4}, #5.\blank[small]}}
		
\EDUITEM{Certificate of Proficiency}{2005}{\ConTeXt\ Studies}{\ConTeXt\  
Seminary}{\TeX{ville}, \TeX{land}}		
\stoptext

Now I get nothing in the margin. Please advise!

Best wishes
Idris
-- 
Idris Samawi Hamid
Professor of Philosophy
Colorado State University
Fort Collins, CO 80523
___________________________________________________________________________________
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] 8+ messages in thread

* Re: \inmargin
       [not found] <mailman.2600.1330790847.4232.ntg-context@ntg.nl>
@ 2012-03-03 16:14 ` S Barmeier
  0 siblings, 0 replies; 8+ messages in thread
From: S Barmeier @ 2012-03-03 16:14 UTC (permalink / raw)
  To: ntg-context

Great, thank you.

Just in case I missed it on the mailing list... Is there a way of
floating a margin text to the top/bottom of the page (aligning with the
top/bottom of the text area)?

>> Could someone savant provide me with a rough overview of how to place
>> text in a margin these days, or else point me to a reference. (I
>> searched the garden without success.)
> 
> 
> You place them in the same way as you did it in the past:
> 
> \starttext
> 
> \input ward
> 
> \inmargin{INMARGIN}
> 
> \input ward
> 
> \inleft {INLEFT}
> \inright{INRIGHT}
> 
> \input ward
> 
> \ininner{INNER}
> \inouter{OUTER}
> 
> \input ward
> 
> \stoptext
> 
> What has changed is how to defined a new command (\defineinmargin vs. \definemargindata)
> and how to customize these commands (\setupinmargin vs. \setupmargindata + \setupmarginframed).
> 
> 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] 8+ messages in thread

* Re: \inmargin
  2012-03-03 15:59 ` \inmargin S Barmeier
@ 2012-03-03 16:07   ` Wolfgang Schuster
  0 siblings, 0 replies; 8+ messages in thread
From: Wolfgang Schuster @ 2012-03-03 16:07 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 03.03.2012 um 16:59 schrieb S Barmeier:

> Could someone savant provide me with a rough overview of how to place
> text in a margin these days, or else point me to a reference. (I
> searched the garden without success.)


You place them in the same way as you did it in the past:

\starttext

\input ward

\inmargin{INMARGIN}

\input ward

\inleft {INLEFT}
\inright{INRIGHT}

\input ward

\ininner{INNER}
\inouter{OUTER}

\input ward

\stoptext

What has changed is how to defined a new command (\defineinmargin vs. \definemargindata)
and how to customize these commands (\setupinmargin vs. \setupmargindata + \setupmarginframed).

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

* \inmargin
       [not found] <mailman.2459.1330173868.4232.ntg-context@ntg.nl>
@ 2012-03-03 15:59 ` S Barmeier
  2012-03-03 16:07   ` \inmargin Wolfgang Schuster
  0 siblings, 1 reply; 8+ messages in thread
From: S Barmeier @ 2012-03-03 15:59 UTC (permalink / raw)
  To: ntg-context

Could someone savant provide me with a rough overview of how to place
text in a margin these days, or else point me to a reference. (I
searched the garden without success.)

Many thanks,
Severin
___________________________________________________________________________________
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] 8+ messages in thread

end of thread, other threads:[~2014-12-30 22:24 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <mailman.2607.1330851188.4232.ntg-context@ntg.nl>
2012-03-04  9:39 ` \inmargin S Barmeier
2012-03-04  9:50   ` \inmargin Wolfgang Schuster
2014-12-30 21:15 \inmargin Idris Samawi Hamid ادريس سماوي حامد
2014-12-30 21:50 ` \inmargin Wolfgang Schuster
2014-12-30 22:24   ` \inmargin Idris Samawi Hamid ادريس سماوي حامد
     [not found] <mailman.2600.1330790847.4232.ntg-context@ntg.nl>
2012-03-03 16:14 ` \inmargin S Barmeier
     [not found] <mailman.2459.1330173868.4232.ntg-context@ntg.nl>
2012-03-03 15:59 ` \inmargin S Barmeier
2012-03-03 16:07   ` \inmargin Wolfgang Schuster

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