// Make the first character in the first paragraph of the active tab be
// superscript.
const documentTab =
DocumentApp.getActiveDocument().getActiveTab().asDocumentTab();
const text = documentTab.getBody().getParagraphs()[0].editAsText();
text.setTextAlignment(0, 0, DocumentApp.TextAlignment.SUPERSCRIPT);
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["必要な情報がない","missingTheInformationINeed","thumb-down"],["複雑すぎる / 手順が多すぎる","tooComplicatedTooManySteps","thumb-down"],["最新ではない","outOfDate","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["サンプル / コードに問題がある","samplesCodeIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2024-12-03 UTC。"],[[["TextAlignment is used to set the alignment of text, such as normal, superscript, or subscript."],["You can access TextAlignment properties using `DocumentApp.TextAlignment` followed by the specific property like `NORMAL` or `SUPERSCRIPT`."],["The provided code snippet demonstrates how to apply superscript alignment to the first character of a paragraph."]]],[]]