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