Subject: mailing-list for TeXmacs Users
List archive
From : address@hidden- To: address@hidden
- Subject: Re: change header text
- Date: Fri, 17 Jan 2003 17:02:37 +0100
On Fri, Jan 17, 2003 at 01:11:33AM +0100, vicent wrote:
> i'm writting an document and with article style and i would like to
> change the text that is with the number, i just don't like the section
> in the header.
More precisely, what would you like to do?
The headers are set by the functions odd-page-text and even-page-text.
They are applied by the sectioning macros. odd-page-text is applied
with the 'Section N' text, and even-page-text is applied by the
section title text. That is coded in the section macros and not easily
customizable (but that is still possible).
What would you like to do?
> should i use this "<assign|odd-page-text||<func|s|>>"? how?
> when can i get documentation about this?
That is explained in
Help->Manual->Summary of the principal TeXmacs tags
in subsection 3.1 (standard headers).
> what can i do?
Create a package (that is TeXmacs document whose name ends in .ts and
whose document style is 'none') which contains redefinition of those
functions. You can get the initial definitions in the header-article
file.
The alternate definition I gave to Offray were
(document
"Do not display the page number in the header (modified from
header-article.ts)"
(assign "odd-page-text" (func "s"
(assign "odd page header"
(with "font size" "0.84" (concat
(format "no first indentation")
(htab "5mm")
(with "font shape" "small-caps" (apply "s")))))))
(assign "even-page-text" (func "s"
(assign "even page header"
(with "font size" "0.84" (concat
(format "no first indentation")
(with "font shape" "small-caps" (apply "s"))
(htab "5mm")))))))
You can paste this with "Edit->Paste from->Scheme".
Also, do not be afraid to experiment by putting experimental package
snippets directly in your document. Another nice feature is that when
saving a package which is used by document X, document X is
automatically updated.
--
David Allouche | GNU TeXmacs -- Writing is a pleasure
Free software engineer | http://www.texmacs.org
http://ddaa.net | http://alqua.com/tmresources
address@hidden | address@hidden
TeXmacs is NOT a LaTeX front-end and is unrelated to emacs.
- change header text, vicent, 01/17/2003
- Re: change header text, david, 01/17/2003
- Re: change header text, vicent, 01/17/2003
- Re: change header text, david, 01/19/2003
- Re: change header text, vicent, 01/19/2003
- Re: change header text, david, 01/19/2003
- Re: change header text, vicent, 01/17/2003
- Re: change header text, david, 01/17/2003
Archive powered by MHonArc 2.6.19.