Texmaker and TeXstudio\boldsymbol not working anymore

Information and discussion about Texmaker, an integrated LaTeX environment for several platforms, and the related TeXstudio
Post Reply
texqwert1
Posts: 4
Joined: Sat Feb 22, 2014 3:23 pm

\boldsymbol not working anymore

Post by texqwert1 »

Hi guys,
I used to have an old version of Texmaker (~2 years old).

For writing vectors in the math environment I used \boldsymbol for making them bold. This worked for any kind of symbol including latin and greek letters with indices and hats or overlines.

However, since I updated Texmaker to the newest version, \boldsymbol is only working for greek letters. I tried using \boldmath for latin letters, but this makes them non-italic and indices are ignored.

Hopefully you can help me. :)

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

hugovdberg
Posts: 133
Joined: Sat Feb 25, 2012 6:12 pm

Re: \boldsymbol not working anymore

Post by hugovdberg »

Are you sure the only change is the version of texmaker? No changes in packages included in the document or versions of those packages or the latex compiler texmaker calls? Using another editor could not change the way the compiler typesets your document.
Ubuntu 13.10 + Tex Live 2013 + Texmaker / Windows 7 Pro + MikTex 2.9 + TexnicCenter / Android 4.3 + TexPortal + DroidEdit
texqwert1
Posts: 4
Joined: Sat Feb 22, 2014 3:23 pm

Re: \boldsymbol not working anymore

Post by texqwert1 »

Nope. No other changes. I updated MikTex and all packages afterwards, but it didn't change anything. I assume that the older version of Texmaker has changed \boldsymbol to something else when compiling in order to create bold symbols.

Is there another way to create italic bold latin letters with bold indices in math environment?
User avatar
Stefan Kottwitz
Site Admin
Posts: 10324
Joined: Mon Mar 10, 2008 9:44 pm

\boldsymbol not working anymore

Post by Stefan Kottwitz »

Welcome to the forum!

Texmaker doesn't change \boldsymbol. It's just the editor, all LaTeX code things are done by the TeX distribution, in your case by MiKTeX.

I guess the cause is within your code, it's just a concurrence that you updated Texmaker. Perhaps show your code as Infominimal working example, it would tell us more than a description by words.

Stefan
LaTeX.org admin
texqwert1
Posts: 4
Joined: Sat Feb 22, 2014 3:23 pm

Re: \boldsymbol not working anymore

Post by texqwert1 »

You didn't get me right. ;) I wasn't thinking of a modification of the packages. I was rather thinking that Texmaker maybe replaces "\boldsymbol{bla}" by "\rightcommand{bla}" in the source code because it knows that \boldsymbol won't work for latin letters.

Anyways, I found the problem. Indeed I haven't only updated Texmaker but I have also included the struktex package. Commenting out the include line solves the problem. Unfortunately, I need struktex. ^^ Any workaround or could you recommend another package for creating Nassi-Shneiderman diagrams?
User avatar
Stefan Kottwitz
Site Admin
Posts: 10324
Joined: Mon Mar 10, 2008 9:44 pm

\boldsymbol not working anymore

Post by Stefan Kottwitz »

Sure, there are several methods for making bold symbols, such as \bm of the bm package.

Stefan
LaTeX.org admin
texqwert1
Posts: 4
Joined: Sat Feb 22, 2014 3:23 pm

Re: \boldsymbol not working anymore

Post by texqwert1 »

In my opinion \bm looks nasty. The characters appear to be blurred. When you zoom in you can see the method of making the letters thicker. The same letter is printed several times with slight shift to the right. Looks poor in my eyes. In contrast, \boldsymbol seems to increase linewidth by itself. Looks nice. Any suggestion for a package for creating Nassi-Shneiderman diagrams?
User avatar
Stefan Kottwitz
Site Admin
Posts: 10324
Joined: Mon Mar 10, 2008 9:44 pm

\boldsymbol not working anymore

Post by Stefan Kottwitz »

Nassi-Shneiderman diagrams and any other diagrams can be drawn using the very capable TikZ package. It offers a lot more, so it has an extensive syntax. If you would like to learn it, you could use it for a lot of other things. See: TikZ diagram examples.

Stefan
LaTeX.org admin
Post Reply