mailing-list for TeXmacs Users

Text archives Help


Re: Default page size


Chronological Thread 
  • From: address@hidden
  • To: TeXmacs <address@hidden>
  • Cc: address@hidden
  • Subject: Re: Default page size
  • Date: Wed, 28 Jul 2021 16:53:51 -0000

On Tuesday, July 27, 2021 11:51 AM, TeXmacs <address@hidden> wrote:
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

OK, thanks! I will use your suggestions to arrive at a solution.





Archive powered by MHonArc 2.6.19.

Top of page