I'm a little reticent about this example - it looks to me like this is trying to show every possible permutation of the markevery functionality, which IMHO is not the purpose of our gallery. I'd suggest taking one or two cases and making a simple example which demonstrates the best of the functionality. Hopefully the documentation of markevery can do the rest.