iA / Writer / サポート / プレビュー / テンプレート

iPhone 版テンプレート

iA Writer for iOS では、テンプレートを使って Preview や Print での文書の見た目を細かく整えられます。フォント、余白、行間などをコントロールできます。

テンプレートは Preview で、左から 2 番目のアイコンをタップして Template を選ぶことで切り替えられます。

A screenshot of the Editor with the Preview button on the top-right of the toolbar highlighted.A screenshot of the Preview with the template pop-up menu opened from the bottom toolbar.

標準テンプレート

iA Writer には 5 つの標準テンプレートが付属しています。

テンプレートは Preview で確認できます。Web モードや PDF モードで表示することもできます。以下は PDF モードでの簡単な一覧です。

Classic | Modern

A screenshot of side-by-side Preview with the Classic and Modern templates.

Mono | Duo | Quattro

A screenshot of side-by-side Preview with the Mono, Duo and Quattro templates.

GitHub

A side-by-side screenshot showing a text in the Editor and its Preview with the GitHub template.

GitHub テンプレートは、テクニカルライティングに特化している点で他の標準テンプレートとは一線を画しています。GitHub の CSS をそのまま再現して作られており、このテンプレートは、創作向けに使われる Default Template 設定(見出し番号やフッターなど)をサポートしていません。

追加テンプレート

長年にわたり、iA Writer チームは追加テンプレートも開発してきました。各テンプレートは個別にダウンロードして iA Writer にインストールできます。

Helvetica

シンプルで、クリーン | DownloadA side-by-side screenshot showing a text in the Editor and its Preview with the Helvetica template.

Palatino

散文に合うクラシックな書体 | DownloadA side-by-side screenshot showing a text in the Editor and its Preview with the Palatino template.

Academic MLA

学術文書向け | DownloadA side-by-side screenshot showing a text in the Editor and its Preview with the MLA template.

Letter

美しい手紙のために | DownloadA side-by-side screenshot showing a text in the Editor and its Preview with the Letter template.

Fountain

脚本用テンプレート | DownloadA side-by-side screenshot showing a text in the Editor and its Preview with the Fountain template.

Chess

棋譜を記録するためのテンプレート | DownloadA screenshot of the Chess template with Editor and Preview side by side.

自作テンプレート

CSS と HTML を使った DIY | Learn moreA side-by-side screenshot showing a text in the Editor and its Preview with the DIY template.

テンプレートのインストール

iOS で追加テンプレートをインストールするには、次の手順に従ってください。

A screenshot of the Templates tab from the Settings.

Note: テンプレートはダウンロード後に iA Writer に渡して使います。必要に応じて、アプリ内から削除したり再ダウンロードできます。

カスタムテンプレート

CSS、HTML、JS に慣れているユーザーは、自分の好みに合わせたカスタムテンプレートを作成できます。
詳しくは、専用ページの カスタムテンプレート をご覧ください。

また、文書内に HTML の style ブロックを追加して、選択中のテンプレートの CSS の一部を上書きすることもできます。以下の例では、コードブロックが PDF レンダリング時のフォントサイズを変更しています。

<style>
  @media print {
    body {
      font-size: 25pt;
    }
  }
</style>

A screenshot of an HTML style block in the Editor and its rendering in Preview.
この方法は、コードに慣れていない人や、テンプレートを作らずに少しだけ見た目を変えたい人(たとえばフォントサイズや色を変えたい場合)に向いています。

Preview で Web Inspector を有効にすると、どのコードや CSS クラスを対象にすればよいか確認できます。

テンプレート