anita@utastro.UUCP (Anita Cochran) (05/05/88)
I am trying to use PiCTeX to produce the figures for a paper I am working on. Since the journal will reduce the figures, I want to make the labels large so they are readable when reduced. I decided that twelve point would be good and tried to design a twelvept macro analogous to the ninept macro in the TeXbook appendix E. I read this into my picture file and after the \setplotarea command, I put the command \twevlept. Then, I put the rest of my plot commands, including axis labels. Now the problem... Whatever is in math mode comes out in the 12 pt as desired. Whatever isn't in math mode does not come out enlarged. The strangest part of this is that I set the ticks with a command such as \axis bottom label {A Label with $math$} ticks in numbered from -3 to 3 by 0.5 / and this results in the text "A Label with" being regular and the math part enlarged AND the ticks from -0.5 to -3 are enlarged but the ones from 0 to 3 are not! (obviously negative numbers are done in math mode but positive numbers aren't). I have kludged around the problem by using a withvalues and putting my numbers in math mode and also my labels but this is a real pain. Obviously the problem lies in one of 2 places: PiCTeX (unlikely since someone would have noticed before?) or my twlevept macro. I am including the macro at the end of the message. Could someone PLEASE explain my problem and how to fix it. Thanks in advance. anita ++++++++++++++++++++++++++ % First set up all the fonts. This is necessary because % plainTeX uses too small a font size (10pt). % The default font size is changed to 12pt. \def\twelvept{\def\rm{\fam0\twelverm}% switch to 12 point style \font\twelverm = cmr10 scaled\magstep1 \font\ninerm = cmr9 \font\sevenrm = cmr7 \font\twelvei = cmmi10 scaled\magstep1 \font\ninei = cmmi9 \font\seveni = cmmi7 \font\twelveit = cmti10 scaled\magstep1 \font\nineit = cmti9 \font\sevenit = cmti7 \font\twelvesy = cmsy10 scaled\magstep1 \font\ninesy = cmsy9 \font\sevensy = cmsy7 \font\twelvebf = cmbx10 scaled\magstep1 \font\ninebf = cmbx9 \font\sevenbf = cmbx7 \font\twelvesl = cmsl10 scaled\magstep1 \font\twelveit = cmti10 scaled\magstep1 \font\twelvett = cmtt10 scaled\magstep1 \font\twelveex = cmex10 scaled\magstep1 % % Family 0 fonts are for ordinary text. % Family 1 fonts are for math italics. % Family 2 fonts are for ordinary math symbols. They % must be the cmsy fonts. % Family 3 fonts are math extension fonts % The special families are for text italic, slant roman, bold % face roman and typewriter fonts. \textfont0 = \twelverm \scriptfont0 = \twelverm \scriptscriptfont0 = \ninerm % \def\rm{\fam0 \twelverm} \textfont1 = \twelvei \scriptfont1 = \twelvei \scriptscriptfont1 = \ninei % \def\mit{\fam1 } \textfont2 = \twelvesy \scriptfont2 = \twelvesy \scriptscriptfont2 = \ninesy % \def\cal{\fam2 } \textfont3 = \twelveex \scriptfont3 = \twelveex \scriptscriptfont3 = \twelveex \textfont\itfam=\twelveit \def\it{\fam\itfam \twelveit} \textfont\slfam=\twelvesl \def\sl{\fam\slfam \twelvesl} \textfont\bffam=\twelvebf \scriptscriptfont\bffam=\ninebf \scriptfont\bffam=\tenbf \def\bf{\fam\bffam \twelvebf} \textfont\ttfam=\twelvett \def\tt{\fam\ttfam \twelvett} \normalbaselineskip=14pt} +++++++++++++++++++++++++++++ -- Anita Cochran uucp: {noao, ut-sally, ut-emx}!utastro!anita arpa: anita@astro.as.utexas.edu snail: Astronomy Dept., The Univ. of Texas, Austin, TX, 78712 at&t: (512) 471-1471