[OS X TeX] Using STIX for a single font
David Derbes
loki at uchicago.edu
Sun Jun 14 18:31:01 CEST 2015
So, Michael’s solution works as advertised. Thank you very much, Michael!
There is however an unfortunate side effect. I have used \mathscr for other symbols (H and L), and I would like not to have STIX for those, preferring the appearance of the Computer Modern \mathscr{H} and \mathscr{L}.
Is there any way to limit STIX to a single character (which is what the subject line should have said some posts ago!), or is this just a dumb idea? I can use \wp for the script p, even if it looks a little dorky…
Best wishes to all, and many apologies for wasting people’s time on this.
David Derbes
On Jun 14, 2015, at 11:23, David Derbes <loki at uchicago.edu> wrote:
> Apologies, particularly to Michael.
>
> I had stupidly put in \usepackage{stix} in the (very long) preamble. I’ll try again!
>
> DD
>
> On Jun 14, 2015, at 11:18, 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
>>>
>>> ----------- Please Consult the Following Before Posting -----------
>>> TeX FAQ: http://www.tex.ac.uk/faq
>>> List Reminders and Etiquette: http://email.esm.psu.edu/mac-tex/
>>> List Archive: http://tug.org/pipermail/macostex-archives/
>>> TeX on Mac OS X Website: http://mactex-wiki.tug.org/
>>> List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex
>>
>
More information about the macostex-archives
mailing list