Tag Info

New answers tagged

1

For emacs, take a look at font-latex-math-face. Where the documentation says (customize this face), you can click that text to be brought to a GUI to set the various properties with previews. Face: font-latex-math-face (sample) (customize this face) Documentation: Face used to highlight math. Defined in `font-latex.el'. Family: unspecified ...


6

The listings documentation (page 44) mentions that the key tag is language specific (to HTML), so you need to make it available to your language \documentclass{article} \usepackage{xcolor} \usepackage{listings} \lstdefinelanguage{Ini} { basicstyle=\ttfamily\small, columns=fullflexible, tag=[s]{[]}, tagstyle=\color{blue}\bfseries, ...


1

Unfortunately, this is not possible. Currently, Pygments (which minted uses internally) performs all coloring based on styles, not based on color information passed to it. There has been a feature request for something like this since 2012, but it doesn't appear that any progress has been made. You have a couple of options. You could look through the ...


1

It seems that minted uses \colorbox for colored background, which is supported by tex4ht, we only need to configure it to support DarkGray color. Create file hello.cfg: \Preamble{xhtml} \Configure{HColor}{DarkGray}{\#1A1A1A} \begin{document} \EndPreamble and compile with htlatex test.tex "hello" "" "" -shell-escape \#1A1A1A is hexadecimal value of ...



Top 50 recent answers are included