* About margin notes
@ 2021-12-14 10:58 MANUEL GONZALEZ SUAREZ via ntg-context
2021-12-14 17:02 ` Hans Hagen via ntg-context
0 siblings, 1 reply; 2+ messages in thread
From: MANUEL GONZALEZ SUAREZ via ntg-context @ 2021-12-14 10:58 UTC (permalink / raw)
To: Context; +Cc: MANUEL GONZALEZ SUAREZ
[-- Attachment #1.1: Type: text/plain, Size: 859 bytes --]
Hi all:
I send this minimal example:
\mainlanguage [es]
\definefontfamily [mainface] [serif] [Gentium]
\setupbodyfont[mainface]
\setuppagenumbering[alternative=doublesided, location={footer,right}]
\setuplayout[textwidth=12cm,margin=2.5cm]
\setupmargindata[inmargin][style={\tfx\em}, location=outer,align=flushouter]
\starttext
\chapter{Introduction}
\input{tufte}
\input{tufte}\inmargin{This is the first margin note}
\input{tufte}
\input{tufte}
\section{Whe start here}
\input{knuth}\inmargin{This is another margin note}
\input{tufte}\inmargin{This is another note in margin}
\input tufte
\chapter{Second chapter}
\section{First section}
\input{tufte}
\stoptext
Notes that appear in the right margin are justified, aligned with the text, but not the note in the left margin. How could I do this?
Thanks.
M. González.
[-- Attachment #1.2: Type: text/html, Size: 7375 bytes --]
[-- Attachment #2: Type: text/plain, Size: 493 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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: About margin notes
2021-12-14 10:58 About margin notes MANUEL GONZALEZ SUAREZ via ntg-context
@ 2021-12-14 17:02 ` Hans Hagen via ntg-context
0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen via ntg-context @ 2021-12-14 17:02 UTC (permalink / raw)
To: mailing list for ConTeXt users; +Cc: Hans Hagen
On 12/14/2021 11:58 AM, MANUEL GONZALEZ SUAREZ via ntg-context wrote:
> Hi all:
> I send this minimal example:
>
> \mainlanguage [es]
> \definefontfamily [mainface] [serif] [Gentium]
> \setupbodyfont[mainface]
> \setuppagenumbering[alternative=doublesided, location={footer,right}]
>
> \setuplayout[textwidth=12cm,margin=2.5cm]
> \setupmargindata[inmargin][style={\tfx\em}, location=outer,align=flushouter]
just use \inouter or define a new margindata class (see typo-mar.mkxl
line 360 etc to see what is defined in what way)
>
> \starttext
>
> \chapter{Introduction}
> \input{tufte}
> \input{tufte}\inmargin{This is the first margin note}
> \input{tufte}
> \input{tufte}
> \section{Whe start here}
> \input{knuth}\inmargin{This is another margin note}
> \input{tufte}\inmargin{This is another note in margin}
> \input tufte
> \chapter{Second chapter}
> \section{First section}
> \input{tufte}
>
> \stoptext
>
> Notes that appear in the right margin are justified, aligned with the
> text, but not the note in the left margin.How could I do this?
> Thanks.
> M. González.
>
> ___________________________________________________________________________________
> 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://context.aanhet.net
> archive : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
> ___________________________________________________________________________________
--
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-12-14 17:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-14 10:58 About margin notes MANUEL GONZALEZ SUAREZ via ntg-context
2021-12-14 17:02 ` Hans Hagen via ntg-context
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).