I am trying to typeset a vector with i-hat and j-hat components:
\documentclass{article}
\usepackage{amsmath}
\usepackage{mathtools}
\newcommand{\ihat}{\mathbf {\hat \imath}}
\newcommand{\jhat}{\mathbf {\hat \jmath}}
\newcommand{\vect}[1]{\mathbf #1}
\begin{document}
\begin{align}
\vect{F} &= 3\ihat + 4\jhat
\end{align}
\end{document}
However, \imath and \jmath will always be italicized, no matter what modifiers I apply \mathbf, \mathrm, etc.
How do I make \imath and \jmath bold and upright?


\mathrmcommand has no effect on\imathor\jmath. LaTeX is smart enough to remove the dot on the i or j when adding a hat. – Count Zero Sep 12 '11 at 14:07\jmathin latex command. – Jun 05 '15 at 06:29