示例#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'])