[OS X TeX] Re: changing font in carbonized emacs
John Maindonald
john.maindonald at anu.edu.au
Sun Aug 29 08:27:53 CEST 2004
I am using GNU Emacs 31.3.50.1 (power pc-apple-darwin 7.3.0)
of 2004-03-12 on cabledoc14.frazmtn.com
Here are the exact commands that I have in my .emacs:
------------------------------------------------------------------------
------------------------------
(create-fontset-from-fontset-spec
"-apple-courier-medium-r-normal--12-*-*-*-*-*-fontset-courier,
ascii:-apple-courier-medium-r-normal--12-120-75-75-m-120-mac-roman,
latin-iso8859-1:-apple-courier-medium-r-normal--12-120-75-75-m-120-mac-
roman")
(setq default-frame-alist '((width . 80)
(height . 36)
(font . "fontset-courier")))
(create-fontset-from-fontset-spec
"-apple-courier-medium-r-normal--24-*-*-*-*-*-fontset-courier,
ascii:-apple-courier-medium-r-normal--24-240-75-75-m-240-mac-roman,
latin-iso8859-1:-apple-courier-medium-r-normal--24-240-75-75-m-240-mac-
roman")
(setq default-frame-alist '((width . 64)
(height . 36)
(font . "fontset-courier"))
)
John Maindonald.
------------------------------------------------------------------------
------------------------------
On 29 Aug 2004, at 10:00 AM, TeX on Mac OS X Mailing List wrote:
> Subject: Re: changing font in carbonized emacs
> From: "John Maindonald" <john.maindonald at anu.edu.au>
> Date: Sat, 28 Aug 2004 20:08:27 +1000
>
> I've forgotten who provided the following information --
> anyway I have been able to use it to extend the available
> fonts under Fontset. I did not manage to do anything with
> the fonts under Misc & Courier. I was not able to work out
> how to use the information at:
> http://members.shaw.ca/akochoi-emacs/stories/faq.html
>
> John Maindonald
>
> M-x set-default-font
> hit TAB twice
>
> This will give you a list of all fonts available on your system. There
> is no 16 pt monaco, but you can have an 18 or even 24 pt courier. I
> take the 24-pt courier as an exmple. It is specified in your list like
> this:
> -apple-courier-medium-r-normal--24-240-75-75-m-240-mac-roman
>
> Write this into your .emacs:
>
> (create-fontset-from-fontset-spec
> "-apple-courier-medium-r-normal--24-*-*-*-*-*-fontset-courier,
> ascii:-apple-courier-medium-r-normal--24-240-75-75-m-240-mac-roman,
> latin-iso8859-1:-apple-courier-medium-r-normal--24-240-75-75-m-240-mac-
> roman")
> (setq default-frame-alist '((width . 80)
> (height . 36)
> (font . "fontset-courier")))
>
>
>>
>> Subject: chaning font in carbonized emacs
>> From: "Tamas K Papp" <tpapp at princeton.edu>
>> Date: Fri, 27 Aug 2004 16:39:24 -0400
>>
>> I wanted to change the font in my carbonized emacs (Enhanced Carbon
>> Emacs, from Enrico Franconi, really nice for LaTeX), but I could not.
>>
>> I go to Menu->Options->Set font/fontset and select something, but I
>> get "Font not found". I don't really want to change the font, just
>> increase the font size a bit.
>>
>> Thanks
>>
>> Tamas
>
> John Maindonald email: john.maindonald at anu.edu.au
> phone : +61 2 (6125)3473 fax : +61 2(6125)5549
> Centre for Bioinformation Science, Room 1194,
> John Dedman Mathematical Sciences Building (Building 27)
> Australian National University, Canberra ACT 0200.
>
>
> ----------------------------------------------------------------------
>
> Subject: Re: [OS X TeX] Re: changing font in carbonized emacs
> From: "Tamas K Papp" <tpapp at princeton.edu>
> Date: Sat, 28 Aug 2004 12:38:45 -0400
>
> On Sat, Aug 28, 2004 at 08:08:27PM +1000, John Maindonald wrote:
>
>> the fonts under Misc & Courier. I was not able to work out
>> how to use the information at:
>> http://members.shaw.ca/akochoi-emacs/stories/faq.html
>
> Me neither.
>
>> John Maindonald
>>
>> M-x set-default-font
>> hit TAB twice
>>
>> This will give you a list of all fonts available on your system. There
>> is no 16 pt monaco, but you can have an 18 or even 24 pt courier. I
>> take the 24-pt courier as an exmple. It is specified in your list like
>> this:
>> -apple-courier-medium-r-normal--24-240-75-75-m-240-mac-roman
>>
>> Write this into your .emacs:
>>
>> (create-fontset-from-fontset-spec
>> "-apple-courier-medium-r-normal--24-*-*-*-*-*-fontset-courier,
>> ascii:-apple-courier-medium-r-normal--24-240-75-75-m-240-mac-roman,
>> latin-iso8859-1:-apple-courier-medium-r-normal--24-240-75-75-m-240-
>> mac-
>> roman")
>> (setq default-frame-alist '((width . 80)
>> (height . 36)
>> (font . "fontset-courier")))
>
> Thanks for your help, but it doesn't work. The fontset is created
> allright (I can see it using list-fontsets), but the second command
> does nothing as far as I can see.
>
> I am giving up for now, I wanted 16 point courier, but it does not
> seem to be available anyway (I though the fonts were scalable, but
> apparently couriers only come in predefines sizes of 14, 18 and 24).
>
> What Emacs are you using (what build and where did you get it from?)
> Maybe I will give it a try and see if your commands work there.
>
> Thanks,
>
> Tamas
>
John Maindonald email: john.maindonald at anu.edu.au
phone : +61 2 (6125)3473 fax : +61 2(6125)5549
Centre for Bioinformation Science, Room 1194,
John Dedman Mathematical Sciences Building (Building 27)
Australian National University, Canberra ACT 0200.
--------------------- Info ---------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
& FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>
More information about the macostex-archives
mailing list