[OS X TeX] Using STIX for a single font
Michael Sharpe
msharpe at ucsd.edu
Sun Jun 14 18:26:09 CEST 2015
> On Jun 14, 2015, at 9:18 AM, David Derbes <loki at uchicago.edu> wrote:
>
> I am afraid that things got much worse.
>
> I did this, and the entire document font changed to STIX (I think.) That was what I was trying to avoid. I would really like to get Computer Modern back. So I deleted the \usepackage[mathalfa}{boondox}. No change to the appearance of the document.
>
> I had to comment out \usepackage{mathrfsr} to get the document to compile. So I uncommented that. And now, LaTeX cannot find mathrfsr.sty.
>
> What happened? Can I get back to where I was? Did the invocation of \boondox somehow clobber the \mathrfsr package?
>
> Thanks.
>
> David Derbes
>
> On Jun 14, 2015, at 11:01, Michael Sharpe <msharpe at ucsd.edu> wrote:
>
>>
>>> On Jun 14, 2015, at 7:55 AM, David Derbes <loki at uchicago.edu> wrote:
>>>
>>> Long story, not to bore you, but I would really like a lower-case script math p. There is one in STIX, stix-mathscr. I don’t want the fonts of the document (a book) to be STIX, but I would love to use this one character. I’ve tried the following, but it doesn’t work:
>>>
>>> in the preamble:
>>>
>>> \usepackage[notext,nomath]{stix}
>>>
>>> and in the document
>>>
>>> \begin{equation}
>>> |\mathbf{p}| = {\fontfamily{stix-mathscr}\selectfont p}
>>> \end{equation}
>>>
>>> but all I get is |\mathbf{p}| = p
>>>
>>> where p is the usual math font for p.
>>>
>>> I’ve tried loading the package both before and after \amsmath. No luck. My guess is that I’m invoking the font change incorrectly. Any help would be most welcome, and I apologize for what is probably an elementary question.
>>>
>>> Thanks in advance,
>>> David Derbes
>>> U of Chicago Lab Schools
>>>
>>
>> One way to do this to add to your preamble, after loading other math packages,
>>
>> \usepackage[scr=boondox]{mathalfa}
>>
>> Then \mathscr{p} gives you STIX script math p.
>>
>> Michael
>>
I can't imagine how \usepackage[scr=boondox]{mathalfa} could affect anything but the definition of \mathscr. Please send me your preamble so I can see what's going on.
Michael
More information about the macostex-archives
mailing list