def center_justify(*args, **kwargs): """ Usage: $center_justify(<text>) Returns <text> centered in screen width. """ if args: return base_justify(args[0], align='c') return ""
def left_justify(*args, **kwargs): """ Usage: $left_justify(<text>) Returns <text> left-justified. """ if args: return base_justify(args[0], align='l') return ""
def right_justify(*args, **kwargs): """ Usage: $right_justify(<text>) Returns <text> right-justified across screen width. """ if args: return base_justify(args[0], align='r') return ""
def full_justify(*args, **kwargs): """ Usage: $full_justify(<text>) Returns <text> filling up screen width by adding extra space. """ if args: return base_justify(args[0], align='f') return ""