Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple Chords for single words #3

Open
JosuaHaug opened this issue Apr 3, 2015 · 5 comments
Open

Multiple Chords for single words #3

JosuaHaug opened this issue Apr 3, 2015 · 5 comments
Assignees

Comments

@JosuaHaug
Copy link

A lyrics word might consist of multiple syllables of which each should be able to carry a chord symbol

@cgnieder
Copy link
Owner

cgnieder commented Apr 3, 2015

How about something like this?

\documentclass{article}
\usepackage{leadsheets}
\begin{document}

\begin{song}{title=My Song}
\begin{verse}
  ^*-{C}sy ^*{E}la ^{Ami}ble \\
  ^*-{C}sy ^*-{E}la ^-{Ami}ble \\
  ^*-{C}sy ---^*-{E}la ---^-{Ami}ble \\
  ^*-{C}sy --^*-{E}la --^-{Ami}ble
\end{verse}
\end{song}

\end{document}

@JosuaHaug
Copy link
Author

That is a workaround I'm currently using.
However, I would prefer to just write

\documentclass{article}
\usepackage{leadsheets}
\begin{document}
\begin{song}{title=My Song}
\begin{verse}
  ^{C}sy^{E}la^{Ami}ble \\
\end{verse}
\end{song}
\end{document}

and let the script take care of the correct typesetting.
Would that be a considerable feature?

@cgnieder
Copy link
Owner

cgnieder commented Apr 4, 2015

That's actually not a workaround but how I intended the \chord macro (and its shortcut ^) to be used and the main reason for its starred variant. However, it might well be possible to improve the syntax. I'll try to think of something.

@JosuaHaug
Copy link
Author

The songs-package (https://www.ctan.org/pkg/songs) does this quite well (see page 11 in the docu).

@cgnieder
Copy link
Owner

cgnieder commented Jul 2, 2016

This would actually be quite easy if the chord were not centred above the syllable but were left-aligned… doing this and still centre the chord is much harder

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants