diff --git a/chant_img.php b/chant_img.php index fd6f3d7..a382984 100644 --- a/chant_img.php +++ b/chant_img.php @@ -138,7 +138,11 @@ function mgabc2tex($c, $firstverse = False) { $tex .= '\greannotation{\small \textbf{'.$mode.".}}\n"; } if($c['commentary']) { - $tex .= '\grecommentary{{\small \emph{'.$c['commentary']."}}}\n"; + if(strpos($c['gabc'], '|') === false) { + $tex .= '\grecommentary{{\small \emph{'.$c['commentary']."}}}\n"; + } else { + $tex .= '\grecommentary[1em]{{\small \emph{'.$c['commentary']."}}}\n"; + } $tex .= '\nolinebreak[4]'."\n"; } #