Guest User

Untitled

a guest
Nov 15th, 2018
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. documentclass{scrartcl}
  2. usepackage{bm}
  3. usepackage{amsmath}
  4. usepackage{filecontents}
  5. begin{filecontents*}{makeindexstyle.ist}
  6. headings_flag 1
  7. heading_prefix "{\sffamily\bfseries{"
  8. heading_suffix "}}\nopagebreakn\nopagebreak"
  9. end{filecontents*}
  10. usepackage{imakeidx}
  11. makeindex[intoc, options=-s makeindexstyle.ist]
  12.  
  13. begin{document}
  14. index{$bm{X}$}% works well
  15. begin{align}
  16. Pi(bm{u})=prod_{j=1}^du_j,quadbm{u}in[0,1]^d,label{def:pi}index{$Pi$}% produces "ERROR: CHAR: index 0 should be less than the length of the string" and "/usr/local/bin/texi2dvi: texindy failed"
  17. end{align}
  18. printindex
  19. end{document}
Add Comment
Please, Sign In to add comment