|
|
|||
|
|
| Mathematica Tutorial | Functions »|Tutorials » |
option | typical default value | |
| PageWidth | WindowWidth | how wide to assume the page to be |
| TextAlignment | Left | how to align successive lines of text |
| TextJustification | 0 | how much to allow lines of text to be stretched to make them fit |
| Hyphenation | True | whether to allow hyphenation |
| ParagraphIndent | 0 | how many printer's points to indent the first line in each paragraph |
General options for text formatting.
| WindowWidth | the width of the window on the screen |
| PaperWidth | the width of the page as it would be printed |
| Infinity | an infinite width (no line breaking) |
| n | explicit width given in printer's points |
Settings for the PageWidth option in cells and notebooks.
| Left | aligned on the left |
| Right | aligned on the right |
| Center | centered |
| x | aligned at a position x running from -1 to +1 across the page |
Settings for the TextAlignment option.
With TextAlignment->Center the text is centered. |
TextJustification->1 adjusts word spacing so that both the left and right edges line up. |
TextJustification->0.5 reduces the degree of raggedness, but does not force the left and right edges to be precisely lined up. |
| LineSpacing->{c,0} | leave space so that the total height of each line is c times the height of its contents |
| LineSpacing->{0,n} | make the total height of each line exactly n printer's points |
| LineSpacing->{c,n} | make the total height c times the height of the contents plus n printer's points |
| ParagraphSpacing->{c,0} | leave an extra space of c times the height of the font before the beginning of each paragraph |
| ParagraphSpacing->{0,n} | leave an extra space of exactly n printer's points before the beginning of each paragraph |
| ParagraphSpacing->{c,n} | leave an extra space of c times the height of the font plus n printer's points |
Options for spacing between lines of text.
Here is some text with the default setting LineSpacing->{1, 1}, which inserts just 1 printer's point of extra space between successive lines. |
With LineSpacing->{1, 5} the text is "looser". |
LineSpacing->{2, 0} makes the text double-spaced. |
With LineSpacing->{1, -2} the text is tight. |
option | typical default value | |
| FontFamily | "Courier" | the family of font to use |
| FontSubstitutions | {} | a list of substitutions to try for font family names |
| FontSize | 12 | the maximum height of characters in printer's points |
| FontWeight | "Bold" | the weight of characters to use |
| FontSlant | "Plain" | the slant of characters to use |
| FontTracking | "Plain" | the horizontal compression or expansion of characters |
| FontColor | GrayLevel[0] | the color of characters |
| Background | GrayLevel[1] | the color of the background for each character |
Some typical font family names.
| FontWeight->"Plain" | text like this |
| FontWeight->"Bold" | text like this |
| FontWeight->"ExtraBold" | text like this |
| FontSlant->"Oblique" | text like this |
Some settings of font options.
| © 2013 Wolfram Research, Inc. |