renewcommand

Pandoc markdown bold and color

时间秒杀一切 提交于 2020-08-08 18:52:50
问题 I am using pandoc and write my text in markdown. To create my own style I use a custom latex template. I want to style all bold words with a color. So when I type **a word** this word should not only be bold, but also e.g. blue. Using the following in my latex template file \newcommand\boldblue[1]{\textcolor{blue}{\textbf{#1}}} \renewcommand{\textbf}{\boldblue} gives me an error when converting to pdf using pandoc myfile -f markdown -t latex --template==mytemplate -o myfile.pdf which says TeX