# How to make a two bar duevolte?

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:

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
\Notes\qu{jjjj}\en\bar
\Notes\duevolte\en
\endpiece
\end{music}

\end{document}

-
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. – clemens May 1 '13 at 21:12
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
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

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

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.

-
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. – clemens May 1 '13 at 22:51