# rich 15.0.0 (MIT), harvested by tools/harvest_corpus.py
=== input
Adjust a string by cropping or padding with spaces such that it fits within the given number of cells.

    Args:
        text: String to adjust.
        total: Desired size in cells.
        unicode_version: Unicode version.

    Returns:
        A string with cell size equal to total.
    
=== parse google
short_description: 'Adjust a string by cropping or padding with spaces such that it fits within the given number of cells.'
blank_after_short_description: True
blank_after_long_description: False
style: google
- DocstringParam
  description: 'String to adjust.'
  kind: param
  key: 'param'
  arg_name: 'text'
  is_optional: False
- DocstringParam
  description: 'Desired size in cells.'
  kind: param
  key: 'param'
  arg_name: 'total'
  is_optional: False
- DocstringParam
  description: 'Unicode version.'
  kind: param
  key: 'param'
  arg_name: 'unicode_version'
  is_optional: False
- DocstringReturns
  description: 'A string with cell size equal to total.'
  kind: returns
  key: 'returns'
  is_generator: False
=== detect
google
=== compose google
Adjust a string by cropping or padding with spaces such that it fits within the given number of cells.

Args:
    text: String to adjust.
    total: Desired size in cells.
    unicode_version: Unicode version.

Returns:
    A string with cell size equal to total.
