QueryCAT Logo
Search 5,000,000+ questions and answers.

Frequently Asked Questions

How do I specify a font to Emacs?

Emacs 21 for Mac OS X - Emacs 21 for Mac OS X FAQ
where the fields are foundry, font family, weight, slant, width, pixels, point size, horizontal resolution, vertical resolution, spacing, average width, and character set, respectively. With respect to Emacs, there are two types of fonts on the Mac: normal fonts, like Monaco, Taipei, Osaka and those that are converted from GNU fonts. The latter have foundry, family, and character sets encoded in their names. E.g.

Q3.8.4: Resources like Emacs*menubar*font are not working?

Frequently asked questions about XEmacs: Customization
I am trying to use a resource like Emacs*menubar*font to set the font of the menubar but it's not working. If you are using the Lucid menubar, the former resource will be recognized only if the latter resource is unset. This means that the resource

How do I change the size, position, font, and color attributes of Emacs?

GNU Emacs FAQ for Windows
Emacs can run in two different interface modes: the Windows interface, which allows the flexible use and mixture of fonts and colors; and the console interface, which constrains Emacs to the limitations of console windows. The following two sections describe how to specify and change the size, position, font, and color attributes of Emacs in both interface modes.

How do I enable color syntax highlighting in Emacs (font-lock)?

GNU Emacs FAQ for Windows
Font-lock mode is a mode that performs color syntax highlighting for other major modes in Emacs. To use font-lock, place the following in your startup file: (cond ((fboundp 'global-font-lock-mode) ;; Turn on font-lock in all modes that support it (global-font-lock-mode t) ;; Maximum colors (setq font-lock-maximum-decoration t))) The above code uses the default faces for decoration.

How do we send you a font?

Plaques & Letters: Frequently Asked Questions
Email. The font should a PC True Type font. (.ttf file). These files are usually located in the Windows folder on your hard drive. (C:\WINDOWS\FONTS). Select it and then shift the font over to My Documents Folder, then email it as an attachment from there. Note: Bold, italic, various weights etc. for any given font are separate files, so make sure you are sending the correct font.

How do I change the font?

Civ
For the GTK+ client, you can specify fonts in $HOME/freeciv.rc. For example, style "help_text" { font = "-*-courier-medium-r-*-*-14-*-*-*-*-*-iso8859-*" } For the Xaw client, you can change the font with X resources. You can specify them on the command line with the -xrm command-line option, or put them in your .Xdefaults file or the Freeciv app-defaults file.

How do I find out how to do something in Emacs?

GNU Emacs FAQ
The complete text of the Emacs manual is available on-line via the Info hypertext reader. Type C-h r to display the manual in Info mode. Typing <h> immediately after entering Info will provide a short tutorial on how to use it. To quickly locate the section of the manual which discusses a certain issue, or describes a command or a variable, type C-h i m emacs <RET> i topic <RET>, where topic is the name of the topic, the command, or the variable which you are looking for.

What is a font?

FontGod - Handwriting Font FAQ
Hmmmm.... I'm hoping most of you will know the answer already but for those that live in a cave then a font is a typeface or lettering style. The dictionary also describes a font as being a receptacle in a church that holds water for baptisms. Don't get confused, we dont build baptismal fonts, just the typeface variety.

How much detail can I specify?

FAQ
much as you want! Custom frames are just that, Dave starts with a blank sheet of paper and any or all of the detail is specifiable. Any details not specified at the time of ordering are left to Dave's discretion. If you want your cable guides in a certain position tell Dave. Do not assume that he will put them where you want them just because you "saw it in a photograph." If you want a particular fork crown, say so, and if possible, it will be done.

What font style and font size should I use in a letter?

The Sales Letter FAQ: Frequently Asked Questions about Sales...
The closer you can approximate the look of a typewritten letter, the more closely people read the letter. Even in the era of desktop publishing, this has been proven again and again. Never "justify" (line up evenly) the right-hand margin, which takes away enormously from its impact as a letter. for size, be kind to over-fifty folks who can't manage smaller print any more. Usually 11- or 12-point type work best.

Is there Emacs support for R?

R FAQ
There is an Emacs package called ESS (“Emacs Speaks Statistics”) which provides a standard interface between statistical programs and statistical processes. It is intended to provide assistance for interactive statistical programming and data analysis. Languages supported include: S dialects (R, S 3/4, and S-Plus 3.x/4.x/5.x/6.x/7.x), LispStat dialects (XLispStat, ViSta), SAS, Stata, and BUGS. ESS grew out of the need for bug fixes and extensions to S-mode 4.

Should I run R from within Emacs?

R FAQ
Yes, definitely. Inferior R mode provides a readline/history mechanism, object name completion, and syntax-based highlighting of the interaction buffer using Font Lock mode, as well as a very convenient interface to the R help system. Of course, it also integrates nicely with the mechanisms for editing R source using Emacs. One can write code in one Emacs buffer and send whole or parts of it for execution to R; this is helpful for both data analysis and programming.

Why does zsh not work in an Emacs shell mode any more?

Z-Shell Frequently-Asked Questions
Emacs 19.29 or thereabouts stopped using a terminal type of "emacs" in shell buffers, and instead sets it to "dumb". Zsh only kicks in its special I'm-inside-emacs initialization when the terminal type is "emacs". Probably the most reliable way of dealing with this is to look for the environment variable $EMACS, which is set to t in Emacs' shell mode. Putting [[ $EMACS = t ]] && unsetopt zle in your .zshrc should be sufficient.

What is an experienced Emacs user?

Frequently Asked Questions: Appendices
Yes, when you use Emacs, you are apt to use the control key, the shift key and the meta key a lot. This is very annoying to some people (notably vile users), and the rest of us just love the hell out of it. Just give up and submit. Emacs really does stand for "Escape-Meta-Alt-Control-Shift", and not "Editing Macros", as you may have heard from other disreputable sources (like the Emacs author).

Which version of Emacs do I need?

Frequently Asked Questions: Appendices
Gnus 5.10 requires an Emacs version that is greater than or equal to Emacs 20.7 or XEmacs 21.1. The development versions of Gnus (aka No Gnus) requires Emacs 21 or XEmacs 21.4.

Is there a GNU emacs editing mode for MATLAB?

MATLAB Frequently Asked Questions
A GNU emacs 'matlab-mode' is available via anonymous ftp from csi.jpl.nasa.gov as pub/matlab/util/matlab-mode.el

How do I obtain font metrics?

Java 2D FAQ
You may obtain a Fontmetrics instance by calling java.awt.Graphics.getFontMetrics(Font) This will decribe the font-wide metrics using the current FontRenderContext of the Graphics instance. Font wide metrics are not specific to a particular piece of text. It is based on data in the font specified by the font designer to reflect the overall design of the font. Do not expect that, for example, the reported "ascent" of the font will be as high as the highest ascent of any glyph in the font.

How can I change the GIMP font?

GIMP - Documentation
You need to copy the gtkrc file that comes with the GIMP source (in the top level directory) into $HOME/.gimp/gtkrc . As of 0.99.10, this should be recognized.

Which font names are available on all platforms ?

ciwas-aFAQ
The simple answer is "None" which is why CSS offers five generic font names as 'serif', 'sans-serif', 'cursive', 'fantasy' and 'monospace'. Never put any of these generic font names in quotes. A CSS aware browser should make a suitable choice from the available fonts in response to each of those generic names. Specifying any other font name in a www environment comes out as a suggestion only, that may or may not be acknowledged by a browser.
More Questions >>

© Copyright 2007-2012 QueryCAT
About • Webmasters • Contact