Skip to content

Not Available in Dependency Control

Link to script

This script will fit the text in the current line inside the rectangular clip and try to make it justified.

Warning

This script uses Yutils to determine the width of the text. Therefore, the efficacy of this script entirely depends on whether Yutils can accurately determine the width of the text.

Usage

  • Add \an7 to the line.
  • Move the line so that the top left corner of text is exactly where it should be.
  • Draw a rectangular clip starting very close to top left corner of the text such that the width of the clip is equal to the length of the text you want to be fitted to.
  • Run the script.