[BACK]Return to latex.trm CVS log [TXT][DIR] Up to [local] / OpenXM_contrib / gnuplot / term

Diff for /OpenXM_contrib/gnuplot/term/Attic/latex.trm between version 1.1.1.1 and 1.1.1.2

version 1.1.1.1, 2000/01/09 17:01:14 version 1.1.1.2, 2000/01/22 14:16:26
Line 104  TERM_PUBLIC void EMTEX_reset __PROTO((void));
Line 104  TERM_PUBLIC void EMTEX_reset __PROTO((void));
 TERM_PUBLIC void EMTEX_text __PROTO((void));  TERM_PUBLIC void EMTEX_text __PROTO((void));
 #endif  #endif
   
   #ifdef EEPIC
   TERM_PUBLIC void EEPIC_move __PROTO((unsigned int x, unsigned int y));
   TERM_PUBLIC void EEPIC_vector __PROTO((unsigned int ux, unsigned int uy));
   #endif
   
 #define TINY_STEP 0.5           /* tiny steps for high quality lines */  #define TINY_STEP 0.5           /* tiny steps for high quality lines */
   
 #define LATEX_PTS_PER_INCH (72.27)  #define LATEX_PTS_PER_INCH (72.27)
Line 220  TERM_PUBLIC void LATEX_options()
Line 225  TERM_PUBLIC void LATEX_options()
             strcpy(LATEX_font, "cmr");              strcpy(LATEX_font, "cmr");
             c_token++;              c_token++;
         } else if (almost_equals(c_token, "d$efault")) {          } else if (almost_equals(c_token, "d$efault")) {
             strcpy(LATEX_font, "cmr");              strcpy(LATEX_font, "doc");
             LATEX_fontsize = 10;  
             c_token++;              c_token++;
         }          }
     }      }
Line 235  TERM_PUBLIC void LATEX_options()
Line 239  TERM_PUBLIC void LATEX_options()
     term->v_char = (unsigned int) (LATEX_fontsize * DOTS_PER_INCH / 72);      term->v_char = (unsigned int) (LATEX_fontsize * DOTS_PER_INCH / 72);
     term->h_char = (unsigned int) (LATEX_fontsize * DOTS_PER_INCH / 144);      term->h_char = (unsigned int) (LATEX_fontsize * DOTS_PER_INCH / 144);
   
     sprintf(term_options, "%s %d", LATEX_font[2] == 't' ? "courier" : "roman",      if (strcmp(LATEX_font, "doc")==0)
             LATEX_fontsize);          strncpy(term_options, "(document specific font)",MAX_LINE_LEN);
       else
           sprintf(term_options, "%s %d",
                   LATEX_font[2] == 't' ? "courier" : "roman", LATEX_fontsize);
 }  }
   
   
Line 265  TERM_PUBLIC void LATEX_graphics()
Line 272  TERM_PUBLIC void LATEX_graphics()
     int xscale = xsize * t->xmax;      int xscale = xsize * t->xmax;
     int yscale = ysize * t->ymax;      int yscale = ysize * t->ymax;
   
     fprintf(gpoutfile, "\      fprintf(gpoutfile, "\\begin{picture}(%d,%d)(0,0)\n", xscale, yscale);
 \\begin{picture}(%d,%d)(0,0)\n\      if (strcmp(LATEX_font, "doc") != 0) {
           fprintf(gpoutfile, "\
 \\font\\gnuplot=%s10 at %dpt\n\  \\font\\gnuplot=%s10 at %dpt\n\
 \\gnuplot\n",  \\gnuplot\n",
             xscale, yscale,                  LATEX_font, LATEX_fontsize);
             LATEX_font, LATEX_fontsize);      }
 }  }
   
   
Line 831  START_HELP(latex)
Line 839  START_HELP(latex)
 " The `latex` and `emtex` drivers allow two options.",  " The `latex` and `emtex` drivers allow two options.",
 "",  "",
 " Syntax:",  " Syntax:",
 "       set terminal latex | emtex {courier | roman} {<fontsize>}",  "       set terminal latex | emtex {courier | roman | default} {<fontsize>}",
 "",  "",
 " `fontsize` may be any size you specify.  The default is 10-point Roman.",  " `fontsize` may be any size you specify.  The default is for the plot to",
   " inherit its font setting from the embedding document.",
 "",  "",
 " Unless your driver is capable of building fonts at any size (e.g. dvips),",  " Unless your driver is capable of building fonts at any size (e.g. dvips),",
 " stick to the standard 10, 11 and 12 point sizes.",  " stick to the standard 10, 11 and 12 point sizes.",
Line 842  START_HELP(latex)
Line 851  START_HELP(latex)
 "",  "",
 " All drivers for LaTeX offer a special way of controlling text positioning:",  " All drivers for LaTeX offer a special way of controlling text positioning:",
 " If any text string begins with '{', you also need to include a '}' at the",  " If any text string begins with '{', you also need to include a '}' at the",
 " end of the text, and the whole text will be centered both horizontally",  " end of the text, and the whole text will be centered both horizontally and",
 " and vertically by LaTeX. --- If the text string begins with '[', you need",  " vertically.  If the text string begins with '[', you need to follow this with",
 " to continue it with: a position specification (up to two out of t,b,l,r),",  " a position specification (up to two out of t,b,l,r), ']{', the text itself,",
 " ']{', the text itself, and finally, '}'. The text itself may be anything",  " and finally '}'.  The text itself may be anything LaTeX can typeset as an",
 " LaTeX can typeset as an LR-box. \\rule{}{}'s may help for best positioning.",  " LR-box.  '\\rule{}{}'s may help for best positioning.",
   "",
   " Points, among other things, are drawn using the LaTeX commands \"\\Diamond\" and",
   " \"\\Box\".  These commands no longer belong to the LaTeX2e core; they are included",
   " in the latexsym package, which is part of the base distribution and thus part",
   " of any LaTeX implementation.  Please do not forget to use this package.",
   "",
   " Points are drawn with the LaTex commands \\Diamond and \\Box.  These",
   " commands do no longer belong to the LaTeX2e core, but are included in the",
   " latexsym-package in the base distribution, and are hence part of all LaTeX",
   " implementations. Please do not forget to use this package.",
 "",  "",
 " Examples:",  " Examples:",
 " About label positioning:",  " About label positioning:",

Legend:
Removed from v.1.1.1.1  
changed lines
  Added in v.1.1.1.2

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>