Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

How do I make a duevolte that repeats the two preceding bars, with a double diagonal line and a big "2" above it, like the right one in this image:

enter image description here

The left one is \duevolte, but I can't figure out how to get the right one...

As requested, a minimal working example:

\documentclass[a4paper,oneside]{article}

\usepackage{musixtex}
\input musixper

\begin{document}

\begin{music}
\setclefsymbol1{}\nostartrule\nobarnumbers\parindent0pt
\startpiece\addspace\afterruleskip
\Notes\qu{jjjj}\en\bar
\Notes\duevolte\en
\endpiece
\end{music}

\end{document}
share|improve this question
2  
Welcome to TeX.sx! –  cmhughes May 1 '13 at 21:09
    
As far as I know musixtex (which provides \duevolte) doesn't have the two bar symbol. –  cgnieder May 1 '13 at 21:12
1  
Could you add a minimal working example (MWE) showing how to use \duevolte? Most users here won’t be familiar with musitex. –  doncherry May 1 '13 at 21:14
    
@doncherry: I don't think users not familiar with musixtex can help here, but there you go... –  kiw May 1 '13 at 21:23
2  
I went through (not manually though!) all 256 "characters" of \musickeyfont that musictex uses and none of them match what you're looking for... –  Jubobs May 1 '13 at 22:31

1 Answer 1

Tinkering around, I came up with the following workaround

\notes\sk\rlap{\loffset{0.54}\duevolte}\rlap{\roffset{0.54}\duevolte}\en\ccharnote{u}{\sk\sk\bf\large2}\xbar\notes\sk\en

which yields

fake two bar duevolte

Looks pretty convincing, although the two bars could be a bit closer. But then again you would see the two extra dots. I don't know how well it plays with horizontal scaling/spacing but I'll use it for now.

The good thing is, there is an actual bar macro in there so it doesn't mess up the bar counting, although one would still need to suppress the bar numbering for that \xbar.

share|improve this answer
    
nice idea! :) You could say \def\dduevolte{\rlap{\loffset{0.54}\duevolte}\rlap{\roffset{0.54}\duevolte}} and then use \dduevolte for convenience if you need this more often. –  cgnieder May 1 '13 at 22:51

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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