I'm trying to generate guitar chords, everything is fine until I arrived to Do#m. Here is my snippet:

  \chord{4}{x,f1p1,f3p3,f4p3,f2p2,f1p1}{Do\#m (C\#m)}

Which outputs:

latex output

on this case, ideally, a bar should go from the finger 1 string 1 to finger 1 string 5.

How can I achieve that?


gchords doesn't have any functionality to distinguish barre chords. It looks like it's possible with musixguit but the documentation is in German only. This answer includes an example of producing a chord with the barre notated although it's not a partial barre as requested and I'm unsure if any existing package will do this out of the box. That said, it's probably a good starting point for being able to get the desired result.

Edit: Doing a bit more digging, it looks like the best package for the job is chordbox which does support partial barres. A good starting place for seeing what other options are available is here.

  • 1
    musixguit only uses the chord schemes from the musixtex package (and is not developed any more). guitarchordschemes can probably do what the OP wants... – cgnieder Jan 9 at 22:26
  • It looks like guitarchordschemes does do the job except that it produces horizontal chord charts rather than vertical (which are the norm). – Don Hosek Jan 9 at 23:10
  • 1
    Have a look at this answer of mine then tex.stackexchange.com/a/325547 – cgnieder Jan 9 at 23:12
  • 1
    BTW guitarchordschemes was meant to produce chord charts and not diagrams in songbooks in the first place. The former are usually printed the way that you look on a fretboard, i.e., horizontal. – cgnieder Jan 9 at 23:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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