進入 InDesign => 編輯 Script => 功能表 Help => Object Model Viewer => 左上方選擇 Adobe InDesign
宇元樣式選項 => 旁注設定 => 旁注 行數:2
框架符合選項 FrameFittingOption
參考:〈InDesign 說明:處理框架與物件〉,〈InDesign Help: Working with frames and objects〉
可以控制雙行夾註在哪裡換行,例如:
my_story.insertionPoints.lastItem().contents = SpecialCharacters.forcedLineBreak;
指定大小要用 visibleBounds,跟 geometricBounds 有點誤差,參考〈Work Around the Width/Height Gap〉2009.10.17