Skip to Content.
Sympa Menu

texmacs-users - Re: Default page size

Subject: mailing-list for TeXmacs Users

List archive

Re: Default page size


Chronological Thread 
  • From: TeXmacs <address@hidden>
  • To: address@hidden
  • Cc: address@hidden
  • Subject: Re: Default page size
  • Date: Tue, 27 Jul 2021 18:51:03 +0200

On Tue, Jul 27, 2021 at 04:36:33PM -0000, address@hidden wrote:
> New to TeXmacs, and resident in the US. I would like the default page size
> to
> be US Letter. Right now it comes up as A4 every time I open a new document.
> Preferences doesn't seem to mention this.
>
> How do I set a default page size? In fact how to I change the default
> settings
> for a new document, like font, pointsize?

The easiest "user friendly" way to do this is to create your personal style
file
or style package with all the customizations that you need.

From an empty newly created document, just perform all the customizations
that you wish to do and then use

Tools -> Macros -> Extract style file or
Tools -> Macros -> Extract style package

Save your style file into the directory ~/.TeXmacs/styles
(use ~/.TeXmacs/packages for style packages).
You may also save the file into the same directory
as the document that uses it.

The advantage of a style package is that it can be combined with
other document styles.

You can next enable your style file/package for any of your documents
using Document -> Style (-> Add package).

A less user friendly alternative is to write some Scheme code that
does your customizations when opening a new file.

Best wishes, --Joris



Archive powered by MHonArc 2.6.19.

Top of Page