2

I want to write \gamma with bold, for this I use \mathbf{\gamma} but the result that I have is not with bold. How can I fix this problem. someone can help me?

Thank you in advance.

\documentclass[a4paper,11pt]{report}
\usepackage[latin1]{inputenc} 
\usepackage[T1]{fontenc} 
\usepackage[francais]{babel} 
\usepackage[left=3cm,right=2.5cm,top=2.5cm,bottom=3cm]{geometry} 
\usepackage{color} 
\usepackage{amsmath} 
\usepackage{lmodern} 
\usepackage{amsthm} 
\usepackage[mathcal]{eucal} 
\usepackage{amssymb} 
\usepackage{mathrsfs} 
\usepackage{graphicx}
\usepackage{setspace} 
\usepackage{fancyhdr} 
\usepackage{natbib} 
\setstretch{1,4} 
\begin{document}

Définissons également le vecteur colonne

 $$\mathbf{\gamma}_c(t)=(\gamma_c^{(u,l,0,0)}(t),\gamma_c^{(u,l,1,0)}(t),...,\gamma_c^{(u,l,1,d)}(t),...,\gamma_c^{(u,l,k,0)}(t),...,\gamma_c^{(u,l,k,d)}(t))^{'}_{1*((d+1)k+1)}$$ 

\end{document}
  • 1
    \bm{\gamma} (bm package) – David Carlisle Jun 12 at 21:26
  • thank you i will try it. – salime Jun 12 at 21:28
  • no results with \ bm{} – salime Jun 12 at 21:37
  • 1
    then you are using a non standard font set, or you are doing something wrong, but as you have shown no code, it is hard to know. – David Carlisle Jun 12 at 21:38
  • if you change \mathbf to \bm or \boldsymbol as shown in the existing answers than you get a bold gamma. – David Carlisle Jun 12 at 23:05
6

enter image description here

\documentclass{article}

\usepackage{bm}

\begin{document}

\[
\gamma
\bm{\gamma}
\]

\end{document}
2

With \boldsymbol

\documentclass[a4paper,11pt]{report}
\usepackage[latin1]{inputenc} 
\usepackage[T1]{fontenc} 
\usepackage[francais]{babel} 
\usepackage[left=3cm,right=2.5cm,top=2.5cm,bottom=3cm]{geometry} 
\usepackage{color} 
\usepackage{amsmath} 
\usepackage{lmodern} 
\usepackage{amsthm} 
\usepackage[mathcal]{eucal} 
\usepackage{amssymb} 
\usepackage{mathrsfs} 
\usepackage{graphicx}
\usepackage{setspace} 
\usepackage{fancyhdr} 
\usepackage{natbib} 
\setstretch{1,4} 
\begin{document}

Définissons également le vecteur colonne

\[
\boldsymbol{\gamma}_c(t)=(\gamma_c^{(u,l,0,0)}(t),\gamma_c^{(u,l,1,0)}(t),...,\gamma_c^{(u,l,1,d)}(t),...,\gamma_c^{(u,l,k,0)}(t),...,\gamma_c^{(u,l,k,d)}(t))^{'}_{1*((d+1)k+1)}
\]

\end{document}

enter image description here

New contributor
user190633 is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
  • 3
    as a general rule \bm will give a better result than \boldsymbol (akthough the same in this case) – David Carlisle Jun 12 at 21:34
  • I agree totally with David: see this link tex.stackexchange.com/questions/3238/… – Sebastiano Jun 12 at 21:38
  • 2
    @salime you have two answers now that show complete documents (and bold gammas) if you are not getting bold, edit your question to make a similar complete example document that shows the problem – David Carlisle Jun 12 at 21:43
  • 1
    @salime that is not a complete document and it is not added as an edit to your question, You need to provide something that people can run and debug why you are not getting a bold font, it will be unrelated to the expression you have shown in that comment but related to your font setup in the preamble. mathptmx for example has no bold math fonts, if you are using that. – David Carlisle Jun 12 at 21:52
  • 1
    @salime do not post code in comments (it does not make a readable result) edit your question and add a complete document that shows the problem – David Carlisle Jun 12 at 22:09

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.