<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><br><div><div>Am 18.01.2014 um 11:52 schrieb Fabrice Couvreur <<a href="mailto:fabrice1.couvreur@gmail.com">fabrice1.couvreur@gmail.com</a>>:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr"><span style="font-family:verdana,sans-serif"><span id="result_box" class="" lang="en"><span class="">Hi</span><span class="">,</span> <br><span class="">I use</span> <span class="">the following</span> <span class="">header to</span> <span class="">my</span> <span class="">statements</span> <span class="">made with</span> <span class="">tittlesec</span> <span class="">package.</span> <br>
<br>\makeatletter<br><br>    \newcommand{\@classe}[1]{}<br>    \newcommand{\classe}[1]{\gdef\@classe{#1}}<br>    \newcommand{\@typedevoir}[1]{}<br>    \newcommand{\typedevoir}[1]{\gdef\@typedevoir{#1}}<br>    \newcommand{\@numerodevoir}[1]{}<br>
    \newcommand{\numerodevoir}[1]{\gdef\@numerodevoir{#1}}<br>    \AtBeginDocument{\section{\@typedevoir\space\no\@numerodevoir}}<br>    \titleformat{\section}[frame]<br>      {\normalfont}<br>      {\footnotesize\enspace\itshape\@classe\enspace--\enspace Le \@date\enspace}<br>
      {10pt}<br>      {\Large\scshape\bfseries\filcenter}<br>  \makeatother<br><br><span class="">I</span> <span class="">want to</span> <span class="">gradually</span> <span class="">move to</span> <span class="">ConTeXt</span> <span class="">and I tried</span> <span class="">to create the same</span> <span class="">header.</span> <br>
<span class="">But I</span> <span class="">do not yet know</span> <span class="">all the</span> <span class="">commands to do</span> <span class="">with</span> <span class="">ConTeXt</span><span>.</span><br></span></span></div></blockquote></div><br><div>Can you show the output from LaTeX which is more use than some piece of code.</div><div><br></div><div>Wolfgang</div></body></html>