if QUOTE in options and LINEWIDTH in options:
options.remove (LINEWIDTH)
- if FRAGMENT in options:
+ m = re.search (r'''\\(header|score)''', code)
+ if not m and (not options \
+ or not NOFRAGMENT in options or FRAGMENT in options):
if RAGGEDRIGHT not in options:
options.append (RAGGEDRIGHT)
body = FRAGMENT_LY