From: Miguel Queiros <tex@mqueiros.com>
Subject: Two Problems: Colored Chapter and Footnote positioning
Date: Mon, 17 Apr 2006 23:38:59 +0100 [thread overview]
Message-ID: <1145313540.9138.16.camel@localhost.localdomain> (raw)
[-- Attachment #1: Type: text/plain, Size: 1402 bytes --]
Hello,
I'm facing two problems. The first one has to do with the
fact that if I use \color[darkblue]{\chapter{Capitulo 1}}
the line with \setuphead[chapter][header=empty]\r seems to
be ignored because the chapter page gets the header too.
I'v attached an example in the file "capitulo-cores.tex".
The second problem has to do with the fact that in the
attached file "footnote-posicao.tex" I changed the layout
of the page, so that I could have a bigger right margin.
The problem is that I would like to have the page number
centered on "the page" and note on the new dimensions
of the text area (don't know if I' been clear but I think
you will understand if you look at the attached file).
In fact I have a third problem that is the fact that the
page number is repeated. I don't want to remove the
line \setupfootertexts[][\setups{t_footer}] because I
want the footer in 10pt.
Thank you!
Miguel Queirós
-----------------------------------------------------------
\setupcolors[state=start]
\setuphead[chapter][header=empty]
\setupheadertexts[][chapter]
\starttext
\completecontent
\color[darkblue]{\chapter{Capitulo 1}}
% \chapter{\color[darkblue]{Capitulo 1}}
\page
Nada.
\chapter{Capitulo 2}
\page
Nada.
\chapter{Capitulo 3}
\page
Nada.
\stoptext
-----------------------------------------------------------
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: capitulo-cores.tex --]
[-- Type: text/x-tex; name=capitulo-cores.tex; charset=UTF-8, Size: 422 bytes --]
% Problema
% No caso da capitulo em azul a linha \setuphead[chapter][header=empty] é ignorada.
\setupcolors[state=start]
\setuphead[chapter][header=empty]
\setupheadertexts[][chapter]
\starttext
\completecontent
\color[darkblue]{\chapter{Capitulo 1}}
% \chapter{\color[darkblue]{Capitulo 1}}
\page
Nada.
\chapter{Capitulo 2}
\page
Nada.
\chapter{Capitulo 3}
\page
Nada.
\stoptext
[-- Attachment #3: footnote-posicao.tex --]
[-- Type: text/x-tex, Size: 591 bytes --]
% Dois problemas:
% - Dois numeros de pagina
% - Centrar o numero de pagina
\setuplayout[
% leftmargin=5.6cm,leftmargindistance=0.4cm,
rightmargin=5.6cm,rightmargindistance=1.0cm,
topspace=1.3cm,headerdistance=0.2cm,header=1.5cm,
footerdistance=0.2cm, footer=1.3cm,
height=middle, width=10.4cm]
\showframe
\setupfootertexts[][\setups{t_footer}]
\startsetups[t_footer]
\setupbodyfont[10pt]
\rightaligned{\pagenumber}
\stopsetups
\setuppagenumbering[location={footer}]
\starttext
\page
Teste.
\stoptext
[-- Attachment #4: Type: text/plain, Size: 139 bytes --]
_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context
next reply other threads:[~2006-04-17 22:38 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-17 22:38 Miguel Queiros [this message]
2006-04-17 23:30 ` Mojca Miklavec
2006-04-18 0:51 ` Miguel Queiros
2006-04-18 7:50 ` Hans Hagen
2006-04-18 16:07 ` Miguel Queiros
2006-04-18 6:45 ` Hans Hagen
2006-04-18 0:21 ` Mojca Miklavec
2006-04-18 16:18 ` Miguel Queiros
2006-04-18 19:55 ` Hans Hagen
2006-04-19 21:07 ` Miguel Queiros
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1145313540.9138.16.camel@localhost.localdomain \
--to=tex@mqueiros.com \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).