Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I've been typesetting some equations, and I've found that the default behavior accents like \hat, \bar, \tilde, etc. makes a rather small and easily-missed mark. Is there some way to make the accents stand out more? In particular, is there any way to make them appear in bold (without affecting the letter they are over)?

share|improve this question
add comment

2 Answers

up vote 3 down vote accepted

Here is one solution, albeit cumbersome:

enter image description here

\documentclass{article}
\usepackage{amsmath}% http://ctan.org/pkg/amsmath
\newcommand{\thickhat}[1]{\mathbf{\hat{\text{$#1$}}}}
\newcommand{\thickbar}[1]{\mathbf{\bar{\text{$#1$}}}}
\newcommand{\thicktilde}[1]{\mathbf{\tilde{\text{$#1$}}}}
\begin{document}
$\hat{a}, \bar{a}, \tilde{a}$ \par
$\hat{\mathbf{a}}, \bar{\mathbf{a}}, \tilde{\mathbf{a}}$ \par
$\mathbf{\hat{a}}, \mathbf{\bar{a}}, \mathbf{\tilde{a}}$ \par
$\thickhat{a}, \thickbar{a}, \thicktilde{a}$ \par
\end{document}

amsmath provides the easy font-and-size switching capability via \text. This allows you to use the \thick-constructs inside super-/subscripts.

share|improve this answer
    
No, this is perfect. Thank you. –  yrudoy Aug 9 '12 at 23:11
    
@yrudoy and Werner: This solution doesn't properly place the bold accent. For example, \thickhat{A} doesn't yield the desired output. –  Hendrik Vogt Aug 12 '12 at 20:03
add comment

bm package can help here.

enter image description here

The first row is normal, the second is normal with bold accents and the third is all bold.

\documentclass{article}

\usepackage{bm}

\begin{document}

\showoutput

$\hat{a }\bar{a} \tilde{a}$

$\bm\hat{a} \bm\bar{a} \bm\tilde{a}$


$\bm{\hat{a}} \bm{\bar{a}} \bm{\tilde{a}}$


\end{document}
share|improve this answer
    
Terrific solution! I didn't know bm could do this. –  Hendrik Vogt Aug 12 '12 at 20:01
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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