Hello, Thank you for your reply. I do not understand all of the code, even if I use MetaPost but with Asymptote. I would also fit the dimensions of my papers as I used to do (\usepackage [ a4paper, hmargin = 1.5cm, vmargin =1.5cm] {geometry}) Thank you.
Am Tue, 21 Jan 2014 20:02:19 +0100
schrieb Fabrice Couvreur
I would also fit the dimensions of my papers as I used to do (\usepackage [ a4paper, hmargin = 1.5cm, vmargin =1.5cm] {geometry}) Thank you.
There is a wiki page about setting up the page layout: http://wiki.contextgarden.net/Layout The following sets the space around the type area to 1.5cm: \setuplayout [ backspace=1.5cm, width=middle, topspace=1.5cm, height=middle, ] \showframe % very useful when setting up the layout \starttext \input{knuth} \stoptext Kind regards, Joshua Krämer
Hi Joshua,
To the right and left but not up and down. I would like margin to 1.5cm on
the right, left, up and down.
Thank you.
2014/1/21 Joshua Krämer
Am Tue, 21 Jan 2014 20:02:19 +0100 schrieb Fabrice Couvreur
: I would also fit the dimensions of my papers as I used to do (\usepackage [ a4paper, hmargin = 1.5cm, vmargin =1.5cm] {geometry}) Thank you.
There is a wiki page about setting up the page layout: http://wiki.contextgarden.net/Layout
The following sets the space around the type area to 1.5cm:
\setuplayout [ backspace=1.5cm, width=middle, topspace=1.5cm, height=middle, ] \showframe % very useful when setting up the layout \starttext \input{knuth} \stoptext
Kind regards, Joshua Krämer
___________________________________________________________________________________ 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
___________________________________________________________________________________
You have to disable the header and footer by setting the values to 0pt. \setuplayout [backspace=15mm, width=middle, topspace=15mm, height=middle, header=0pt, footer=0pt] \showframe \starttext \input knuth \stoptext You can also use the fullpage module when you equal margins for your document. \usemodule[fullpage][style={margin,empty},margin=15mm] \showframe \starttext \input knuth \stoptext Wolfgang
Thank you Wolfgang.
With LuaLaTeX, for my header, I use the commands "\footnotesize\itshape"
and "\Large\scshape".
Is there an equivalent with ConTeXt ?
2014/1/22 Wolfgang Schuster
You have to disable the header and footer by setting the values to 0pt.
\setuplayout [backspace=15mm, width=middle, topspace=15mm, height=middle, header=0pt, footer=0pt]
\showframe
\starttext \input knuth \stoptext
You can also use the fullpage module when you equal margins for your document.
\usemodule[fullpage][style={margin,empty},margin=15mm]
\showframe
\starttext \input knuth \stoptext
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
___________________________________________________________________________________
On Wed, 22 Jan 2014, Fabrice Couvreur wrote:
Thank you Wolfgang. With LuaLaTeX, for my header, I use the commands "\footnotesize\itshape" and "\Large\scshape". Is there an equivalent with ConTeXt ?
\setupheader[style={\switchtobodyfont[small]\italic}] \setupfooter[style={\switchtobodyfont[big]\smallcaps}] You can also try style=\itx\setupinterlinespace (or \itxx) or style=\scb\setupinterlinespace (or \sca \scc etc.) See: http://wiki.contextgarden.net/Font_Switching http://wiki.contextgarden.net/Style_Alternatives Aditya
Hi,
I lacked precision in my post, I forgot to say that the header is an idea of
Hans with Metapost.
I would like to have:
p: = textext ("\footnotesize \itshape \quad # where \space \endash \space \
time [# d = day, m = month #, # y = year] \quad" and
\ framed [
width = \hsize,
height = 5em,
foregroundstyle = \Large \scshape \bf,
background = whatever,
frame = off,
]
Thank you.
2014/1/22 Aditya Mahajan
On Wed, 22 Jan 2014, Fabrice Couvreur wrote:
Thank you Wolfgang.
With LuaLaTeX, for my header, I use the commands "\footnotesize\itshape" and "\Large\scshape". Is there an equivalent with ConTeXt ?
\setupheader[style={\switchtobodyfont[small]\italic}] \setupfooter[style={\switchtobodyfont[big]\smallcaps}]
You can also try
style=\itx\setupinterlinespace (or \itxx)
or
style=\scb\setupinterlinespace (or \sca \scc etc.)
See:
http://wiki.contextgarden.net/Font_Switching http://wiki.contextgarden.net/Style_Alternatives
Aditya
____________________________________________________________ _______________________ 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 ____________________________________________________________ _______________________
participants (4)
-
Aditya Mahajan
-
Fabrice Couvreur
-
Joshua Krämer
-
Wolfgang Schuster