On Fri, Oct 7, 2016 at 1:32 PM, -- <bhj...@gmail.com> wrote: > > > On Fri, Oct 7, 2016 at 12:53 PM, Paul A. Rubin <parubi...@gmail.com> > wrote: > >> On 10/07/2016 12:22 PM, -- wrote: >> >> I did that with asana and it didn't work and it also screwed up other >> stuff. \bagmember appeared in red. >> >> On Fri, Oct 7, 2016 at 9:46 AM, Paul A. Rubin <parubi...@gmail.com> >> wrote: >> >>> On 10/07/2016 06:37 AM, -- wrote: >>> >>> Hi, >>> >>> I have two (possibly related) problems. >>> >>> 1) I'm trying to enter the character \bagmember in an equation. This is >>> Unicode 22FF, and it's available in several packages (asana-math, stix, >>> boisik). I've followed the instructions (used the MiKTeX package manager, >>> refreshed the database, reconfigured LaTeX) and installed asana and boisik, >>> but when I enter \bagmember it is not recognized. >>> >>> 2) I'm trying to install the acm-book document class. I followed their >>> instructions as best I could, but they are for LaTeX, not LyX, so I didn't >>> get very far. >>> >>> In both cases, when inspecting various system settings and files, they >>> seem to show that the respective packages are there, yet I can't use them. >>> I got no error messages. I'm running LyX 2.1.5 on Win XP with SP3. >>> >>> Thanks for any help you can give. >>> >>> Jacob >>> >>> Did you try putting \usepackage{stix} in the document preamble? >>> >>> Paul >>> >>> >> Jacob, >> >> Please (a) bottom post rather than top post and (b) copy the list so that >> others see the full thread. >> >> What are you using to compile the document? According to the thread at >> https://tex.stackexchange.com/questions/259118/asana-math-font-in-latex, >> Asana is not compatible with pdflatex; it needs either xetex or luatex. >> >> In contrast, I was able to compile a test document containing \bagmember >> with pdflatex by adding \usepackage{stix} to the preamble. >> >> Paul >> >> Thanks, Paul, stix worked. Is there a way to shrink the symbol? It's > bigger than the capital letters surrounding it. Also, is there a way to > overstrike it with a /, as negation, similar to non-membership for sets? > > And finally, if somebody has an idea for my second question, about using > acm-book. >
Well, spoke too soon. The \bagmember symbol displays OK on the screen in LyX, but when I try to compile to pdf I get an error: !pdfTeX error: pdflatex (file stix-mathit): Font stix-mathit at 360 not found. If I add the option nomath to stix, then I get an error that \bagmember is undefined.