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: Frank <address@hidden>
  • To: address@hidden
  • Subject: Re: Default page size
  • Date: Wed, 28 Jul 2021 19:23:15 +0200

Hello all,

By the way, each time I create a new document, it is always Letter with Roman 10pt,
unless after I deliberately select "Default". I don't know why in your cases,
it would be A4. Does the OS / environmental variables matter?

Best,
Frank

On 7/28/21, address@hidden wrote:
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