Tag Info

New answers tagged

5

Just tell the package to use \boldmath as well as \textbf: \documentclass{article} \usepackage{hyperref} \usepackage[printonlyused]{acronym} \renewcommand*{\aclabelfont}[1]{\textbf{\boldmath\acsfont{#1}}} \begin{document} Hello, here are the acronyms: \ac{MA} and \ac{$M^{2}_c$} \begin{acronym} \acro{$M^{2}_c$}{My Math Customized Acronym} ...


5

It's better not to use a math formula in the first argument of \acro, but you can have it in the optional argument, as in \acro{M2C}[$\bm{M^{2}_c}$]{My Math Customized Acronym} which uses the \bm command from the same package to have bold math. MWE: \documentclass{article} \usepackage{bm} \usepackage{hyperref} \usepackage[printonlyused]{acronym} ...


1

\documentclass{report} \usepackage{enumitem} \begin{document} \begin{enumerate}[label=\textbf{(A\arabic*)}] \item foo \item foo \end{enumerate} \end{document}


2

When automating tex (speeding-up workflow is a particular case) — there's always two approaches: automate the problem in tex automate the problem in text-editor When talking about minimising key strokes — you can't get shorter then a single key stroke, and that is possible with automating text-editor. For example, here's an Emacs function which does ...


4

If you absolutely want double rules, you can have something cleaner (and a simpler code) with the hhline and cellspace packages: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{array,multirow,caption} \usepackage{cellspace, hhline} \setlength\cellspacetoplimit{3pt} \setlength\cellspacebottomlimit{3pt} \begin{document} \begin{table}[] ...


7

The table below labelled "First Version" gives you what you're requesting. However, I would like to encourage you to consider creating a more open look to the table, by omitting all vertical lines, dropping the doubled horizontal line, and using the rule-drawing macros of the booktabs package to create well-spaced horizontal lines. The result of these ...


4

This changes the chapter titles, leaders and page numbers to bold since it would be unusual to want the titles in bold but not the accompaniments. However, if you just want the titles in bold for whatever reason, simply revert the other 2 lines to your original code. The comments explain which line changes which thing. \documentclass{book} ...


12

The definitions are the wrong way round. You want something like \DeclareMathOperator{\curlinternal}{curl} \bmdefine\curl{\bm{\curlinternal}} Or you could save TeX some work figuring out what that means and do \newcommand\curl{\mathop{\mathbf{curl}}} instead. PS of course you like the bm package:-)



Top 50 recent answers are included