Search found 67 matches

by bstex
Sun Apr 29, 2018 3:58 pm
Forum: General
Topic: Change variable of a package Topic is solved
Replies: 5
Views: 1410

Change variable of a package Topic is solved

Hi. I'm using mhchem and I'd like to change the default length of the variable \__mhchem_arrow_options_minLength:n (It's on the line 1015 of the mhchem.sty file.) What should I type in my preamble after \usepackage[version=4]{mhchem} to change this length? The developer of this package told me that ...
by bstex
Sat Mar 31, 2018 6:25 pm
Forum: Graphics, Figures & Tables
Topic: Arrow coordinates
Replies: 1
Views: 483

Arrow coordinates

Hi, i'm having this: Screen Shot 2018-03-31 at 19.16.56.png and I would like to raise the arrow, so it is vertically center with the text. Can that happen without the \raisebox command? Also, how can I modify the tikz code of the arrow, so it automatically puts a blank space after every arrow I inse...
by bstex
Thu Mar 29, 2018 2:04 pm
Forum: Math & Science
Topic: Math symbols in sans-serif font
Replies: 10
Views: 5482

Math symbols in sans-serif font

In Word it is OK.
Never mind, problem solved with the other solutions.
Thank you all.
by bstex
Thu Mar 29, 2018 12:05 pm
Forum: Math & Science
Topic: Math symbols in sans-serif font
Replies: 10
Views: 5482

Math symbols in sans-serif font

I just found another solution, but it works only with some symbols. Since I'm using the fontspec , if I know the Unicode number of the symbol, I write this code: \documentclass{book} \usepackage{fontspec} \setmainfont[Kerning=On,Mapping=tex-text]{Myriad Pro} \begin{document} Examples:\\ A {^^^^2264}...
by bstex
Thu Mar 29, 2018 11:18 am
Forum: Math & Science
Topic: Math symbols in sans-serif font
Replies: 10
Views: 5482

Math symbols in sans-serif font

Yes!
Also, since I'm using \everymath{\displaystyle} in my preamble, I added the \scriptsize in your code and now the math symbols seem perfect.
Thank you!
by bstex
Thu Mar 29, 2018 10:22 am
Forum: Math & Science
Topic: Math symbols in sans-serif font
Replies: 10
Views: 5482

Math symbols in sans-serif font

My code has this result:
Screen Shot 2018-03-29 at 11.19.17.png
Screen Shot 2018-03-29 at 11.19.17.png (9.72 KiB) Viewed 4857 times

but I'd like to make it look like this:
Screen Shot 2018-03-29 at 11.19.32.png
Screen Shot 2018-03-29 at 11.19.32.png (9.87 KiB) Viewed 4857 times

so the math symbols are a little more "compatible" with the text font.
Thank you.
by bstex
Thu Mar 29, 2018 9:36 am
Forum: Math & Science
Topic: Math symbols in sans-serif font
Replies: 10
Views: 5482

Math symbols in sans-serif font

Stefan, I had already tested these solutions, but none of them worked in my project. This code produces the EXACT same math symbol! \documentclass[a4paper,11pt,openright]{book} \usepackage{fontspec} \setmainfont[Kerning=On,Mapping=tex-text]{Myriad Pro} \begin{document} E $\simeq$ F \\ $\mathsf{E \si...
by bstex
Wed Mar 28, 2018 11:07 pm
Forum: Math & Science
Topic: Math symbols in sans-serif font
Replies: 10
Views: 5482

Math symbols in sans-serif font

Hi. Is there any way to make the symbols \leq , \simeq etc to be shown with a sans-serif font and also a little bit smaller? When I put them in math mode as $\leq$ and $\simeq$ , they don't "match" with my text font, because they are not sans-serif. When I put them in my code with copy/pas...
by bstex
Mon Mar 26, 2018 1:02 pm
Forum: Text Formatting
Topic: Left-align theorem numbers Topic is solved
Replies: 5
Views: 1247

Left-align theorem numbers Topic is solved

Your solution is excellent with the ntheorem package.
Thank you so much!
by bstex
Mon Mar 26, 2018 9:49 am
Forum: Text Formatting
Topic: Left-align theorem numbers Topic is solved
Replies: 5
Views: 1247

Left-align theorem numbers Topic is solved

I'll try your solution too.
Thank you very much, Stefan. ;)

Go to advanced search