I am trying to make an abstract class name italic and bold at the same time but with the argument "type=abstract" I just get italic style but not bold.

Is there any way that it will get bold too? It doesn't look really nice because all other classes are bold.



enter image description here

Package needed to compile from here: http://perso.ensta-paristech.fr/~kielbasi/tikzuml/

  • Welcome to TeX.SX! Please help us (and also you) and add a minimal working example (MWE), that illustrates your problem. Reproducing the problem and finding out what the issue is will be much easier when we see compilable code, starting with \documentclass and ending with \end{document}. – Bobyandbob Aug 1 '17 at 7:10
  • There is a line \def\tikzumlClassName{{\it \tikzumlClassNameOld}} inside the sty file which could be changed to something like \def\tikzumlClassName{\textbf{\emph{\tikzumlClassNameOld}}}, but this may be not the best way to deal with this. – epR8GaYuh Aug 1 '17 at 7:19
  • Thank you very much for your response! I will try this now. – ce_guy Aug 1 '17 at 7:22
  • I have changed the line \ifthenelse{\equal{\tikzumlAssocClassTypeTmp}{abstract}}{% \let\tikzumlAssocClassNameOld\tikzumlAssocClassName% \def\tikzumlAssocClassName{{\textbf{\emph{\tikzumlAssocClassNameOld}}}}% now and were runningtexhash ~/texmf but it's still just italic not bold. – ce_guy Aug 1 '17 at 7:32

It works by changing line 460 (Version 29 March 2016) in tikz-uml.sty file from

\def\tikzumlClassName{{\it \tikzumlClassNameOld}}%



Thanks to @epR8GaYuh for pointing out.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.