TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've been using the songs package to generate songbooks. I've been tweaking the package for my needs, but one of the remaining issues is the \showindex command. Consider the following code:





\showindex{My index}{titleidx}


\beginsong{Amazing Grace}[
  by={John Newton},
  sr={Luke 15:4; 2 Corinthians 4:8,9; Ephesians 2:8; Revelation 14:3},
  cr={Public domain.}]

Amazing grace! How sweet the sound
That saved a wretch like me!
I once was lost, but now am found;
Was blind, but now I see.



\chapter*{My chapter}

Hello world!


I like to use the fncychap package with the Sonny style, and it works for all my chapters/sections/indices, except for the index generated by the \showindex command. Is there a way to hack this command to make it compatible with the fncychap package?

share|improve this question
up vote 2 down vote accepted

The songs packages uses its own internal formatting for its \songchapter command which is used by \showindex. Adding the following code snippet after loading songs works for me:

share|improve this answer
Fantastic, lockstep! I'd never thought of that. Thanks a lot, it works like a charm! – Paulo Cereda Jul 17 '11 at 11:31

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.