home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / misc / keasy.tex / keasy.css < prev    next >
Cascading Style Sheet File  |  2020-01-01  |  2KB  |  61 lines

  1. /* Century Schoolbook font is very similar to Computer Modern Math: cmmi */
  2. .MATH    { font-family: "Century Schoolbook", serif; }
  3. .MATH I  { font-family: "Century Schoolbook", serif; font-style: italic }
  4. .BOLDMATH { font-family: "Century Schoolbook", serif; font-weight: bold }
  5. SPAN.MATH { display:inline-block; }    /* don't stretch spaces inside eqn */
  6.  
  7. DIV.author_info { text-align:center; } /* latex centers author */
  8.  
  9. .LEFT    { text-align:left; }
  10. .FLOATLEFT    { float:left; }
  11. .CENTER  { text-align:center; }
  12. .CENTER > * { margin:auto; }
  13. .RIGHT   { text-align:right; }
  14. .FLOATRIGHT   { float:right; }
  15. .TOP     { vertical-align:top; }
  16. .MIDDLE  { vertical-align:middle; }
  17. .BOTTOM  { vertical-align:bottom; }
  18.  
  19. IMG.LEFT    { float:left; }
  20. IMG.RIGHT   { float:right; }
  21. IMG.TOP     { vertical-align:top; }
  22. IMG.BOTTOM  { vertical-align:baseline; }
  23.  
  24. /* captions for latex tables and figures appear at bottom */
  25. CAPTION { caption-side:bottom; }
  26.  
  27. DL.COMPACT > dt { float:left; padding-right: 1em; }
  28. BODY { width:95%; max-width:50em; margin:auto; }
  29.  
  30. /* implement both fixed-size and relative sizes */
  31. .XTINY        { font-size : xx-small }
  32. .TINY        { font-size : x-small  }
  33. .SCRIPTSIZE    { font-size : smaller  }
  34. .FOOTNOTESIZE    { font-size : small    }
  35. .SMALL        { font-size : small    }
  36. .LARGE        { font-size : large }
  37. .XLARGE        { font-size : large    }
  38. .XXLARGE        { font-size : x-large  }
  39. .HUGE        { font-size : larger   }
  40. .XHUGE        { font-size : xx-large }
  41.  
  42. /* heading styles */
  43. H1        {  }
  44. H2        {  }
  45. H3        {  }
  46. H4        {  }
  47. H5        {  }
  48.  
  49. /* mathematics styles */
  50. DIV.displaymath { text-align:center; margin-top:1em; margin-bottom:1em; }
  51.     /* math displays: margins for \abovedisplayskip \belowdisplayskip */
  52. TD.eqno            { width:0; }    /* equation-number cells */
  53. TABLE.PAD TD    { padding:3px; }
  54. TABLE.BORDER TD    { border:1px solid black; }
  55. TABLE.equation    { width:100%; }    /* place eq nos at right/left edge */
  56. TABLE.equation > *    { vertical-align:baseline; }
  57. TABLE.equation TD    { white-space:nowrap; padding-bottom:5px; }
  58. TABLE        { border-collapse: collapse; }
  59.  
  60. /* document-specific styles come next */
  61.