I want to write scheme function for this, but I don't know where to start:
\new Staff <<
{
c
}
\new Voice {
% \stemUp, if note c (in another voice) has stem down
% \stemDown, if note c has stem up
g
}
>>
