def _option_align(arg):
    return directives.choice(arg, ("top", "middle", "bottom", "left", "center", "right"))
def _option_format(arg):
    return directives.choice(arg, ("python", "lisp"))
Exemple #3
0
def fontset_choice(arg):
    return directives.choice(arg, ["cm", "stix", "stixsans"])
Exemple #4
0
def _option_align(arg):
    return directives.choice(arg, ("top", "middle", "bottom", "left", "center",
                                   "right"))
Exemple #5
0
def _option_format(arg):
    return directives.choice(arg, ('python', 'lisp'))
Exemple #6
0
def fontset_choice(arg):
    return directives.choice(arg, ['cm', 'stix', 'stixsans'])