Re: [NTG-context] New header

2014-01-23 Thread Fabrice Couvreur
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,

Re: [NTG-context] New header

2014-01-22 Thread 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]

Re: [NTG-context] New header

2014-01-22 Thread Fabrice Couvreur
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, >

Re: [NTG-context] New header

2014-01-22 Thread 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 margin

Re: [NTG-context] New header

2014-01-22 Thread Fabrice Couvreur
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 > > (\usepa

Re: [NTG-context] New header

2014-01-21 Thread 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/Lay

[NTG-context] New header

2014-01-21 Thread Fabrice Couvreur
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. attachment.tex Description: TeX document __

Re: [NTG-context] New header

2014-01-20 Thread Hans Hagen
On 1/20/2014 10:34 AM, Fabrice Couvreur wrote: Hi, Here is the resulting file with LuaLaTeX. Thank you. 2014/1/18 Fabrice Couvreur mailto:fabrice1.couvr...@gmail.com>> Hi, I use the following header to my statements made with tittlesec package. \makeatletter \newcomm

Re: [NTG-context] New header

2014-01-18 Thread Wolfgang Schuster
Am 18.01.2014 um 11:52 schrieb Fabrice Couvreur : > Hi, > I use the following header to my statements made with tittlesec package. > > \makeatletter > > \newcommand{\@classe}[1]{} > \newcommand{\classe}[1]{\gdef\@classe{#1}} > \newcommand{\@typedevoir}[1]{} > \newcommand{\type

[NTG-context] New header

2014-01-18 Thread Fabrice Couvreur
Hi, I use the following header to my statements made with tittlesec package. \makeatletter \newcommand{\@classe}[1]{} \newcommand{\classe}[1]{\gdef\@classe{#1}} \newcommand{\@typedevoir}[1]{} \newcommand{\typedevoir}[1]{\gdef\@typedevoir{#1}} \newcommand{\@numerodevoir}[1]{}