Subject: mailing-list for TeXmacs Users
List archive
From : Joris van der Hoeven <address@hidden>- To: Matteo Bertini <address@hidden>
- Cc: <address@hidden>
- Subject: Re: [TeXmacs] custom style help
- Date: Mon, 24 May 2004 14:11:33 +0200 (CEST)
On Mon, 24 May 2004, Matteo Bertini wrote:
> Hi all, I'm an happy texmacs user, and so let's start with a:
>
> Thank you for your work!!
>
> ... and now the question:
>
> can someone provide me a very simple custom style that... for example
> redefine the Example to have a smaller font?
>
> Like <with|font-size|0.84|>
What about
(assign "std-example" (value "example"))
(assign "example"
(macro "body"
(document
(with "font-size" "0.84"
(std-example (document (arg "body"))))))))
Copy & paste both assignments using "Edit -> Paste from -> Scheme"
> I'd like to have a border surrounding all example, but I think now as
> now it is not possible? Right?
Try
(assign "example"
(macro "body"
(document
(block (tformat (table (row (cell
(document
(with "font-size" "0.84"
(std-example (document (arg "body")))))))))))))
and/or
(assign "example"
(macro "body"
(document
(block
(tformat (twith "table-width" "1par")
(table (row (cell
(document
(with "font-size" "0.84"
(std-example (document (arg "body")))))))))))))
More generally, read
Help -> Manual -> Writing your own style files
- custom style help, Matteo Bertini, 05/24/2004
- Re: [TeXmacs] custom style help, Joris van der Hoeven, 05/24/2004
- Re: [TeXmacs] custom style help, Javier Arántegui Jiménez, 05/24/2004
- Re: [TeXmacs] custom style help, Matteo Bertini, 05/24/2004
- Re: [TeXmacs] custom style help, Joris van der Hoeven, 05/24/2004
Archive powered by MHonArc 2.6.19.