src/document/doc-printer.js/makeAlign
function makeAlign(indent, n, options) {
  if (n === -Infinity) {
    return indent.root || rootIndent();
  }

  if (n < 0) {
    return generateInd(indent, { type: "dedent" }, options);
  }

  if (!n) {
    return indent;
  }

  if (n.type === "root") {
    return { ...indent, root: indent };
  }

  const alignType = typeof n === "string" ? "stringAlign" : "numberAlign";

  return generateInd(indent, { type: alignType, n }, options);
}