New answers tagged

2

The character " is special in index files and it should be quoted like "" On the other hand, " should never be used alone in a LaTeX document, but it's OK with csquotes: \documentclass{article} \usepackage{imakeidx} \usepackage{xparse} \usepackage{siunitx} \usepackage{xcolor} \usepackage{csquotes} \usepackage{hyperref} \MakeOuterQuote{"} ...


0

I fixed this by moving \setlength{\topskip}{0mm} from document body into preamble. Have no idea why, but this was the problem.


2

As usual, it's an expansion problem; when the write happens, the error is that \bit is not defined, which it isn't unless we're processing \si or \SI. I'm not sure why the declaration seems to need being required also in the preamble, but you get a better setup if you avoid expanding the index entry. \documentclass{article} \usepackage{imakeidx} ...


4

Not with mdframed but with tcolorbox, this is working, if \begin{tcolorbox} is \protected. The style of the tcolorbox should be adapted with \newtcolorbox actually. \def\UseMdframeForFormatting{}% \documentclass{article} \usepackage{mdframed} \usepackage[most]{tcolorbox} \usepackage{imakeidx} \usepackage{xparse} \usepackage{hyperref} ...



Top 50 recent answers are included