| 
 | 
      
 
   Document 411
 
How to typeset theorems in upright fonts
   Version: 3.x, 4.x, 5.x - Scientific WorkPlace & Scientific
   Word
 
   Many typesetting specifications set the content of theorem environments in
   italics, but by adding the theorem package you can use upright fonts for theorems instead:
 
   - Add the theorem package to your document.
 
   - From the Typeset menu, choose
         Preamble.
 
   - Click the mouse in the entry area.
 
   - If you want to set all theorem environments in an upright font, place the insertion point on a new line at the beginning of the preamble,
         before any \newtheorem statements.
 
	   or 
	   If you want to set a specific theorem environment in an upright font, place the insertion point on 
	   a new line immediately before the \newtheorem statement for that 
	   environment.  
   - 
      
         If you want to change the font that LaTeX uses for the header of the theorem
         environment, type \theoremheaderfont{font} where
         font is the font family you want LaTeX to use.
         Because \theoremheaderfont is a global setting,
         setting it changes the header font for all theorem-like environments in the
         document. The command should be used only once. Values for
         font can be combined. Possible values for
         font are:
      
  
          
            
            
            
            | Family | 
            Effect | 
            Family | 
            Effect | 
          
      
      
         
            | \mdseries | 
            Medium Series | 
            \upshape | 
            Upright Shape | 
          
         
            | \bfseries | 
            Boldface Series | 
            \itshape | 
            Italic Shape | 
          
         
            | \rmfamily | 
            Roman Family | 
            \slshape | 
            Slanted Shape | 
          
         
            | \sffamily | 
            Sans Serif Family | 
            \scshape | 
            Small Caps Shape | 
          
         
            | \ttfamily | 
            Typewriter Family | 
            \normalfont | 
            Normal (document main text font) | 
          
      
    
 
 
   Not all combinations make sense and LaTeX compensates by placing a warning in
   the .log file and substituting a similar font.
 
- 
   
      If you want to change the font that LaTeX uses for the body of the theorem
      environment, type \theorembodyfont{font} where
      font is the font family you want LaTeX to use.
    
   
      For example, to use upright text in the body of a theorem, use the command
      \theorembodyfont{\upshape}. The font used for the
      body of a theorem-like environment can be restricted to a single environment
      or a group of environments by enclosing the
      \theorembodyfont  command and the
      \newtheorem environments in a set of curly braces.
    
 
- 
   
      Choose OK.
    
 
 
   Note that these instructions pertain only to those documents for which theorem
   numbering schemes are defined in the document preamble.
 
Last revised 04/28/06
 
 
 This document was created with Scientific WorkPlace.
  
 |