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