# Viewing modes

How SumatraPDF arranges the pages of a document in its window: one page or two side by side, one at a time or as a scrolling stack, left to right or right to left, rotated, with or without blank margins. Most of these options are in the **View** menu. They apply to everything SumatraPDF shows as pages: PDF, XPS, DjVu, PostScript, ebooks, comic books and images, but not to CHM help files.

**Press `Ctrl + 6` / `7` / `8` for one page, two pages or book view, and `c` to scroll pages continuously.** At a glance:

- **Page layout:** Single Page `Ctrl + 6`, Facing `Ctrl + 7`, Book View `Ctrl + 8`
- **Continuous:** stack the pages and scroll through them, `c` (**View → Show Pages Continuously**)
- **Manga Mode:** two-page rows right to left (**View → Manga Mode**)
- **Rotate:** `[` / `]` (**View → Rotate Left / Rotate Right**)
- **Trim Empty Margins:** hide the blank margins around the content (**View → Trim Empty Margins**)
- **Uniform Page Width:** show every page as wide as page 1 (**View → Uniform Page Width**)
- **Presentation:** one page, full screen, `Ctrl + L` / `F5`

In the diagrams below, the gray box with a strip on top is the SumatraPDF window. White boxes are pages. Dashed outlines are the parts of pages that are scrolled out of view.

## Choose a page layout

```svg
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 660 214" width="660" height="214" role="img">
<title>Single Page shows one page, Facing two pages side by side starting with 1 and 2, Book View pairs starting with 2 and 3</title>
<rect class="sv-win" x="10" y="10" width="200" height="150" rx="3"/>
<rect class="sv-bar" x="10.8" y="10.8" width="198.5" height="9"/>
<clipPath id="vm-layouts-c1g"><rect x="-20" y="-40" width="260" height="214"/></clipPath>
<g clip-path="url(#vm-layouts-c1g)">
<rect class="sv-off" x="62" y="26" width="96" height="128"/>
<text class="sv-noff" x="110" y="90">3</text>
</g>
<clipPath id="vm-layouts-c1"><rect x="10" y="20" width="200" height="140"/></clipPath>
<g clip-path="url(#vm-layouts-c1)">
<rect class="sv-pg" x="62" y="26" width="96" height="128"/>
<line class="sv-ln" x1="76.4" y1="50.8" x2="143.6" y2="50.8"/>
<line class="sv-ln" x1="76.4" y1="62" x2="143.6" y2="62"/>
<line class="sv-ln" x1="76.4" y1="73.2" x2="143.6" y2="73.2"/>
<line class="sv-ln" x1="76.4" y1="84.4" x2="143.6" y2="84.4"/>
<line class="sv-ln" x1="76.4" y1="95.6" x2="143.6" y2="95.6"/>
<line class="sv-ln" x1="76.4" y1="106.8" x2="143.6" y2="106.8"/>
<line class="sv-ln" x1="76.4" y1="118" x2="143.6" y2="118"/>
<line class="sv-ln" x1="76.4" y1="129.2" x2="113.4" y2="129.2"/>
<rect class="sv-nb" x="96.5" y="80" width="27" height="20" rx="3"/>
<text class="sv-n" x="110" y="90">3</text>
</g>
<text class="sv-lb" x="110" y="182">Single Page</text>
<text class="sv-lb" x="110" y="200">one page</text>
<rect class="sv-win" x="230" y="10" width="200" height="150" rx="3"/>
<rect class="sv-bar" x="230.8" y="10.8" width="198.5" height="9"/>
<clipPath id="vm-layouts-c2g"><rect x="200" y="-40" width="260" height="214"/></clipPath>
<g clip-path="url(#vm-layouts-c2g)">
<rect class="sv-off" x="236" y="28.7" width="92" height="122.7"/>
<text class="sv-noff" x="282" y="90">3</text>
<rect class="sv-off" x="332" y="28.7" width="92" height="122.7"/>
<text class="sv-noff" x="378" y="90">4</text>
</g>
<clipPath id="vm-layouts-c2"><rect x="230" y="20" width="200" height="140"/></clipPath>
<g clip-path="url(#vm-layouts-c2)">
<rect class="sv-pg" x="236" y="28.7" width="92" height="122.7"/>
<line class="sv-ln" x1="249.8" y1="52.4" x2="314.2" y2="52.4"/>
<line class="sv-ln" x1="249.8" y1="63.2" x2="314.2" y2="63.2"/>
<line class="sv-ln" x1="249.8" y1="73.9" x2="314.2" y2="73.9"/>
<line class="sv-ln" x1="249.8" y1="84.6" x2="314.2" y2="84.6"/>
<line class="sv-ln" x1="249.8" y1="95.4" x2="314.2" y2="95.4"/>
<line class="sv-ln" x1="249.8" y1="106.1" x2="314.2" y2="106.1"/>
<line class="sv-ln" x1="249.8" y1="116.8" x2="314.2" y2="116.8"/>
<line class="sv-ln" x1="249.8" y1="127.6" x2="285.2" y2="127.6"/>
<rect class="sv-nb" x="268.5" y="80" width="27" height="20" rx="3"/>
<text class="sv-n" x="282" y="90">3</text>
<rect class="sv-pg" x="332" y="28.7" width="92" height="122.7"/>
<line class="sv-ln" x1="345.8" y1="52.4" x2="410.2" y2="52.4"/>
<line class="sv-ln" x1="345.8" y1="63.2" x2="410.2" y2="63.2"/>
<line class="sv-ln" x1="345.8" y1="73.9" x2="410.2" y2="73.9"/>
<line class="sv-ln" x1="345.8" y1="84.6" x2="410.2" y2="84.6"/>
<line class="sv-ln" x1="345.8" y1="95.4" x2="410.2" y2="95.4"/>
<line class="sv-ln" x1="345.8" y1="106.1" x2="410.2" y2="106.1"/>
<line class="sv-ln" x1="345.8" y1="116.8" x2="410.2" y2="116.8"/>
<line class="sv-ln" x1="345.8" y1="127.6" x2="381.2" y2="127.6"/>
<rect class="sv-nb" x="364.5" y="80" width="27" height="20" rx="3"/>
<text class="sv-n" x="378" y="90">4</text>
</g>
<text class="sv-lb" x="330" y="182">Facing</text>
<text class="sv-lb" x="330" y="200">pairs 1 | 2, 3 | 4, ...</text>
<rect class="sv-win" x="450" y="10" width="200" height="150" rx="3"/>
<rect class="sv-bar" x="450.8" y="10.8" width="198.5" height="9"/>
<clipPath id="vm-layouts-c3g"><rect x="420" y="-40" width="260" height="214"/></clipPath>
<g clip-path="url(#vm-layouts-c3g)">
<rect class="sv-off" x="456" y="28.7" width="92" height="122.7"/>
<text class="sv-noff" x="502" y="90">2</text>
<rect class="sv-off" x="552" y="28.7" width="92" height="122.7"/>
<text class="sv-noff" x="598" y="90">3</text>
</g>
<clipPath id="vm-layouts-c3"><rect x="450" y="20" width="200" height="140"/></clipPath>
<g clip-path="url(#vm-layouts-c3)">
<rect class="sv-pg" x="456" y="28.7" width="92" height="122.7"/>
<line class="sv-ln" x1="469.8" y1="52.4" x2="534.2" y2="52.4"/>
<line class="sv-ln" x1="469.8" y1="63.2" x2="534.2" y2="63.2"/>
<line class="sv-ln" x1="469.8" y1="73.9" x2="534.2" y2="73.9"/>
<line class="sv-ln" x1="469.8" y1="84.6" x2="534.2" y2="84.6"/>
<line class="sv-ln" x1="469.8" y1="95.4" x2="534.2" y2="95.4"/>
<line class="sv-ln" x1="469.8" y1="106.1" x2="534.2" y2="106.1"/>
<line class="sv-ln" x1="469.8" y1="116.8" x2="534.2" y2="116.8"/>
<line class="sv-ln" x1="469.8" y1="127.6" x2="505.2" y2="127.6"/>
<rect class="sv-nb" x="488.5" y="80" width="27" height="20" rx="3"/>
<text class="sv-n" x="502" y="90">2</text>
<rect class="sv-pg" x="552" y="28.7" width="92" height="122.7"/>
<line class="sv-ln" x1="565.8" y1="52.4" x2="630.2" y2="52.4"/>
<line class="sv-ln" x1="565.8" y1="63.2" x2="630.2" y2="63.2"/>
<line class="sv-ln" x1="565.8" y1="73.9" x2="630.2" y2="73.9"/>
<line class="sv-ln" x1="565.8" y1="84.6" x2="630.2" y2="84.6"/>
<line class="sv-ln" x1="565.8" y1="95.4" x2="630.2" y2="95.4"/>
<line class="sv-ln" x1="565.8" y1="106.1" x2="630.2" y2="106.1"/>
<line class="sv-ln" x1="565.8" y1="116.8" x2="630.2" y2="116.8"/>
<line class="sv-ln" x1="565.8" y1="127.6" x2="601.2" y2="127.6"/>
<rect class="sv-nb" x="584.5" y="80" width="27" height="20" rx="3"/>
<text class="sv-n" x="598" y="90">3</text>
</g>
<text class="sv-lb" x="550" y="182">Book View</text>
<text class="sv-lb" x="550" y="200">1 alone, then 2 | 3, ...</text>
</svg>
```

- **Single Page** (`Ctrl + 6`, `CmdSinglePageView`): one page across the window, centered.
- **Facing** (`Ctrl + 7`, `CmdFacingView`): two pages side by side, page 1 on the left and page 2 on the right, then 3 and 4, and so on.
- **Book View** (`Ctrl + 8`, `CmdBookView`): like Facing, but page 1 (the cover) is alone, so pages 2 and 3, 4 and 5 face each other the way they do in a printed book.

```svg
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 660 236" width="660" height="236" role="img">
<title>Facing pairs pages 1 and 2, 3 and 4. Book View shows page 1 alone, then pairs 2 and 3, 4 and 5</title>
<text class="sv-lb" x="48" y="62">Facing</text>
<rect class="sv-win" x="104" y="10" width="150" height="96" rx="3"/>
<rect class="sv-bar" x="104.8" y="10.8" width="148.5" height="9"/>
<clipPath id="vm-pairs-c1g"><rect x="74" y="-40" width="210" height="160"/></clipPath>
<g clip-path="url(#vm-pairs-c1g)">
<rect class="sv-off" x="120.5" y="25" width="57" height="76"/>
<text class="sv-noff" x="149" y="63">1</text>
<rect class="sv-off" x="180.5" y="25" width="57" height="76"/>
<text class="sv-noff" x="209" y="63">2</text>
</g>
<clipPath id="vm-pairs-c1"><rect x="104" y="20" width="150" height="86"/></clipPath>
<g clip-path="url(#vm-pairs-c1)">
<rect class="sv-pg" x="120.5" y="25" width="57" height="76"/>
<line class="sv-ln" x1="129.1" y1="41.7" x2="169" y2="41.7"/>
<line class="sv-ln" x1="129.1" y1="52.4" x2="169" y2="52.4"/>
<line class="sv-ln" x1="129.1" y1="63" x2="169" y2="63"/>
<line class="sv-ln" x1="129.1" y1="73.6" x2="169" y2="73.6"/>
<line class="sv-ln" x1="129.1" y1="84.3" x2="151" y2="84.3"/>
<rect class="sv-nb" x="135.5" y="53" width="27" height="20" rx="3"/>
<text class="sv-n" x="149" y="63">1</text>
<rect class="sv-pg" x="180.5" y="25" width="57" height="76"/>
<line class="sv-ln" x1="189.1" y1="41.7" x2="229" y2="41.7"/>
<line class="sv-ln" x1="189.1" y1="52.4" x2="229" y2="52.4"/>
<line class="sv-ln" x1="189.1" y1="63" x2="229" y2="63"/>
<line class="sv-ln" x1="189.1" y1="73.6" x2="229" y2="73.6"/>
<line class="sv-ln" x1="189.1" y1="84.3" x2="211" y2="84.3"/>
<rect class="sv-nb" x="195.5" y="53" width="27" height="20" rx="3"/>
<text class="sv-n" x="209" y="63">2</text>
</g>
<line class="sv-ac" x1="258" y1="60" x2="288" y2="60"/>
<polygon class="sv-acf" points="288,60 281.7,63 281.7,57"/>
<rect class="sv-win" x="294" y="10" width="150" height="96" rx="3"/>
<rect class="sv-bar" x="294.8" y="10.8" width="148.5" height="9"/>
<clipPath id="vm-pairs-c2g"><rect x="264" y="-40" width="210" height="160"/></clipPath>
<g clip-path="url(#vm-pairs-c2g)">
<rect class="sv-off" x="310.5" y="25" width="57" height="76"/>
<text class="sv-noff" x="339" y="63">3</text>
<rect class="sv-off" x="370.5" y="25" width="57" height="76"/>
<text class="sv-noff" x="399" y="63">4</text>
</g>
<clipPath id="vm-pairs-c2"><rect x="294" y="20" width="150" height="86"/></clipPath>
<g clip-path="url(#vm-pairs-c2)">
<rect class="sv-pg" x="310.5" y="25" width="57" height="76"/>
<line class="sv-ln" x1="319.1" y1="41.7" x2="359" y2="41.7"/>
<line class="sv-ln" x1="319.1" y1="52.4" x2="359" y2="52.4"/>
<line class="sv-ln" x1="319.1" y1="63" x2="359" y2="63"/>
<line class="sv-ln" x1="319.1" y1="73.6" x2="359" y2="73.6"/>
<line class="sv-ln" x1="319.1" y1="84.3" x2="341" y2="84.3"/>
<rect class="sv-nb" x="325.5" y="53" width="27" height="20" rx="3"/>
<text class="sv-n" x="339" y="63">3</text>
<rect class="sv-pg" x="370.5" y="25" width="57" height="76"/>
<line class="sv-ln" x1="379.1" y1="41.7" x2="419" y2="41.7"/>
<line class="sv-ln" x1="379.1" y1="52.4" x2="419" y2="52.4"/>
<line class="sv-ln" x1="379.1" y1="63" x2="419" y2="63"/>
<line class="sv-ln" x1="379.1" y1="73.6" x2="419" y2="73.6"/>
<line class="sv-ln" x1="379.1" y1="84.3" x2="401" y2="84.3"/>
<rect class="sv-nb" x="385.5" y="53" width="27" height="20" rx="3"/>
<text class="sv-n" x="399" y="63">4</text>
</g>
<line class="sv-ac" x1="448" y1="60" x2="478" y2="60"/>
<polygon class="sv-acf" points="478,60 471.7,63 471.7,57"/>
<rect class="sv-win" x="484" y="10" width="150" height="96" rx="3"/>
<rect class="sv-bar" x="484.8" y="10.8" width="148.5" height="9"/>
<clipPath id="vm-pairs-c3g"><rect x="454" y="-40" width="210" height="160"/></clipPath>
<g clip-path="url(#vm-pairs-c3g)">
<rect class="sv-off" x="500.5" y="25" width="57" height="76"/>
<text class="sv-noff" x="529" y="63">5</text>
<rect class="sv-off" x="560.5" y="25" width="57" height="76"/>
<text class="sv-noff" x="589" y="63">6</text>
</g>
<clipPath id="vm-pairs-c3"><rect x="484" y="20" width="150" height="86"/></clipPath>
<g clip-path="url(#vm-pairs-c3)">
<rect class="sv-pg" x="500.5" y="25" width="57" height="76"/>
<line class="sv-ln" x1="509.1" y1="41.7" x2="549" y2="41.7"/>
<line class="sv-ln" x1="509.1" y1="52.4" x2="549" y2="52.4"/>
<line class="sv-ln" x1="509.1" y1="63" x2="549" y2="63"/>
<line class="sv-ln" x1="509.1" y1="73.6" x2="549" y2="73.6"/>
<line class="sv-ln" x1="509.1" y1="84.3" x2="531" y2="84.3"/>
<rect class="sv-nb" x="515.5" y="53" width="27" height="20" rx="3"/>
<text class="sv-n" x="529" y="63">5</text>
<rect class="sv-pg" x="560.5" y="25" width="57" height="76"/>
<line class="sv-ln" x1="569.1" y1="41.7" x2="609" y2="41.7"/>
<line class="sv-ln" x1="569.1" y1="52.4" x2="609" y2="52.4"/>
<line class="sv-ln" x1="569.1" y1="63" x2="609" y2="63"/>
<line class="sv-ln" x1="569.1" y1="73.6" x2="609" y2="73.6"/>
<line class="sv-ln" x1="569.1" y1="84.3" x2="591" y2="84.3"/>
<rect class="sv-nb" x="575.5" y="53" width="27" height="20" rx="3"/>
<text class="sv-n" x="589" y="63">6</text>
</g>
<text class="sv-lb" x="48" y="174">Book View</text>
<rect class="sv-win" x="104" y="122" width="150" height="96" rx="3"/>
<rect class="sv-bar" x="104.8" y="122.8" width="148.5" height="9"/>
<clipPath id="vm-pairs-c4g"><rect x="74" y="72" width="210" height="160"/></clipPath>
<g clip-path="url(#vm-pairs-c4g)">
<rect class="sv-off" x="150.5" y="137" width="57" height="76"/>
<text class="sv-noff" x="179" y="175">1</text>
</g>
<clipPath id="vm-pairs-c4"><rect x="104" y="132" width="150" height="86"/></clipPath>
<g clip-path="url(#vm-pairs-c4)">
<rect class="sv-pg" x="150.5" y="137" width="57" height="76"/>
<line class="sv-ln" x1="159.1" y1="153.7" x2="199" y2="153.7"/>
<line class="sv-ln" x1="159.1" y1="164.4" x2="199" y2="164.4"/>
<line class="sv-ln" x1="159.1" y1="175" x2="199" y2="175"/>
<line class="sv-ln" x1="159.1" y1="185.6" x2="199" y2="185.6"/>
<line class="sv-ln" x1="159.1" y1="196.3" x2="181" y2="196.3"/>
<rect class="sv-nb" x="165.5" y="165" width="27" height="20" rx="3"/>
<text class="sv-n" x="179" y="175">1</text>
</g>
<line class="sv-ac" x1="258" y1="172" x2="288" y2="172"/>
<polygon class="sv-acf" points="288,172 281.7,175 281.7,169"/>
<rect class="sv-win" x="294" y="122" width="150" height="96" rx="3"/>
<rect class="sv-bar" x="294.8" y="122.8" width="148.5" height="9"/>
<clipPath id="vm-pairs-c5g"><rect x="264" y="72" width="210" height="160"/></clipPath>
<g clip-path="url(#vm-pairs-c5g)">
<rect class="sv-off" x="310.5" y="137" width="57" height="76"/>
<text class="sv-noff" x="339" y="175">2</text>
<rect class="sv-off" x="370.5" y="137" width="57" height="76"/>
<text class="sv-noff" x="399" y="175">3</text>
</g>
<clipPath id="vm-pairs-c5"><rect x="294" y="132" width="150" height="86"/></clipPath>
<g clip-path="url(#vm-pairs-c5)">
<rect class="sv-pg" x="310.5" y="137" width="57" height="76"/>
<line class="sv-ln" x1="319.1" y1="153.7" x2="359" y2="153.7"/>
<line class="sv-ln" x1="319.1" y1="164.4" x2="359" y2="164.4"/>
<line class="sv-ln" x1="319.1" y1="175" x2="359" y2="175"/>
<line class="sv-ln" x1="319.1" y1="185.6" x2="359" y2="185.6"/>
<line class="sv-ln" x1="319.1" y1="196.3" x2="341" y2="196.3"/>
<rect class="sv-nb" x="325.5" y="165" width="27" height="20" rx="3"/>
<text class="sv-n" x="339" y="175">2</text>
<rect class="sv-pg" x="370.5" y="137" width="57" height="76"/>
<line class="sv-ln" x1="379.1" y1="153.7" x2="419" y2="153.7"/>
<line class="sv-ln" x1="379.1" y1="164.4" x2="419" y2="164.4"/>
<line class="sv-ln" x1="379.1" y1="175" x2="419" y2="175"/>
<line class="sv-ln" x1="379.1" y1="185.6" x2="419" y2="185.6"/>
<line class="sv-ln" x1="379.1" y1="196.3" x2="401" y2="196.3"/>
<rect class="sv-nb" x="385.5" y="165" width="27" height="20" rx="3"/>
<text class="sv-n" x="399" y="175">3</text>
</g>
<line class="sv-ac" x1="448" y1="172" x2="478" y2="172"/>
<polygon class="sv-acf" points="478,172 471.7,175 471.7,169"/>
<rect class="sv-win" x="484" y="122" width="150" height="96" rx="3"/>
<rect class="sv-bar" x="484.8" y="122.8" width="148.5" height="9"/>
<clipPath id="vm-pairs-c6g"><rect x="454" y="72" width="210" height="160"/></clipPath>
<g clip-path="url(#vm-pairs-c6g)">
<rect class="sv-off" x="500.5" y="137" width="57" height="76"/>
<text class="sv-noff" x="529" y="175">4</text>
<rect class="sv-off" x="560.5" y="137" width="57" height="76"/>
<text class="sv-noff" x="589" y="175">5</text>
</g>
<clipPath id="vm-pairs-c6"><rect x="484" y="132" width="150" height="86"/></clipPath>
<g clip-path="url(#vm-pairs-c6)">
<rect class="sv-pg" x="500.5" y="137" width="57" height="76"/>
<line class="sv-ln" x1="509.1" y1="153.7" x2="549" y2="153.7"/>
<line class="sv-ln" x1="509.1" y1="164.4" x2="549" y2="164.4"/>
<line class="sv-ln" x1="509.1" y1="175" x2="549" y2="175"/>
<line class="sv-ln" x1="509.1" y1="185.6" x2="549" y2="185.6"/>
<line class="sv-ln" x1="509.1" y1="196.3" x2="531" y2="196.3"/>
<rect class="sv-nb" x="515.5" y="165" width="27" height="20" rx="3"/>
<text class="sv-n" x="529" y="175">4</text>
<rect class="sv-pg" x="560.5" y="137" width="57" height="76"/>
<line class="sv-ln" x1="569.1" y1="153.7" x2="609" y2="153.7"/>
<line class="sv-ln" x1="569.1" y1="164.4" x2="609" y2="164.4"/>
<line class="sv-ln" x1="569.1" y1="175" x2="609" y2="175"/>
<line class="sv-ln" x1="569.1" y1="185.6" x2="609" y2="185.6"/>
<line class="sv-ln" x1="569.1" y1="196.3" x2="591" y2="196.3"/>
<rect class="sv-nb" x="575.5" y="165" width="27" height="20" rx="3"/>
<text class="sv-n" x="589" y="175">5</text>
</g>
</svg>
```

In Facing and Book View the two pages of a row meet in the middle with a small gap between them (see [page spacing](#change-the-margins-and-the-gap-between-pages)). Each column is as wide as the widest page in it, and pages are aligned to the top of their row. The fit zooms (Fit Page, Fit Width) fit the whole row, both pages, to the window. In PDFs both pages of a row are then drawn at the same scale; in comics they are scaled to the same height.

A last page without a partner (page 5 of 5 in Facing, page 4 of 4 in Book View) is in the left column.

## Scroll pages continuously

```svg
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 470 330" width="470" height="330" role="img">
<title>Without continuous view the window shows only the current page. In continuous view pages are stacked and scroll through the window</title>
<rect class="sv-win" x="20" y="70" width="190" height="200" rx="3"/>
<rect class="sv-bar" x="20.8" y="70.8" width="188.5" height="9"/>
<clipPath id="vm-continuous-c1g"><rect x="-10" y="20" width="250" height="264"/></clipPath>
<g clip-path="url(#vm-continuous-c1g)">
<rect class="sv-off" x="48.3" y="86" width="133.5" height="178"/>
<text class="sv-noff" x="115" y="175">2</text>
</g>
<clipPath id="vm-continuous-c1"><rect x="20" y="80" width="190" height="190"/></clipPath>
<g clip-path="url(#vm-continuous-c1)">
<rect class="sv-pg" x="48.3" y="86" width="133.5" height="178"/>
<line class="sv-ln" x1="68.3" y1="120.5" x2="161.7" y2="120.5"/>
<line class="sv-ln" x1="68.3" y1="136.1" x2="161.7" y2="136.1"/>
<line class="sv-ln" x1="68.3" y1="151.6" x2="161.7" y2="151.6"/>
<line class="sv-ln" x1="68.3" y1="167.2" x2="161.7" y2="167.2"/>
<line class="sv-ln" x1="68.3" y1="182.8" x2="161.7" y2="182.8"/>
<line class="sv-ln" x1="68.3" y1="198.4" x2="161.7" y2="198.4"/>
<line class="sv-ln" x1="68.3" y1="213.9" x2="161.7" y2="213.9"/>
<line class="sv-ln" x1="68.3" y1="229.5" x2="119.7" y2="229.5"/>
<rect class="sv-nb" x="101.5" y="165" width="27" height="20" rx="3"/>
<text class="sv-n" x="115" y="175">2</text>
</g>
<text class="sv-lb" x="115" y="300">Single Page</text>
<text class="sv-lb" x="115" y="318">one page at a time</text>
<rect class="sv-win" x="260" y="70" width="190" height="200" rx="3"/>
<rect class="sv-bar" x="260.8" y="70.8" width="188.5" height="9"/>
<clipPath id="vm-continuous-c2g"><rect x="230" y="20" width="250" height="264"/></clipPath>
<g clip-path="url(#vm-continuous-c2g)">
<rect class="sv-off" x="300" y="-34" width="110" height="146.7"/>
<text class="sv-noff" x="355" y="39.3">1</text>
<rect class="sv-off" x="300" y="120.7" width="110" height="146.7"/>
<text class="sv-noff" x="355" y="194">2</text>
<rect class="sv-off" x="300" y="275.3" width="110" height="146.7"/>
<text class="sv-noff" x="355" y="348.7">3</text>
</g>
<clipPath id="vm-continuous-c2"><rect x="260" y="80" width="190" height="190"/></clipPath>
<g clip-path="url(#vm-continuous-c2)">
<rect class="sv-pg" x="300" y="-34" width="110" height="146.7"/>
<line class="sv-ln" x1="316.5" y1="-5.6" x2="393.5" y2="-5.6"/>
<line class="sv-ln" x1="316.5" y1="7.3" x2="393.5" y2="7.3"/>
<line class="sv-ln" x1="316.5" y1="20.1" x2="393.5" y2="20.1"/>
<line class="sv-ln" x1="316.5" y1="32.9" x2="393.5" y2="32.9"/>
<line class="sv-ln" x1="316.5" y1="45.8" x2="393.5" y2="45.8"/>
<line class="sv-ln" x1="316.5" y1="58.6" x2="393.5" y2="58.6"/>
<line class="sv-ln" x1="316.5" y1="71.4" x2="393.5" y2="71.4"/>
<line class="sv-ln" x1="316.5" y1="84.2" x2="358.9" y2="84.2"/>
<rect class="sv-nb" x="341.5" y="29.3" width="27" height="20" rx="3"/>
<text class="sv-n" x="355" y="39.3">1</text>
<rect class="sv-pg" x="300" y="120.7" width="110" height="146.7"/>
<line class="sv-ln" x1="316.5" y1="149.1" x2="393.5" y2="149.1"/>
<line class="sv-ln" x1="316.5" y1="161.9" x2="393.5" y2="161.9"/>
<line class="sv-ln" x1="316.5" y1="174.8" x2="393.5" y2="174.8"/>
<line class="sv-ln" x1="316.5" y1="187.6" x2="393.5" y2="187.6"/>
<line class="sv-ln" x1="316.5" y1="200.4" x2="393.5" y2="200.4"/>
<line class="sv-ln" x1="316.5" y1="213.3" x2="393.5" y2="213.3"/>
<line class="sv-ln" x1="316.5" y1="226.1" x2="393.5" y2="226.1"/>
<line class="sv-ln" x1="316.5" y1="238.9" x2="358.9" y2="238.9"/>
<rect class="sv-nb" x="341.5" y="184" width="27" height="20" rx="3"/>
<text class="sv-n" x="355" y="194">2</text>
<rect class="sv-pg" x="300" y="275.3" width="110" height="146.7"/>
<line class="sv-ln" x1="316.5" y1="303.8" x2="393.5" y2="303.8"/>
<line class="sv-ln" x1="316.5" y1="316.6" x2="393.5" y2="316.6"/>
<line class="sv-ln" x1="316.5" y1="329.4" x2="393.5" y2="329.4"/>
<line class="sv-ln" x1="316.5" y1="342.3" x2="393.5" y2="342.3"/>
<line class="sv-ln" x1="316.5" y1="355.1" x2="393.5" y2="355.1"/>
<line class="sv-ln" x1="316.5" y1="367.9" x2="393.5" y2="367.9"/>
<line class="sv-ln" x1="316.5" y1="380.8" x2="393.5" y2="380.8"/>
<line class="sv-ln" x1="316.5" y1="393.6" x2="358.9" y2="393.6"/>
<rect class="sv-nb" x="341.5" y="338.7" width="27" height="20" rx="3"/>
<text class="sv-n" x="355" y="348.7">3</text>
</g>
<line class="sv-ac" x1="440" y1="120" x2="440" y2="220"/>
<polygon class="sv-acf" points="440,220 437,213.7 443,213.7"/>
<polygon class="sv-acf" points="440,120 443,126.3 437,126.3"/>
<text class="sv-lb" x="355" y="300">Single Page, continuous</text>
<text class="sv-lb" x="355" y="318">pages stacked, scroll through</text>
</svg>
```

**View → Show Pages Continuously** (`c`, `CmdToggleContinuousView`) switches between two ways of showing pages:

- **Not continuous:** the window shows only the current page (or the current pair of pages). Go to another page with `n` / `p`, `Page Down` / `Page Up` or the toolbar arrows. With Fit Page the page fits the window and there is nothing to scroll.
- **Continuous:** all pages are stacked from top to bottom, with a small gap between them, and you scroll through them like one long sheet.

Continuous works with every layout, so there are six combinations: Single Page, Facing and Book View, each continuous or not.

```svg
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 470 290" width="470" height="290" role="img">
<title>Continuous facing stacks rows of two pages. Continuous book view puts page 1 alone in the right column</title>
<rect class="sv-win" x="20" y="30" width="190" height="200" rx="3"/>
<rect class="sv-bar" x="20.8" y="30.8" width="188.5" height="9"/>
<clipPath id="vm-continuous-two-c1g"><rect x="-10" y="-20" width="250" height="264"/></clipPath>
<g clip-path="url(#vm-continuous-two-c1g)">
<rect class="sv-off" x="42.5" y="16" width="70" height="93.3"/>
<text class="sv-noff" x="77.5" y="62.7">1</text>
<rect class="sv-off" x="117.5" y="16" width="70" height="93.3"/>
<text class="sv-noff" x="152.5" y="62.7">2</text>
<rect class="sv-off" x="42.5" y="114.3" width="70" height="93.3"/>
<text class="sv-noff" x="77.5" y="161">3</text>
<rect class="sv-off" x="117.5" y="114.3" width="70" height="93.3"/>
<text class="sv-noff" x="152.5" y="161">4</text>
<rect class="sv-off" x="42.5" y="212.7" width="70" height="93.3"/>
<text class="sv-noff" x="77.5" y="259.3">5</text>
<rect class="sv-off" x="117.5" y="212.7" width="70" height="93.3"/>
<text class="sv-noff" x="152.5" y="259.3">6</text>
</g>
<clipPath id="vm-continuous-two-c1"><rect x="20" y="40" width="190" height="190"/></clipPath>
<g clip-path="url(#vm-continuous-two-c1)">
<rect class="sv-pg" x="42.5" y="16" width="70" height="93.3"/>
<line class="sv-ln" x1="53" y1="34.7" x2="102" y2="34.7"/>
<line class="sv-ln" x1="53" y1="44" x2="102" y2="44"/>
<line class="sv-ln" x1="53" y1="53.3" x2="102" y2="53.3"/>
<line class="sv-ln" x1="53" y1="62.7" x2="102" y2="62.7"/>
<line class="sv-ln" x1="53" y1="72" x2="102" y2="72"/>
<line class="sv-ln" x1="53" y1="81.3" x2="102" y2="81.3"/>
<line class="sv-ln" x1="53" y1="90.7" x2="80" y2="90.7"/>
<rect class="sv-nb" x="64" y="52.7" width="27" height="20" rx="3"/>
<text class="sv-n" x="77.5" y="62.7">1</text>
<rect class="sv-pg" x="117.5" y="16" width="70" height="93.3"/>
<line class="sv-ln" x1="128" y1="34.7" x2="177" y2="34.7"/>
<line class="sv-ln" x1="128" y1="44" x2="177" y2="44"/>
<line class="sv-ln" x1="128" y1="53.3" x2="177" y2="53.3"/>
<line class="sv-ln" x1="128" y1="62.7" x2="177" y2="62.7"/>
<line class="sv-ln" x1="128" y1="72" x2="177" y2="72"/>
<line class="sv-ln" x1="128" y1="81.3" x2="177" y2="81.3"/>
<line class="sv-ln" x1="128" y1="90.7" x2="155" y2="90.7"/>
<rect class="sv-nb" x="139" y="52.7" width="27" height="20" rx="3"/>
<text class="sv-n" x="152.5" y="62.7">2</text>
<rect class="sv-pg" x="42.5" y="114.3" width="70" height="93.3"/>
<line class="sv-ln" x1="53" y1="133" x2="102" y2="133"/>
<line class="sv-ln" x1="53" y1="142.3" x2="102" y2="142.3"/>
<line class="sv-ln" x1="53" y1="151.7" x2="102" y2="151.7"/>
<line class="sv-ln" x1="53" y1="161" x2="102" y2="161"/>
<line class="sv-ln" x1="53" y1="170.3" x2="102" y2="170.3"/>
<line class="sv-ln" x1="53" y1="179.7" x2="102" y2="179.7"/>
<line class="sv-ln" x1="53" y1="189" x2="80" y2="189"/>
<rect class="sv-nb" x="64" y="151" width="27" height="20" rx="3"/>
<text class="sv-n" x="77.5" y="161">3</text>
<rect class="sv-pg" x="117.5" y="114.3" width="70" height="93.3"/>
<line class="sv-ln" x1="128" y1="133" x2="177" y2="133"/>
<line class="sv-ln" x1="128" y1="142.3" x2="177" y2="142.3"/>
<line class="sv-ln" x1="128" y1="151.7" x2="177" y2="151.7"/>
<line class="sv-ln" x1="128" y1="161" x2="177" y2="161"/>
<line class="sv-ln" x1="128" y1="170.3" x2="177" y2="170.3"/>
<line class="sv-ln" x1="128" y1="179.7" x2="177" y2="179.7"/>
<line class="sv-ln" x1="128" y1="189" x2="155" y2="189"/>
<rect class="sv-nb" x="139" y="151" width="27" height="20" rx="3"/>
<text class="sv-n" x="152.5" y="161">4</text>
<rect class="sv-pg" x="42.5" y="212.7" width="70" height="93.3"/>
<line class="sv-ln" x1="53" y1="231.3" x2="102" y2="231.3"/>
<line class="sv-ln" x1="53" y1="240.7" x2="102" y2="240.7"/>
<line class="sv-ln" x1="53" y1="250" x2="102" y2="250"/>
<line class="sv-ln" x1="53" y1="259.3" x2="102" y2="259.3"/>
<line class="sv-ln" x1="53" y1="268.7" x2="102" y2="268.7"/>
<line class="sv-ln" x1="53" y1="278" x2="102" y2="278"/>
<line class="sv-ln" x1="53" y1="287.3" x2="80" y2="287.3"/>
<rect class="sv-nb" x="64" y="249.3" width="27" height="20" rx="3"/>
<text class="sv-n" x="77.5" y="259.3">5</text>
<rect class="sv-pg" x="117.5" y="212.7" width="70" height="93.3"/>
<line class="sv-ln" x1="128" y1="231.3" x2="177" y2="231.3"/>
<line class="sv-ln" x1="128" y1="240.7" x2="177" y2="240.7"/>
<line class="sv-ln" x1="128" y1="250" x2="177" y2="250"/>
<line class="sv-ln" x1="128" y1="259.3" x2="177" y2="259.3"/>
<line class="sv-ln" x1="128" y1="268.7" x2="177" y2="268.7"/>
<line class="sv-ln" x1="128" y1="278" x2="177" y2="278"/>
<line class="sv-ln" x1="128" y1="287.3" x2="155" y2="287.3"/>
<rect class="sv-nb" x="139" y="249.3" width="27" height="20" rx="3"/>
<text class="sv-n" x="152.5" y="259.3">6</text>
</g>
<text class="sv-lb" x="115" y="260">Facing, continuous</text>
<rect class="sv-win" x="260" y="30" width="190" height="200" rx="3"/>
<rect class="sv-bar" x="260.8" y="30.8" width="188.5" height="9"/>
<clipPath id="vm-continuous-two-c2g"><rect x="230" y="-20" width="250" height="264"/></clipPath>
<g clip-path="url(#vm-continuous-two-c2g)">
<rect class="sv-off" x="357.5" y="16" width="70" height="93.3"/>
<text class="sv-noff" x="392.5" y="62.7">1</text>
<rect class="sv-off" x="282.5" y="114.3" width="70" height="93.3"/>
<text class="sv-noff" x="317.5" y="161">2</text>
<rect class="sv-off" x="357.5" y="114.3" width="70" height="93.3"/>
<text class="sv-noff" x="392.5" y="161">3</text>
<rect class="sv-off" x="282.5" y="212.7" width="70" height="93.3"/>
<text class="sv-noff" x="317.5" y="259.3">4</text>
<rect class="sv-off" x="357.5" y="212.7" width="70" height="93.3"/>
<text class="sv-noff" x="392.5" y="259.3">5</text>
</g>
<clipPath id="vm-continuous-two-c2"><rect x="260" y="40" width="190" height="190"/></clipPath>
<g clip-path="url(#vm-continuous-two-c2)">
<rect class="sv-pg" x="357.5" y="16" width="70" height="93.3"/>
<line class="sv-ln" x1="368" y1="34.7" x2="417" y2="34.7"/>
<line class="sv-ln" x1="368" y1="44" x2="417" y2="44"/>
<line class="sv-ln" x1="368" y1="53.3" x2="417" y2="53.3"/>
<line class="sv-ln" x1="368" y1="62.7" x2="417" y2="62.7"/>
<line class="sv-ln" x1="368" y1="72" x2="417" y2="72"/>
<line class="sv-ln" x1="368" y1="81.3" x2="417" y2="81.3"/>
<line class="sv-ln" x1="368" y1="90.7" x2="395" y2="90.7"/>
<rect class="sv-nb" x="379" y="52.7" width="27" height="20" rx="3"/>
<text class="sv-n" x="392.5" y="62.7">1</text>
<rect class="sv-pg" x="282.5" y="114.3" width="70" height="93.3"/>
<line class="sv-ln" x1="293" y1="133" x2="342" y2="133"/>
<line class="sv-ln" x1="293" y1="142.3" x2="342" y2="142.3"/>
<line class="sv-ln" x1="293" y1="151.7" x2="342" y2="151.7"/>
<line class="sv-ln" x1="293" y1="161" x2="342" y2="161"/>
<line class="sv-ln" x1="293" y1="170.3" x2="342" y2="170.3"/>
<line class="sv-ln" x1="293" y1="179.7" x2="342" y2="179.7"/>
<line class="sv-ln" x1="293" y1="189" x2="320" y2="189"/>
<rect class="sv-nb" x="304" y="151" width="27" height="20" rx="3"/>
<text class="sv-n" x="317.5" y="161">2</text>
<rect class="sv-pg" x="357.5" y="114.3" width="70" height="93.3"/>
<line class="sv-ln" x1="368" y1="133" x2="417" y2="133"/>
<line class="sv-ln" x1="368" y1="142.3" x2="417" y2="142.3"/>
<line class="sv-ln" x1="368" y1="151.7" x2="417" y2="151.7"/>
<line class="sv-ln" x1="368" y1="161" x2="417" y2="161"/>
<line class="sv-ln" x1="368" y1="170.3" x2="417" y2="170.3"/>
<line class="sv-ln" x1="368" y1="179.7" x2="417" y2="179.7"/>
<line class="sv-ln" x1="368" y1="189" x2="395" y2="189"/>
<rect class="sv-nb" x="379" y="151" width="27" height="20" rx="3"/>
<text class="sv-n" x="392.5" y="161">3</text>
<rect class="sv-pg" x="282.5" y="212.7" width="70" height="93.3"/>
<line class="sv-ln" x1="293" y1="231.3" x2="342" y2="231.3"/>
<line class="sv-ln" x1="293" y1="240.7" x2="342" y2="240.7"/>
<line class="sv-ln" x1="293" y1="250" x2="342" y2="250"/>
<line class="sv-ln" x1="293" y1="259.3" x2="342" y2="259.3"/>
<line class="sv-ln" x1="293" y1="268.7" x2="342" y2="268.7"/>
<line class="sv-ln" x1="293" y1="278" x2="342" y2="278"/>
<line class="sv-ln" x1="293" y1="287.3" x2="320" y2="287.3"/>
<rect class="sv-nb" x="304" y="249.3" width="27" height="20" rx="3"/>
<text class="sv-n" x="317.5" y="259.3">4</text>
<rect class="sv-pg" x="357.5" y="212.7" width="70" height="93.3"/>
<line class="sv-ln" x1="368" y1="231.3" x2="417" y2="231.3"/>
<line class="sv-ln" x1="368" y1="240.7" x2="417" y2="240.7"/>
<line class="sv-ln" x1="368" y1="250" x2="417" y2="250"/>
<line class="sv-ln" x1="368" y1="259.3" x2="417" y2="259.3"/>
<line class="sv-ln" x1="368" y1="268.7" x2="417" y2="268.7"/>
<line class="sv-ln" x1="368" y1="278" x2="417" y2="278"/>
<line class="sv-ln" x1="368" y1="287.3" x2="395" y2="287.3"/>
<rect class="sv-nb" x="379" y="249.3" width="27" height="20" rx="3"/>
<text class="sv-n" x="392.5" y="259.3">5</text>
</g>
<text class="sv-lb" x="355" y="260">Book View, continuous</text>
<text class="sv-lb" x="355" y="278">page 1 in the right column</text>
</svg>
```

In continuous Book View the cover (page 1) is in the right column, where a right-hand page of a book would be. When it is not continuous, the cover is shown centered.

Normally you can scroll only until the last page reaches the bottom of the window. Set `PaddingAfterLastPage = true` in [advanced settings](Advanced-options-settings.md) to scroll further, until the end of the document is at the top of the window.

## Set the layout new documents open with

`DefaultDisplayMode` in [advanced settings](Advanced-options-settings.md) is the layout used for a document you open for the first time. After that, SumatraPDF remembers the layout (and zoom, rotation and the other options on this page) for each document.

| Value | Layout |
| --- | --- |
| `automatic` (default) | the layout the document asks for (a PDF can say it should open as single pages or two-page spreads), continuous unless it asks for one page at a time; continuous single page if it says nothing |
| `single page`, `facing`, `book view` | that layout, not continuous |
| `continuous`, `continuous facing`, `continuous book view` | that layout, continuous |
| `page aspect` | looks at page 1 of a PDF, XPS, DjVu or PostScript file: a page taller than wide opens continuous at Fit Width, a page wider than tall opens as a single page at Fit Page |

`FixedPageUI.DefaultDisplayMode` (PDF, XPS, DjVu and PostScript) and `ComicBookUI.DefaultDisplayMode` (comic books) override it for those kinds of documents, so comics can open as two-page spreads while PDFs scroll. The command line option `-view` sets the layout of a file you open, e.g. `-view "continuous facing"` (see [Command line arguments](Command-line-arguments.md) for the values).

## Read right to left (manga mode)

```svg
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 660 240" width="660" height="240" role="img">
<title>Manga mode lays out the pages of a row right to left: page 2 left of page 1</title>
<rect class="sv-win" x="10" y="10" width="200" height="150" rx="3"/>
<rect class="sv-bar" x="10.8" y="10.8" width="198.5" height="9"/>
<clipPath id="vm-manga-c1g"><rect x="-20" y="-40" width="260" height="214"/></clipPath>
<g clip-path="url(#vm-manga-c1g)">
<rect class="sv-off" x="16" y="28.7" width="92" height="122.7"/>
<text class="sv-noff" x="62" y="90">1</text>
<rect class="sv-off" x="112" y="28.7" width="92" height="122.7"/>
<text class="sv-noff" x="158" y="90">2</text>
</g>
<clipPath id="vm-manga-c1"><rect x="10" y="20" width="200" height="140"/></clipPath>
<g clip-path="url(#vm-manga-c1)">
<rect class="sv-pg" x="16" y="28.7" width="92" height="122.7"/>
<line class="sv-ln" x1="29.8" y1="52.4" x2="94.2" y2="52.4"/>
<line class="sv-ln" x1="29.8" y1="63.2" x2="94.2" y2="63.2"/>
<line class="sv-ln" x1="29.8" y1="73.9" x2="94.2" y2="73.9"/>
<line class="sv-ln" x1="29.8" y1="84.6" x2="94.2" y2="84.6"/>
<line class="sv-ln" x1="29.8" y1="95.4" x2="94.2" y2="95.4"/>
<line class="sv-ln" x1="29.8" y1="106.1" x2="94.2" y2="106.1"/>
<line class="sv-ln" x1="29.8" y1="116.8" x2="94.2" y2="116.8"/>
<line class="sv-ln" x1="29.8" y1="127.6" x2="65.2" y2="127.6"/>
<rect class="sv-nb" x="48.5" y="80" width="27" height="20" rx="3"/>
<text class="sv-n" x="62" y="90">1</text>
<rect class="sv-pg" x="112" y="28.7" width="92" height="122.7"/>
<line class="sv-ln" x1="125.8" y1="52.4" x2="190.2" y2="52.4"/>
<line class="sv-ln" x1="125.8" y1="63.2" x2="190.2" y2="63.2"/>
<line class="sv-ln" x1="125.8" y1="73.9" x2="190.2" y2="73.9"/>
<line class="sv-ln" x1="125.8" y1="84.6" x2="190.2" y2="84.6"/>
<line class="sv-ln" x1="125.8" y1="95.4" x2="190.2" y2="95.4"/>
<line class="sv-ln" x1="125.8" y1="106.1" x2="190.2" y2="106.1"/>
<line class="sv-ln" x1="125.8" y1="116.8" x2="190.2" y2="116.8"/>
<line class="sv-ln" x1="125.8" y1="127.6" x2="161.2" y2="127.6"/>
<rect class="sv-nb" x="144.5" y="80" width="27" height="20" rx="3"/>
<text class="sv-n" x="158" y="90">2</text>
</g>
<line class="sv-ac" x1="60" y1="172" x2="160" y2="172"/>
<polygon class="sv-acf" points="160,172 153.7,175 153.7,169"/>
<text class="sv-lb" x="110" y="204">Facing</text>
<text class="sv-lb" x="110" y="222">read left to right</text>
<rect class="sv-win" x="230" y="10" width="200" height="150" rx="3"/>
<rect class="sv-bar" x="230.8" y="10.8" width="198.5" height="9"/>
<clipPath id="vm-manga-c2g"><rect x="200" y="-40" width="260" height="214"/></clipPath>
<g clip-path="url(#vm-manga-c2g)">
<rect class="sv-off" x="236" y="28.7" width="92" height="122.7"/>
<text class="sv-noff" x="282" y="90">2</text>
<rect class="sv-off" x="332" y="28.7" width="92" height="122.7"/>
<text class="sv-noff" x="378" y="90">1</text>
</g>
<clipPath id="vm-manga-c2"><rect x="230" y="20" width="200" height="140"/></clipPath>
<g clip-path="url(#vm-manga-c2)">
<rect class="sv-pg" x="236" y="28.7" width="92" height="122.7"/>
<line class="sv-ln" x1="249.8" y1="52.4" x2="314.2" y2="52.4"/>
<line class="sv-ln" x1="249.8" y1="63.2" x2="314.2" y2="63.2"/>
<line class="sv-ln" x1="249.8" y1="73.9" x2="314.2" y2="73.9"/>
<line class="sv-ln" x1="249.8" y1="84.6" x2="314.2" y2="84.6"/>
<line class="sv-ln" x1="249.8" y1="95.4" x2="314.2" y2="95.4"/>
<line class="sv-ln" x1="249.8" y1="106.1" x2="314.2" y2="106.1"/>
<line class="sv-ln" x1="249.8" y1="116.8" x2="314.2" y2="116.8"/>
<line class="sv-ln" x1="249.8" y1="127.6" x2="285.2" y2="127.6"/>
<rect class="sv-nb" x="268.5" y="80" width="27" height="20" rx="3"/>
<text class="sv-n" x="282" y="90">2</text>
<rect class="sv-pg" x="332" y="28.7" width="92" height="122.7"/>
<line class="sv-ln" x1="345.8" y1="52.4" x2="410.2" y2="52.4"/>
<line class="sv-ln" x1="345.8" y1="63.2" x2="410.2" y2="63.2"/>
<line class="sv-ln" x1="345.8" y1="73.9" x2="410.2" y2="73.9"/>
<line class="sv-ln" x1="345.8" y1="84.6" x2="410.2" y2="84.6"/>
<line class="sv-ln" x1="345.8" y1="95.4" x2="410.2" y2="95.4"/>
<line class="sv-ln" x1="345.8" y1="106.1" x2="410.2" y2="106.1"/>
<line class="sv-ln" x1="345.8" y1="116.8" x2="410.2" y2="116.8"/>
<line class="sv-ln" x1="345.8" y1="127.6" x2="381.2" y2="127.6"/>
<rect class="sv-nb" x="364.5" y="80" width="27" height="20" rx="3"/>
<text class="sv-n" x="378" y="90">1</text>
</g>
<line class="sv-ac" x1="380" y1="172" x2="280" y2="172"/>
<polygon class="sv-acf" points="280,172 286.3,169 286.3,175"/>
<text class="sv-lb" x="330" y="204">Facing, Manga Mode</text>
<text class="sv-lb" x="330" y="222">read right to left</text>
<rect class="sv-win" x="450" y="10" width="200" height="150" rx="3"/>
<rect class="sv-bar" x="450.8" y="10.8" width="198.5" height="9"/>
<clipPath id="vm-manga-c3g"><rect x="420" y="-40" width="260" height="214"/></clipPath>
<g clip-path="url(#vm-manga-c3g)">
<rect class="sv-off" x="456" y="28.7" width="92" height="122.7"/>
<text class="sv-noff" x="502" y="90">3</text>
<rect class="sv-off" x="552" y="28.7" width="92" height="122.7"/>
<text class="sv-noff" x="598" y="90">2</text>
</g>
<clipPath id="vm-manga-c3"><rect x="450" y="20" width="200" height="140"/></clipPath>
<g clip-path="url(#vm-manga-c3)">
<rect class="sv-pg" x="456" y="28.7" width="92" height="122.7"/>
<line class="sv-ln" x1="469.8" y1="52.4" x2="534.2" y2="52.4"/>
<line class="sv-ln" x1="469.8" y1="63.2" x2="534.2" y2="63.2"/>
<line class="sv-ln" x1="469.8" y1="73.9" x2="534.2" y2="73.9"/>
<line class="sv-ln" x1="469.8" y1="84.6" x2="534.2" y2="84.6"/>
<line class="sv-ln" x1="469.8" y1="95.4" x2="534.2" y2="95.4"/>
<line class="sv-ln" x1="469.8" y1="106.1" x2="534.2" y2="106.1"/>
<line class="sv-ln" x1="469.8" y1="116.8" x2="534.2" y2="116.8"/>
<line class="sv-ln" x1="469.8" y1="127.6" x2="505.2" y2="127.6"/>
<rect class="sv-nb" x="488.5" y="80" width="27" height="20" rx="3"/>
<text class="sv-n" x="502" y="90">3</text>
<rect class="sv-pg" x="552" y="28.7" width="92" height="122.7"/>
<line class="sv-ln" x1="565.8" y1="52.4" x2="630.2" y2="52.4"/>
<line class="sv-ln" x1="565.8" y1="63.2" x2="630.2" y2="63.2"/>
<line class="sv-ln" x1="565.8" y1="73.9" x2="630.2" y2="73.9"/>
<line class="sv-ln" x1="565.8" y1="84.6" x2="630.2" y2="84.6"/>
<line class="sv-ln" x1="565.8" y1="95.4" x2="630.2" y2="95.4"/>
<line class="sv-ln" x1="565.8" y1="106.1" x2="630.2" y2="106.1"/>
<line class="sv-ln" x1="565.8" y1="116.8" x2="630.2" y2="116.8"/>
<line class="sv-ln" x1="565.8" y1="127.6" x2="601.2" y2="127.6"/>
<rect class="sv-nb" x="584.5" y="80" width="27" height="20" rx="3"/>
<text class="sv-n" x="598" y="90">2</text>
</g>
<line class="sv-ac" x1="600" y1="172" x2="500" y2="172"/>
<polygon class="sv-acf" points="500,172 506.3,169 506.3,175"/>
<text class="sv-lb" x="550" y="204">Book View, Manga Mode</text>
<text class="sv-lb" x="550" y="222">after page 1: 3 | 2</text>
</svg>
```

**View → Manga Mode** (`CmdToggleMangaMode`) lays out the pages of a two-page row from right to left: page 1 on the right, page 2 on the left. It is for manga and other right-to-left books, and only changes Facing and Book View (a single page has no left and right).

- `Left` goes to the next page and `Right` to the previous one, and clicking the window edges to turn pages (`ClickEdgeToTurnPage`) is reversed too.
- A document that states its reading direction (a PDF's `Direction` viewer preference, an EPUB's `page-progression-direction`) opens the way it asks.
- `ComicBookUI.CbxMangaMode = true` makes manga mode the default for comic books. See [Comics and manga](Comics-and-manga.md).

## Show landscape pages as spreads

```svg
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 470 290" width="470" height="290" role="img">
<title>With LandscapeAsSpread a landscape page takes a whole row; without it, it is paired with the next page</title>
<rect class="sv-win" x="20" y="30" width="190" height="200" rx="3"/>
<rect class="sv-bar" x="20.8" y="30.8" width="188.5" height="9"/>
<clipPath id="vm-spread-c1g"><rect x="-10" y="-20" width="250" height="264"/></clipPath>
<g clip-path="url(#vm-spread-c1g)">
<rect class="sv-off" x="52.5" y="36" width="60" height="80"/>
<text class="sv-noff" x="82.5" y="76">1</text>
<rect class="sv-off" x="117.5" y="36" width="60" height="80"/>
<text class="sv-noff" x="147.5" y="76">2</text>
<rect class="sv-off" x="52.5" y="121" width="125" height="93.8"/>
<text class="sv-noff" x="115" y="167.9">3</text>
<rect class="sv-off" x="52.5" y="219.8" width="60" height="80"/>
<text class="sv-noff" x="82.5" y="259.8">4</text>
<rect class="sv-off" x="117.5" y="219.8" width="60" height="80"/>
<text class="sv-noff" x="147.5" y="259.8">5</text>
</g>
<clipPath id="vm-spread-c1"><rect x="20" y="40" width="190" height="190"/></clipPath>
<g clip-path="url(#vm-spread-c1)">
<rect class="sv-pg" x="52.5" y="36" width="60" height="80"/>
<line class="sv-ln" x1="61.5" y1="52.7" x2="103.5" y2="52.7"/>
<line class="sv-ln" x1="61.5" y1="62" x2="103.5" y2="62"/>
<line class="sv-ln" x1="61.5" y1="71.3" x2="103.5" y2="71.3"/>
<line class="sv-ln" x1="61.5" y1="80.7" x2="103.5" y2="80.7"/>
<line class="sv-ln" x1="61.5" y1="90" x2="103.5" y2="90"/>
<line class="sv-ln" x1="61.5" y1="99.3" x2="84.6" y2="99.3"/>
<rect class="sv-nb" x="69" y="66" width="27" height="20" rx="3"/>
<text class="sv-n" x="82.5" y="76">1</text>
<rect class="sv-pg" x="117.5" y="36" width="60" height="80"/>
<line class="sv-ln" x1="126.5" y1="52.7" x2="168.5" y2="52.7"/>
<line class="sv-ln" x1="126.5" y1="62" x2="168.5" y2="62"/>
<line class="sv-ln" x1="126.5" y1="71.3" x2="168.5" y2="71.3"/>
<line class="sv-ln" x1="126.5" y1="80.7" x2="168.5" y2="80.7"/>
<line class="sv-ln" x1="126.5" y1="90" x2="168.5" y2="90"/>
<line class="sv-ln" x1="126.5" y1="99.3" x2="149.6" y2="99.3"/>
<rect class="sv-nb" x="134" y="66" width="27" height="20" rx="3"/>
<text class="sv-n" x="147.5" y="76">2</text>
<rect class="sv-pg" x="52.5" y="121" width="125" height="93.8"/>
<line class="sv-ln" x1="71.3" y1="139.8" x2="158.8" y2="139.8"/>
<line class="sv-ln" x1="71.3" y1="149.1" x2="158.8" y2="149.1"/>
<line class="sv-ln" x1="71.3" y1="158.5" x2="158.8" y2="158.5"/>
<line class="sv-ln" x1="71.3" y1="167.9" x2="158.8" y2="167.9"/>
<line class="sv-ln" x1="71.3" y1="177.3" x2="158.8" y2="177.3"/>
<line class="sv-ln" x1="71.3" y1="186.6" x2="158.8" y2="186.6"/>
<line class="sv-ln" x1="71.3" y1="196" x2="119.4" y2="196"/>
<rect class="sv-nb" x="101.5" y="157.9" width="27" height="20" rx="3"/>
<text class="sv-n" x="115" y="167.9">3</text>
<rect class="sv-pg" x="52.5" y="219.8" width="60" height="80"/>
<line class="sv-ln" x1="61.5" y1="236.4" x2="103.5" y2="236.4"/>
<line class="sv-ln" x1="61.5" y1="245.8" x2="103.5" y2="245.8"/>
<line class="sv-ln" x1="61.5" y1="255.1" x2="103.5" y2="255.1"/>
<line class="sv-ln" x1="61.5" y1="264.4" x2="103.5" y2="264.4"/>
<line class="sv-ln" x1="61.5" y1="273.8" x2="103.5" y2="273.8"/>
<line class="sv-ln" x1="61.5" y1="283.1" x2="84.6" y2="283.1"/>
<rect class="sv-nb" x="69" y="249.8" width="27" height="20" rx="3"/>
<text class="sv-n" x="82.5" y="259.8">4</text>
<rect class="sv-pg" x="117.5" y="219.8" width="60" height="80"/>
<line class="sv-ln" x1="126.5" y1="236.4" x2="168.5" y2="236.4"/>
<line class="sv-ln" x1="126.5" y1="245.8" x2="168.5" y2="245.8"/>
<line class="sv-ln" x1="126.5" y1="255.1" x2="168.5" y2="255.1"/>
<line class="sv-ln" x1="126.5" y1="264.4" x2="168.5" y2="264.4"/>
<line class="sv-ln" x1="126.5" y1="273.8" x2="168.5" y2="273.8"/>
<line class="sv-ln" x1="126.5" y1="283.1" x2="149.6" y2="283.1"/>
<rect class="sv-nb" x="134" y="249.8" width="27" height="20" rx="3"/>
<text class="sv-n" x="147.5" y="259.8">5</text>
</g>
<text class="sv-lb" x="115" y="260">LandscapeAsSpread = true</text>
<text class="sv-lb" x="115" y="278">spread 3 takes a whole row</text>
<rect class="sv-win" x="260" y="30" width="190" height="200" rx="3"/>
<rect class="sv-bar" x="260.8" y="30.8" width="188.5" height="9"/>
<clipPath id="vm-spread-c2g"><rect x="230" y="-20" width="250" height="264"/></clipPath>
<g clip-path="url(#vm-spread-c2g)">
<rect class="sv-off" x="292.5" y="36" width="60" height="80"/>
<text class="sv-noff" x="322.5" y="76">1</text>
<rect class="sv-off" x="357.5" y="36" width="60" height="80"/>
<text class="sv-noff" x="387.5" y="76">2</text>
<rect class="sv-off" x="292.5" y="121" width="60" height="45"/>
<text class="sv-noff" x="322.5" y="143.5">3</text>
<rect class="sv-off" x="357.5" y="121" width="60" height="80"/>
<text class="sv-noff" x="387.5" y="161">4</text>
<rect class="sv-off" x="292.5" y="206" width="60" height="80"/>
<text class="sv-noff" x="322.5" y="246">5</text>
<rect class="sv-off" x="357.5" y="206" width="60" height="80"/>
<text class="sv-noff" x="387.5" y="246">6</text>
</g>
<clipPath id="vm-spread-c2"><rect x="260" y="40" width="190" height="190"/></clipPath>
<g clip-path="url(#vm-spread-c2)">
<rect class="sv-pg" x="292.5" y="36" width="60" height="80"/>
<line class="sv-ln" x1="301.5" y1="52.7" x2="343.5" y2="52.7"/>
<line class="sv-ln" x1="301.5" y1="62" x2="343.5" y2="62"/>
<line class="sv-ln" x1="301.5" y1="71.3" x2="343.5" y2="71.3"/>
<line class="sv-ln" x1="301.5" y1="80.7" x2="343.5" y2="80.7"/>
<line class="sv-ln" x1="301.5" y1="90" x2="343.5" y2="90"/>
<line class="sv-ln" x1="301.5" y1="99.3" x2="324.6" y2="99.3"/>
<rect class="sv-nb" x="309" y="66" width="27" height="20" rx="3"/>
<text class="sv-n" x="322.5" y="76">1</text>
<rect class="sv-pg" x="357.5" y="36" width="60" height="80"/>
<line class="sv-ln" x1="366.5" y1="52.7" x2="408.5" y2="52.7"/>
<line class="sv-ln" x1="366.5" y1="62" x2="408.5" y2="62"/>
<line class="sv-ln" x1="366.5" y1="71.3" x2="408.5" y2="71.3"/>
<line class="sv-ln" x1="366.5" y1="80.7" x2="408.5" y2="80.7"/>
<line class="sv-ln" x1="366.5" y1="90" x2="408.5" y2="90"/>
<line class="sv-ln" x1="366.5" y1="99.3" x2="389.6" y2="99.3"/>
<rect class="sv-nb" x="374" y="66" width="27" height="20" rx="3"/>
<text class="sv-n" x="387.5" y="76">2</text>
<rect class="sv-pg" x="292.5" y="121" width="60" height="45"/>
<line class="sv-ln" x1="301.5" y1="133" x2="343.5" y2="133"/>
<line class="sv-ln" x1="301.5" y1="143.5" x2="343.5" y2="143.5"/>
<line class="sv-ln" x1="301.5" y1="154" x2="324.6" y2="154"/>
<rect class="sv-nb" x="309" y="133.5" width="27" height="20" rx="3"/>
<text class="sv-n" x="322.5" y="143.5">3</text>
<rect class="sv-pg" x="357.5" y="121" width="60" height="80"/>
<line class="sv-ln" x1="366.5" y1="137.7" x2="408.5" y2="137.7"/>
<line class="sv-ln" x1="366.5" y1="147" x2="408.5" y2="147"/>
<line class="sv-ln" x1="366.5" y1="156.3" x2="408.5" y2="156.3"/>
<line class="sv-ln" x1="366.5" y1="165.7" x2="408.5" y2="165.7"/>
<line class="sv-ln" x1="366.5" y1="175" x2="408.5" y2="175"/>
<line class="sv-ln" x1="366.5" y1="184.3" x2="389.6" y2="184.3"/>
<rect class="sv-nb" x="374" y="151" width="27" height="20" rx="3"/>
<text class="sv-n" x="387.5" y="161">4</text>
<rect class="sv-pg" x="292.5" y="206" width="60" height="80"/>
<line class="sv-ln" x1="301.5" y1="222.7" x2="343.5" y2="222.7"/>
<line class="sv-ln" x1="301.5" y1="232" x2="343.5" y2="232"/>
<line class="sv-ln" x1="301.5" y1="241.3" x2="343.5" y2="241.3"/>
<line class="sv-ln" x1="301.5" y1="250.7" x2="343.5" y2="250.7"/>
<line class="sv-ln" x1="301.5" y1="260" x2="343.5" y2="260"/>
<line class="sv-ln" x1="301.5" y1="269.3" x2="324.6" y2="269.3"/>
<rect class="sv-nb" x="309" y="236" width="27" height="20" rx="3"/>
<text class="sv-n" x="322.5" y="246">5</text>
<rect class="sv-pg" x="357.5" y="206" width="60" height="80"/>
<line class="sv-ln" x1="366.5" y1="222.7" x2="408.5" y2="222.7"/>
<line class="sv-ln" x1="366.5" y1="232" x2="408.5" y2="232"/>
<line class="sv-ln" x1="366.5" y1="241.3" x2="408.5" y2="241.3"/>
<line class="sv-ln" x1="366.5" y1="250.7" x2="408.5" y2="250.7"/>
<line class="sv-ln" x1="366.5" y1="260" x2="408.5" y2="260"/>
<line class="sv-ln" x1="366.5" y1="269.3" x2="389.6" y2="269.3"/>
<rect class="sv-nb" x="374" y="236" width="27" height="20" rx="3"/>
<text class="sv-n" x="387.5" y="246">6</text>
</g>
<text class="sv-lb" x="355" y="260">LandscapeAsSpread = false</text>
<text class="sv-lb" x="355" y="278">spread 3 squeezed next to 4</text>
</svg>
```

Comic books often store a double-page spread as one wide image. In Facing and Book View such a page is shown on its own row, as wide as two pages, instead of being squeezed into one half of a row next to the following page. This is on by default for comic books (`ComicBookUI.LandscapeAsSpread`) and folders of images (`ImageUI.LandscapeAsSpread`); set it to `false` to pair every page. Book View still keeps the cover alone. It doesn't apply to PDFs.

## Turn wide comic pages

```svg
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 470 300" width="470" height="300" role="img">
<title>Auto-Rotate Wide Pages turns a wide page in a tall window so it is shown as large as the other pages</title>
<rect class="sv-win" x="70" y="20" width="120" height="220" rx="3"/>
<rect class="sv-bar" x="70.8" y="20.8" width="118.5" height="9"/>
<clipPath id="vm-auto-rotate-c1g"><rect x="40" y="-30" width="180" height="284"/></clipPath>
<g clip-path="url(#vm-auto-rotate-c1g)">
<rect class="sv-off" x="76" y="94.5" width="108" height="81"/>
<text class="sv-noff" x="130" y="135">7</text>
</g>
<clipPath id="vm-auto-rotate-c1"><rect x="70" y="30" width="120" height="210"/></clipPath>
<g clip-path="url(#vm-auto-rotate-c1)">
<rect class="sv-pg" x="76" y="94.5" width="108" height="81"/>
<line class="sv-ln" x1="89.5" y1="109.7" x2="170.5" y2="109.7"/>
<line class="sv-ln" x1="89.5" y1="119.8" x2="170.5" y2="119.8"/>
<line class="sv-ln" x1="89.5" y1="129.9" x2="170.5" y2="129.9"/>
<line class="sv-ln" x1="89.5" y1="140.1" x2="170.5" y2="140.1"/>
<line class="sv-ln" x1="89.5" y1="150.2" x2="170.5" y2="150.2"/>
<line class="sv-ln" x1="89.5" y1="160.3" x2="134.1" y2="160.3"/>
<rect class="sv-nb" x="116.5" y="125" width="27" height="20" rx="3"/>
<text class="sv-n" x="130" y="135">7</text>
</g>
<text class="sv-lb" x="130" y="268">off: a small wide page</text>
<rect class="sv-win" x="290" y="20" width="120" height="220" rx="3"/>
<rect class="sv-bar" x="290.8" y="20.8" width="118.5" height="9"/>
<clipPath id="vm-auto-rotate-c2g"><rect x="260" y="-30" width="180" height="284"/></clipPath>
<g clip-path="url(#vm-auto-rotate-c2g)">
<rect class="sv-off" x="296" y="63" width="108" height="144"/>
<text class="sv-noff" x="350" y="135" transform="rotate(90 350 135)">7</text>
</g>
<clipPath id="vm-auto-rotate-c2"><rect x="290" y="30" width="120" height="210"/></clipPath>
<g clip-path="url(#vm-auto-rotate-c2)">
<rect class="sv-pg" x="296" y="63" width="108" height="144"/>
<line class="sv-ln" x1="385.4" y1="81" x2="385.4" y2="189"/>
<line class="sv-ln" x1="375.3" y1="81" x2="375.3" y2="189"/>
<line class="sv-ln" x1="365.2" y1="81" x2="365.2" y2="189"/>
<line class="sv-ln" x1="355.1" y1="81" x2="355.1" y2="189"/>
<line class="sv-ln" x1="344.9" y1="81" x2="344.9" y2="189"/>
<line class="sv-ln" x1="334.8" y1="81" x2="334.8" y2="189"/>
<line class="sv-ln" x1="324.7" y1="81" x2="324.7" y2="189"/>
<line class="sv-ln" x1="314.6" y1="81" x2="314.6" y2="140.4"/>
<rect class="sv-nb" x="340" y="121.5" width="20" height="27" rx="3"/>
<text class="sv-n" x="350" y="135" transform="rotate(90 350 135)">7</text>
</g>
<text class="sv-lb" x="350" y="268">on: turned to fill the window</text>
</svg>
```

**View → Auto-Rotate Wide Pages** (`CmdToggleAutoRotateWidePages`, comic books only) turns a page that is wider than it is tall so its long side follows the long side of the window. In a tall window a double-page spread then fills the window at Fit Page, as large as the other pages, instead of a small strip in the middle. It applies to the Single Page layout and is saved as `ComicBookUI.AutoRotateWidePages`.

## Rotate pages

```svg
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 304" width="700" height="304" role="img">
<title>After Rotate Right pages are landscape. Continuous view stacks them below each other, or with ContinuousScrollFollowsRotation in a row, next page to the left</title>
<rect class="sv-win" x="20" y="30" width="220" height="210" rx="3"/>
<rect class="sv-bar" x="20.8" y="30.8" width="218.5" height="9"/>
<clipPath id="vm-rotation-c1g"><rect x="-10" y="-20" width="280" height="274"/></clipPath>
<g clip-path="url(#vm-rotation-c1g)">
<rect class="sv-off" x="40" y="46" width="180" height="135"/>
<text class="sv-noff" x="130" y="113.5" transform="rotate(90 130 113.5)">1</text>
<rect class="sv-off" x="40" y="189" width="180" height="135"/>
<text class="sv-noff" x="130" y="256.5" transform="rotate(90 130 256.5)">2</text>
</g>
<clipPath id="vm-rotation-c1"><rect x="20" y="40" width="220" height="200"/></clipPath>
<g clip-path="url(#vm-rotation-c1)">
<rect class="sv-pg" x="40" y="46" width="180" height="135"/>
<line class="sv-ln" x1="185.1" y1="66.3" x2="185.1" y2="160.8"/>
<line class="sv-ln" x1="169.4" y1="66.3" x2="169.4" y2="160.8"/>
<line class="sv-ln" x1="153.6" y1="66.3" x2="153.6" y2="160.8"/>
<line class="sv-ln" x1="137.9" y1="66.3" x2="137.9" y2="160.8"/>
<line class="sv-ln" x1="122.1" y1="66.3" x2="122.1" y2="160.8"/>
<line class="sv-ln" x1="106.4" y1="66.3" x2="106.4" y2="160.8"/>
<line class="sv-ln" x1="90.6" y1="66.3" x2="90.6" y2="160.8"/>
<line class="sv-ln" x1="74.9" y1="66.3" x2="74.9" y2="118.2"/>
<rect class="sv-nb" x="120" y="100" width="20" height="27" rx="3"/>
<text class="sv-n" x="130" y="113.5" transform="rotate(90 130 113.5)">1</text>
<rect class="sv-pg" x="40" y="189" width="180" height="135"/>
<line class="sv-ln" x1="185.1" y1="209.3" x2="185.1" y2="303.8"/>
<line class="sv-ln" x1="169.4" y1="209.3" x2="169.4" y2="303.8"/>
<line class="sv-ln" x1="153.6" y1="209.3" x2="153.6" y2="303.8"/>
<line class="sv-ln" x1="137.9" y1="209.3" x2="137.9" y2="303.8"/>
<line class="sv-ln" x1="122.1" y1="209.3" x2="122.1" y2="303.8"/>
<line class="sv-ln" x1="106.4" y1="209.3" x2="106.4" y2="303.8"/>
<line class="sv-ln" x1="90.6" y1="209.3" x2="90.6" y2="303.8"/>
<line class="sv-ln" x1="74.9" y1="209.3" x2="74.9" y2="261.2"/>
<rect class="sv-nb" x="120" y="243" width="20" height="27" rx="3"/>
<text class="sv-n" x="130" y="256.5" transform="rotate(90 130 256.5)">2</text>
</g>
<line class="sv-ac" x1="232" y1="70" x2="232" y2="200"/>
<polygon class="sv-acf" points="232,200 229,193.7 235,193.7"/>
<polygon class="sv-acf" points="232,70 235,76.3 229,76.3"/>
<text class="sv-lb" x="130" y="276">Rotate Right, continuous</text>
<text class="sv-lb" x="130" y="294">next page below</text>
<rect class="sv-win" x="340" y="30" width="340" height="210" rx="3"/>
<rect class="sv-bar" x="340.8" y="30.8" width="338.5" height="9"/>
<clipPath id="vm-rotation-c2g"><rect x="310" y="-20" width="400" height="274"/></clipPath>
<g clip-path="url(#vm-rotation-c2g)">
<rect class="sv-off" x="421.3" y="46" width="250.7" height="188"/>
<text class="sv-noff" x="546.7" y="140" transform="rotate(90 546.7 140)">1</text>
<rect class="sv-off" x="162.7" y="46" width="250.7" height="188"/>
<text class="sv-noff" x="288" y="140" transform="rotate(90 288 140)">2</text>
</g>
<clipPath id="vm-rotation-c2"><rect x="340" y="40" width="340" height="200"/></clipPath>
<g clip-path="url(#vm-rotation-c2)">
<rect class="sv-pg" x="421.3" y="46" width="250.7" height="188"/>
<line class="sv-ln" x1="623.4" y1="74.2" x2="623.4" y2="205.8"/>
<line class="sv-ln" x1="601.5" y1="74.2" x2="601.5" y2="205.8"/>
<line class="sv-ln" x1="579.6" y1="74.2" x2="579.6" y2="205.8"/>
<line class="sv-ln" x1="557.6" y1="74.2" x2="557.6" y2="205.8"/>
<line class="sv-ln" x1="535.7" y1="74.2" x2="535.7" y2="205.8"/>
<line class="sv-ln" x1="513.8" y1="74.2" x2="513.8" y2="205.8"/>
<line class="sv-ln" x1="491.8" y1="74.2" x2="491.8" y2="205.8"/>
<line class="sv-ln" x1="469.9" y1="74.2" x2="469.9" y2="146.6"/>
<rect class="sv-nb" x="536.7" y="126.5" width="20" height="27" rx="3"/>
<text class="sv-n" x="546.7" y="140" transform="rotate(90 546.7 140)">1</text>
<rect class="sv-pg" x="162.7" y="46" width="250.7" height="188"/>
<line class="sv-ln" x1="364.8" y1="74.2" x2="364.8" y2="205.8"/>
<line class="sv-ln" x1="342.8" y1="74.2" x2="342.8" y2="205.8"/>
<line class="sv-ln" x1="320.9" y1="74.2" x2="320.9" y2="205.8"/>
<line class="sv-ln" x1="299" y1="74.2" x2="299" y2="205.8"/>
<line class="sv-ln" x1="277" y1="74.2" x2="277" y2="205.8"/>
<line class="sv-ln" x1="255.1" y1="74.2" x2="255.1" y2="205.8"/>
<line class="sv-ln" x1="233.2" y1="74.2" x2="233.2" y2="205.8"/>
<line class="sv-ln" x1="211.2" y1="74.2" x2="211.2" y2="146.6"/>
<rect class="sv-nb" x="278" y="126.5" width="20" height="27" rx="3"/>
<text class="sv-n" x="288" y="140" transform="rotate(90 288 140)">2</text>
</g>
<line class="sv-ac" x1="370" y1="254" x2="650" y2="254"/>
<polygon class="sv-acf" points="650,254 643.7,257 643.7,251"/>
<polygon class="sv-acf" points="370,254 376.3,251 376.3,257"/>
<text class="sv-lb" x="510" y="276">ContinuousScrollFollowsRotation = true</text>
<text class="sv-lb" x="510" y="294">next page to the left; wheel and Page Down go left</text>
</svg>
```

**View → Rotate Left** (`[`, `Shift + Ctrl + -`, `CmdRotateLeft`) and **Rotate Right** (`]`, `Shift + Ctrl + +`, `CmdRotateRight`) turn all pages by 90 degrees. The rotation is remembered for the document but doesn't change the file; to rotate pages in the PDF itself, see [Rotate PDF pages](Rotate-PDF-pages.md).

In continuous view the rotated pages are still stacked from top to bottom, which is what you want for sideways scans and charts. With `ContinuousScrollFollowsRotation = true` (**ver 3.7+**, off by default) the pages are laid out as if the whole document was turned, not each page: after Rotate Right the next page is to the left, after Rotate Left to the right, and after a half turn above. The mouse wheel and `Page Up` / `Page Down` move in that direction.

## Trim empty margins

```svg
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 470 290" width="470" height="290" role="img">
<title>Trim Empty Margins drops the blank margins around the page content, so the content is shown larger</title>
<rect class="sv-win" x="20" y="10" width="190" height="230" rx="3"/>
<rect class="sv-bar" x="20.8" y="10.8" width="188.5" height="9"/>
<clipPath id="vm-trim-c1g"><rect x="-10" y="-40" width="250" height="294"/></clipPath>
<g clip-path="url(#vm-trim-c1g)">
<rect class="sv-off" x="38.5" y="28" width="153" height="204"/>
<text class="sv-noff" x="115" y="130">1</text>
</g>
<clipPath id="vm-trim-c1"><rect x="20" y="20" width="190" height="220"/></clipPath>
<g clip-path="url(#vm-trim-c1)">
<rect class="sv-pg" x="38.5" y="28" width="153" height="204"/>
<line class="sv-ln" x1="72.9" y1="80.9" x2="157.1" y2="80.9"/>
<line class="sv-ln" x1="72.9" y1="94.9" x2="157.1" y2="94.9"/>
<line class="sv-ln" x1="72.9" y1="109" x2="157.1" y2="109"/>
<line class="sv-ln" x1="72.9" y1="123" x2="157.1" y2="123"/>
<line class="sv-ln" x1="72.9" y1="137" x2="157.1" y2="137"/>
<line class="sv-ln" x1="72.9" y1="151" x2="157.1" y2="151"/>
<line class="sv-ln" x1="72.9" y1="165.1" x2="157.1" y2="165.1"/>
<line class="sv-ln" x1="72.9" y1="179.1" x2="119.2" y2="179.1"/>
<rect class="sv-nb" x="101.5" y="120" width="27" height="20" rx="3"/>
<text class="sv-n" x="115" y="130">1</text>
</g>
<rect class="sv-ac" x="69.9" y="70.9" width="90.1" height="118.2" stroke-dasharray="3 3"/>
<text class="sv-lb" x="115" y="262">off: page with blank margins</text>
<rect class="sv-win" x="260" y="10" width="190" height="230" rx="3"/>
<rect class="sv-bar" x="260.8" y="10.8" width="188.5" height="9"/>
<clipPath id="vm-trim-c2g"><rect x="230" y="-40" width="250" height="294"/></clipPath>
<g clip-path="url(#vm-trim-c2g)">
<rect class="sv-off" x="278.5" y="28" width="153" height="204"/>
<text class="sv-noff" x="355" y="130">1</text>
</g>
<clipPath id="vm-trim-c2"><rect x="260" y="20" width="190" height="220"/></clipPath>
<g clip-path="url(#vm-trim-c2)">
<rect class="sv-pg" x="278.5" y="28" width="153" height="204"/>
<line class="sv-ln" x1="286.2" y1="49.7" x2="423.9" y2="49.7"/>
<line class="sv-ln" x1="286.2" y1="72.6" x2="423.9" y2="72.6"/>
<line class="sv-ln" x1="286.2" y1="95.6" x2="423.9" y2="95.6"/>
<line class="sv-ln" x1="286.2" y1="118.5" x2="423.9" y2="118.5"/>
<line class="sv-ln" x1="286.2" y1="141.5" x2="423.9" y2="141.5"/>
<line class="sv-ln" x1="286.2" y1="164.4" x2="423.9" y2="164.4"/>
<line class="sv-ln" x1="286.2" y1="187.4" x2="423.9" y2="187.4"/>
<line class="sv-ln" x1="286.2" y1="210.3" x2="361.9" y2="210.3"/>
<rect class="sv-nb" x="341.5" y="120" width="27" height="20" rx="3"/>
<text class="sv-n" x="355" y="130">1</text>
</g>
<text class="sv-lb" x="355" y="262">on: only the boxed area, larger</text>
</svg>
```

**View → Trim Empty Margins** (`CmdToggleTrimEmptyMargins`, **ver 3.7+**) shows each page without the blank space around its content. The page is laid out as just the area that has text or pictures, so:

- the fit zooms make the content larger, since no space is spent on margins
- in continuous view the content of one page follows closely after the content of the previous one

The content area of a page is found when the page first comes into view, so the layout can shift slightly as you scroll to new pages. Pages with nothing to trim are shown whole. The setting is remembered per document.

Compare with **Zoom → Fit Content** (`Ctrl + 3`), which zooms so the content fills the window but keeps the pages whole: the margins are still there, scrolled just out of view. Trim Empty Margins changes the pages themselves, so it works with every zoom.

## Show pages at the same width

```svg
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 470 330" width="470" height="330" role="img">
<title>At a percentage zoom pages keep their sizes. Uniform Page Width scales every page to the width of page 1</title>
<rect class="sv-win" x="20" y="30" width="190" height="240" rx="3"/>
<rect class="sv-bar" x="20.8" y="30.8" width="188.5" height="9"/>
<clipPath id="vm-uniform-c1g"><rect x="-10" y="-20" width="250" height="304"/></clipPath>
<g clip-path="url(#vm-uniform-c1g)">
<rect class="sv-off" x="70" y="40" width="90" height="120"/>
<text class="sv-noff" x="115" y="100">1</text>
<rect class="sv-off" x="83" y="166" width="64" height="90"/>
<text class="sv-noff" x="115" y="211">2</text>
<rect class="sv-off" x="55" y="262" width="120" height="90"/>
<text class="sv-noff" x="115" y="307">3</text>
</g>
<clipPath id="vm-uniform-c1"><rect x="20" y="40" width="190" height="230"/></clipPath>
<g clip-path="url(#vm-uniform-c1)">
<rect class="sv-pg" x="70" y="40" width="90" height="120"/>
<line class="sv-ln" x1="83.5" y1="63.3" x2="146.5" y2="63.3"/>
<line class="sv-ln" x1="83.5" y1="73.8" x2="146.5" y2="73.8"/>
<line class="sv-ln" x1="83.5" y1="84.3" x2="146.5" y2="84.3"/>
<line class="sv-ln" x1="83.5" y1="94.8" x2="146.5" y2="94.8"/>
<line class="sv-ln" x1="83.5" y1="105.3" x2="146.5" y2="105.3"/>
<line class="sv-ln" x1="83.5" y1="115.8" x2="146.5" y2="115.8"/>
<line class="sv-ln" x1="83.5" y1="126.3" x2="146.5" y2="126.3"/>
<line class="sv-ln" x1="83.5" y1="136.8" x2="118.2" y2="136.8"/>
<rect class="sv-nb" x="101.5" y="90" width="27" height="20" rx="3"/>
<text class="sv-n" x="115" y="100">1</text>
<rect class="sv-pg" x="83" y="166" width="64" height="90"/>
<line class="sv-ln" x1="92.6" y1="184.8" x2="137.4" y2="184.8"/>
<line class="sv-ln" x1="92.6" y1="195.3" x2="137.4" y2="195.3"/>
<line class="sv-ln" x1="92.6" y1="205.8" x2="137.4" y2="205.8"/>
<line class="sv-ln" x1="92.6" y1="216.3" x2="137.4" y2="216.3"/>
<line class="sv-ln" x1="92.6" y1="226.8" x2="137.4" y2="226.8"/>
<line class="sv-ln" x1="92.6" y1="237.3" x2="117.2" y2="237.3"/>
<rect class="sv-nb" x="101.5" y="201" width="27" height="20" rx="3"/>
<text class="sv-n" x="115" y="211">2</text>
<rect class="sv-pg" x="55" y="262" width="120" height="90"/>
<line class="sv-ln" x1="73" y1="280.8" x2="157" y2="280.8"/>
<line class="sv-ln" x1="73" y1="291.3" x2="157" y2="291.3"/>
<line class="sv-ln" x1="73" y1="301.8" x2="157" y2="301.8"/>
<line class="sv-ln" x1="73" y1="312.3" x2="157" y2="312.3"/>
<line class="sv-ln" x1="73" y1="322.8" x2="157" y2="322.8"/>
<line class="sv-ln" x1="73" y1="333.3" x2="119.2" y2="333.3"/>
<rect class="sv-nb" x="101.5" y="297" width="27" height="20" rx="3"/>
<text class="sv-n" x="115" y="307">3</text>
</g>
<text class="sv-lb" x="115" y="298">100%</text>
<text class="sv-lb" x="115" y="316">each page at its own size</text>
<rect class="sv-win" x="260" y="30" width="190" height="240" rx="3"/>
<rect class="sv-bar" x="260.8" y="30.8" width="188.5" height="9"/>
<clipPath id="vm-uniform-c2g"><rect x="230" y="-20" width="250" height="304"/></clipPath>
<g clip-path="url(#vm-uniform-c2g)">
<rect class="sv-off" x="310" y="40" width="90" height="120"/>
<text class="sv-noff" x="355" y="100">1</text>
<rect class="sv-off" x="310" y="166" width="90" height="126.6"/>
<text class="sv-noff" x="355" y="229.3">2</text>
<rect class="sv-off" x="310" y="298.6" width="90" height="67.5"/>
<text class="sv-noff" x="355" y="332.3">3</text>
</g>
<clipPath id="vm-uniform-c2"><rect x="260" y="40" width="190" height="230"/></clipPath>
<g clip-path="url(#vm-uniform-c2)">
<rect class="sv-pg" x="310" y="40" width="90" height="120"/>
<line class="sv-ln" x1="323.5" y1="63.3" x2="386.5" y2="63.3"/>
<line class="sv-ln" x1="323.5" y1="73.8" x2="386.5" y2="73.8"/>
<line class="sv-ln" x1="323.5" y1="84.3" x2="386.5" y2="84.3"/>
<line class="sv-ln" x1="323.5" y1="94.8" x2="386.5" y2="94.8"/>
<line class="sv-ln" x1="323.5" y1="105.3" x2="386.5" y2="105.3"/>
<line class="sv-ln" x1="323.5" y1="115.8" x2="386.5" y2="115.8"/>
<line class="sv-ln" x1="323.5" y1="126.3" x2="386.5" y2="126.3"/>
<line class="sv-ln" x1="323.5" y1="136.8" x2="358.2" y2="136.8"/>
<rect class="sv-nb" x="341.5" y="90" width="27" height="20" rx="3"/>
<text class="sv-n" x="355" y="100">1</text>
<rect class="sv-pg" x="310" y="166" width="90" height="126.6"/>
<line class="sv-ln" x1="323.5" y1="190.5" x2="386.5" y2="190.5"/>
<line class="sv-ln" x1="323.5" y1="201.6" x2="386.5" y2="201.6"/>
<line class="sv-ln" x1="323.5" y1="212.7" x2="386.5" y2="212.7"/>
<line class="sv-ln" x1="323.5" y1="223.7" x2="386.5" y2="223.7"/>
<line class="sv-ln" x1="323.5" y1="234.8" x2="386.5" y2="234.8"/>
<line class="sv-ln" x1="323.5" y1="245.9" x2="386.5" y2="245.9"/>
<line class="sv-ln" x1="323.5" y1="257" x2="386.5" y2="257"/>
<line class="sv-ln" x1="323.5" y1="268" x2="358.2" y2="268"/>
<rect class="sv-nb" x="341.5" y="219.3" width="27" height="20" rx="3"/>
<text class="sv-n" x="355" y="229.3">2</text>
<rect class="sv-pg" x="310" y="298.6" width="90" height="67.5"/>
<line class="sv-ln" x1="323.5" y1="313.4" x2="386.5" y2="313.4"/>
<line class="sv-ln" x1="323.5" y1="322.9" x2="386.5" y2="322.9"/>
<line class="sv-ln" x1="323.5" y1="332.3" x2="386.5" y2="332.3"/>
<line class="sv-ln" x1="323.5" y1="341.8" x2="386.5" y2="341.8"/>
<line class="sv-ln" x1="323.5" y1="351.2" x2="358.2" y2="351.2"/>
<rect class="sv-nb" x="341.5" y="322.3" width="27" height="20" rx="3"/>
<text class="sv-n" x="355" y="332.3">3</text>
</g>
<text class="sv-lb" x="355" y="298">100%, Uniform Page Width</text>
<text class="sv-lb" x="355" y="316">every page as wide as page 1</text>
</svg>
```

At a percentage zoom (100%, 150%, ...) every page is drawn at the same scale, so a document that mixes page sizes shows small pages small and large pages large. **View → Uniform Page Width** (`CmdToggleUniformPageWidth`, **ver 3.7+**) scales each page to the width page 1 has at that zoom, so all pages line up at the same width. It is remembered per document.

The fit zooms already size each page by itself: in the Single Page layout with Fit Width every page fills the window width, whatever its size.

## Zoom to fit the window

```svg
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 660 240" width="660" height="240" role="img">
<title>Fit Page shows the whole page, Fit Width fills the window width and scrolls, Fit Content fills the window with the content and hides the blank margins</title>
<rect class="sv-win" x="10" y="30" width="200" height="150" rx="3"/>
<rect class="sv-bar" x="10.8" y="30.8" width="198.5" height="9"/>
<clipPath id="vm-fit-c1g"><rect x="-20" y="-20" width="260" height="214"/></clipPath>
<g clip-path="url(#vm-fit-c1g)">
<rect class="sv-off" x="62" y="46" width="96" height="128"/>
<text class="sv-noff" x="110" y="110">1</text>
</g>
<clipPath id="vm-fit-c1"><rect x="10" y="40" width="200" height="140"/></clipPath>
<g clip-path="url(#vm-fit-c1)">
<rect class="sv-pg" x="62" y="46" width="96" height="128"/>
<line class="sv-ln" x1="81.2" y1="76.4" x2="138.8" y2="76.4"/>
<line class="sv-ln" x1="81.2" y1="86" x2="138.8" y2="86"/>
<line class="sv-ln" x1="81.2" y1="95.6" x2="138.8" y2="95.6"/>
<line class="sv-ln" x1="81.2" y1="105.2" x2="138.8" y2="105.2"/>
<line class="sv-ln" x1="81.2" y1="114.8" x2="138.8" y2="114.8"/>
<line class="sv-ln" x1="81.2" y1="124.4" x2="138.8" y2="124.4"/>
<line class="sv-ln" x1="81.2" y1="134" x2="138.8" y2="134"/>
<line class="sv-ln" x1="81.2" y1="143.6" x2="112.9" y2="143.6"/>
<rect class="sv-nb" x="96.5" y="100" width="27" height="20" rx="3"/>
<text class="sv-n" x="110" y="110">1</text>
</g>
<text class="sv-lb" x="110" y="206">Fit Page</text>
<text class="sv-lb" x="110" y="224">Ctrl + 0</text>
<rect class="sv-win" x="230" y="30" width="200" height="150" rx="3"/>
<rect class="sv-bar" x="230.8" y="30.8" width="198.5" height="9"/>
<clipPath id="vm-fit-c2g"><rect x="200" y="-20" width="260" height="214"/></clipPath>
<g clip-path="url(#vm-fit-c2g)">
<rect class="sv-off" x="236" y="46" width="188" height="250.7"/>
<text class="sv-noff" x="330" y="171.3">1</text>
</g>
<clipPath id="vm-fit-c2"><rect x="230" y="40" width="200" height="140"/></clipPath>
<g clip-path="url(#vm-fit-c2)">
<rect class="sv-pg" x="236" y="46" width="188" height="250.7"/>
<line class="sv-ln" x1="273.6" y1="105.5" x2="386.4" y2="105.5"/>
<line class="sv-ln" x1="273.6" y1="124.3" x2="386.4" y2="124.3"/>
<line class="sv-ln" x1="273.6" y1="143.1" x2="386.4" y2="143.1"/>
<line class="sv-ln" x1="273.6" y1="161.9" x2="386.4" y2="161.9"/>
<line class="sv-ln" x1="273.6" y1="180.7" x2="386.4" y2="180.7"/>
<line class="sv-ln" x1="273.6" y1="199.5" x2="386.4" y2="199.5"/>
<line class="sv-ln" x1="273.6" y1="218.3" x2="386.4" y2="218.3"/>
<line class="sv-ln" x1="273.6" y1="237.1" x2="335.6" y2="237.1"/>
<rect class="sv-nb" x="316.5" y="161.3" width="27" height="20" rx="3"/>
<text class="sv-n" x="330" y="171.3">1</text>
</g>
<text class="sv-lb" x="330" y="206">Fit Width</text>
<text class="sv-lb" x="330" y="224">Ctrl + 2</text>
<rect class="sv-win" x="450" y="30" width="200" height="150" rx="3"/>
<rect class="sv-bar" x="450.8" y="30.8" width="198.5" height="9"/>
<clipPath id="vm-fit-c3g"><rect x="420" y="-20" width="260" height="214"/></clipPath>
<g clip-path="url(#vm-fit-c3g)">
<rect class="sv-off" x="466.3" y="-1.7" width="167.5" height="223.3"/>
<text class="sv-noff" x="550" y="110">1</text>
</g>
<clipPath id="vm-fit-c3"><rect x="450" y="40" width="200" height="140"/></clipPath>
<g clip-path="url(#vm-fit-c3)">
<rect class="sv-pg" x="466.3" y="-1.7" width="167.5" height="223.3"/>
<line class="sv-ln" x1="499.8" y1="51.4" x2="600.3" y2="51.4"/>
<line class="sv-ln" x1="499.8" y1="68.1" x2="600.3" y2="68.1"/>
<line class="sv-ln" x1="499.8" y1="84.9" x2="600.3" y2="84.9"/>
<line class="sv-ln" x1="499.8" y1="101.6" x2="600.3" y2="101.6"/>
<line class="sv-ln" x1="499.8" y1="118.4" x2="600.3" y2="118.4"/>
<line class="sv-ln" x1="499.8" y1="135.1" x2="600.3" y2="135.1"/>
<line class="sv-ln" x1="499.8" y1="151.9" x2="600.3" y2="151.9"/>
<line class="sv-ln" x1="499.8" y1="168.6" x2="555" y2="168.6"/>
<rect class="sv-nb" x="536.5" y="100" width="27" height="20" rx="3"/>
<text class="sv-n" x="550" y="110">1</text>
</g>
<text class="sv-lb" x="550" y="206">Fit Content</text>
<text class="sv-lb" x="550" y="224">Ctrl + 3</text>
</svg>
```

The zoom decides how large the pages are drawn. The fit zooms follow the window: when you resize it, the pages are resized too.

- **Fit Page** (`Ctrl + 0`): the whole page, or both pages of a row, is visible.
- **Fit Width** (`Ctrl + 2`): the page fills the window width and you scroll down to see the rest.
- **Fit Content** (`Ctrl + 3`): like Fit Page, for the area of the page that has content, with the blank margins out of view.
- **Fit Visible**, **Fit Height**, **Shrink To Fit**, **Fit by Orientation** and percentages (`Ctrl + 1` for 100%) are in the **Zoom** menu.

All zooms, the zoom levels and how to zoom with the mouse are in [Scrolling, zooming, navigating](Scrolling-and-zooming.md). For comics, `LimitToWindowWidth` / `LimitToWindowHeight` keep wide spreads inside the window at a percentage zoom; see [Comics and manga](Comics-and-manga.md#fit-double-page-spreads-and-single-pages).

## Change the margins and the gap between pages

```svg
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 470 300" width="470" height="300" role="img">
<title>WindowMargin is the gap between the window edge and the pages, PageSpacing the gap between pages</title>
<rect class="sv-win" x="110" y="10" width="250" height="240" rx="3"/>
<rect class="sv-bar" x="110.8" y="10.8" width="248.5" height="9"/>
<clipPath id="vm-spacing-c1g"><rect x="80" y="-40" width="310" height="304"/></clipPath>
<g clip-path="url(#vm-spacing-c1g)">
<rect class="sv-off" x="128" y="38" width="100" height="133"/>
<text class="sv-noff" x="178" y="104.5">1</text>
<rect class="sv-off" x="242" y="38" width="100" height="133"/>
<text class="sv-noff" x="292" y="104.5">2</text>
<rect class="sv-off" x="128" y="185" width="100" height="133"/>
<text class="sv-noff" x="178" y="251.5">3</text>
<rect class="sv-off" x="242" y="185" width="100" height="133"/>
<text class="sv-noff" x="292" y="251.5">4</text>
</g>
<clipPath id="vm-spacing-c1"><rect x="110" y="20" width="250" height="230"/></clipPath>
<g clip-path="url(#vm-spacing-c1)">
<rect class="sv-pg" x="128" y="38" width="100" height="133"/>
<line class="sv-ln" x1="143" y1="63.8" x2="213" y2="63.8"/>
<line class="sv-ln" x1="143" y1="75.4" x2="213" y2="75.4"/>
<line class="sv-ln" x1="143" y1="87" x2="213" y2="87"/>
<line class="sv-ln" x1="143" y1="98.7" x2="213" y2="98.7"/>
<line class="sv-ln" x1="143" y1="110.3" x2="213" y2="110.3"/>
<line class="sv-ln" x1="143" y1="122" x2="213" y2="122"/>
<line class="sv-ln" x1="143" y1="133.6" x2="213" y2="133.6"/>
<line class="sv-ln" x1="143" y1="145.2" x2="181.5" y2="145.2"/>
<rect class="sv-nb" x="164.5" y="94.5" width="27" height="20" rx="3"/>
<text class="sv-n" x="178" y="104.5">1</text>
<rect class="sv-pg" x="242" y="38" width="100" height="133"/>
<line class="sv-ln" x1="257" y1="63.8" x2="327" y2="63.8"/>
<line class="sv-ln" x1="257" y1="75.4" x2="327" y2="75.4"/>
<line class="sv-ln" x1="257" y1="87" x2="327" y2="87"/>
<line class="sv-ln" x1="257" y1="98.7" x2="327" y2="98.7"/>
<line class="sv-ln" x1="257" y1="110.3" x2="327" y2="110.3"/>
<line class="sv-ln" x1="257" y1="122" x2="327" y2="122"/>
<line class="sv-ln" x1="257" y1="133.6" x2="327" y2="133.6"/>
<line class="sv-ln" x1="257" y1="145.2" x2="295.5" y2="145.2"/>
<rect class="sv-nb" x="278.5" y="94.5" width="27" height="20" rx="3"/>
<text class="sv-n" x="292" y="104.5">2</text>
<rect class="sv-pg" x="128" y="185" width="100" height="133"/>
<line class="sv-ln" x1="143" y1="210.8" x2="213" y2="210.8"/>
<line class="sv-ln" x1="143" y1="222.4" x2="213" y2="222.4"/>
<line class="sv-ln" x1="143" y1="234" x2="213" y2="234"/>
<line class="sv-ln" x1="143" y1="245.7" x2="213" y2="245.7"/>
<line class="sv-ln" x1="143" y1="257.3" x2="213" y2="257.3"/>
<line class="sv-ln" x1="143" y1="269" x2="213" y2="269"/>
<line class="sv-ln" x1="143" y1="280.6" x2="213" y2="280.6"/>
<line class="sv-ln" x1="143" y1="292.2" x2="181.5" y2="292.2"/>
<rect class="sv-nb" x="164.5" y="241.5" width="27" height="20" rx="3"/>
<text class="sv-n" x="178" y="251.5">3</text>
<rect class="sv-pg" x="242" y="185" width="100" height="133"/>
<line class="sv-ln" x1="257" y1="210.8" x2="327" y2="210.8"/>
<line class="sv-ln" x1="257" y1="222.4" x2="327" y2="222.4"/>
<line class="sv-ln" x1="257" y1="234" x2="327" y2="234"/>
<line class="sv-ln" x1="257" y1="245.7" x2="327" y2="245.7"/>
<line class="sv-ln" x1="257" y1="257.3" x2="327" y2="257.3"/>
<line class="sv-ln" x1="257" y1="269" x2="327" y2="269"/>
<line class="sv-ln" x1="257" y1="280.6" x2="327" y2="280.6"/>
<line class="sv-ln" x1="257" y1="292.2" x2="295.5" y2="292.2"/>
<rect class="sv-nb" x="278.5" y="241.5" width="27" height="20" rx="3"/>
<text class="sv-n" x="292" y="251.5">4</text>
</g>
<line class="sv-ac" x1="178" y1="21" x2="178" y2="37"/>
<polygon class="sv-acf" points="178,37 175,30.7 181,30.7"/>
<polygon class="sv-acf" points="178,21 181,27.3 175,27.3"/>
<line class="sv-ac" x1="178" y1="29" x2="104" y2="29" stroke-dasharray="2 2"/>
<text class="sv-act" x="56" y="33">WindowMargin</text>
<line class="sv-ac" x1="229" y1="104.5" x2="241" y2="104.5"/>
<polygon class="sv-acf" points="241,104.5 234.7,107.5 234.7,101.5"/>
<polygon class="sv-acf" points="229,104.5 235.3,101.5 235.3,107.5"/>
<line class="sv-ac" x1="235" y1="108.5" x2="235" y2="256" stroke-dasharray="2 2"/>
<text class="sv-act" x="235" y="270">PageSpacing (x)</text>
<line class="sv-ac" x1="292" y1="172" x2="292" y2="184"/>
<polygon class="sv-acf" points="292,184 289,177.7 295,177.7"/>
<polygon class="sv-acf" points="292,172 295,178.3 289,178.3"/>
<line class="sv-ac" x1="292" y1="178" x2="366" y2="178" stroke-dasharray="2 2"/>
<text class="sv-act" x="414" y="182">PageSpacing (y)</text>
<text class="sv-lb" x="235" y="292">Facing, continuous</text>
</svg>
```

Two [advanced settings](Advanced-options-settings.md) set the space around the pages, in pixels (scaled with the display's DPI):

- `WindowMargin`: the gap between the window edges and the pages: top, right, bottom and left.
- `PageSpacing`: the gap between the two pages of a row (first number) and between rows in continuous view (second number).

```
FixedPageUI [
    WindowMargin = 2 4 2 4
    PageSpacing = 4 4
]

ComicBookUI [
    WindowMargin = 0 0 0 0
    PageSpacing = 4 4
]
```

`FixedPageUI` is for PDF, XPS, DjVu and PostScript, `ComicBookUI` for comic books. Set `PageSpacing = 0 0` for pages that touch, e.g. a webtoon strip split into pages. When the pages are smaller than the window they are centered in it.

## Present or go full screen

```svg
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 470 270" width="470" height="270" role="img">
<title>Presentation mode fills the screen with one page at Fit Page, without the toolbar, tabs or window margins</title>
<rect class="sv-win" x="20" y="20" width="190" height="190" rx="3"/>
<rect class="sv-bar" x="20.8" y="20.8" width="188.5" height="9"/>
<rect class="sv-bar" x="20" y="30" width="190" height="12"/>
<clipPath id="vm-presentation-c1g"><rect x="-10" y="-18" width="250" height="242"/></clipPath>
<g clip-path="url(#vm-presentation-c1g)">
<rect class="sv-off" x="30" y="70.7" width="83" height="110.7"/>
<text class="sv-noff" x="71.5" y="126">4</text>
<rect class="sv-off" x="117" y="70.7" width="83" height="110.7"/>
<text class="sv-noff" x="158.5" y="126">5</text>
</g>
<clipPath id="vm-presentation-c1"><rect x="20" y="42" width="190" height="168"/></clipPath>
<g clip-path="url(#vm-presentation-c1)">
<rect class="sv-pg" x="30" y="70.7" width="83" height="110.7"/>
<line class="sv-ln" x1="42.5" y1="92.1" x2="100.6" y2="92.1"/>
<line class="sv-ln" x1="42.5" y1="101.8" x2="100.6" y2="101.8"/>
<line class="sv-ln" x1="42.5" y1="111.5" x2="100.6" y2="111.5"/>
<line class="sv-ln" x1="42.5" y1="121.2" x2="100.6" y2="121.2"/>
<line class="sv-ln" x1="42.5" y1="130.8" x2="100.6" y2="130.8"/>
<line class="sv-ln" x1="42.5" y1="140.5" x2="100.6" y2="140.5"/>
<line class="sv-ln" x1="42.5" y1="150.2" x2="100.6" y2="150.2"/>
<line class="sv-ln" x1="42.5" y1="159.9" x2="74.4" y2="159.9"/>
<rect class="sv-nb" x="58" y="116" width="27" height="20" rx="3"/>
<text class="sv-n" x="71.5" y="126">4</text>
<rect class="sv-pg" x="117" y="70.7" width="83" height="110.7"/>
<line class="sv-ln" x1="129.5" y1="92.1" x2="187.6" y2="92.1"/>
<line class="sv-ln" x1="129.5" y1="101.8" x2="187.6" y2="101.8"/>
<line class="sv-ln" x1="129.5" y1="111.5" x2="187.6" y2="111.5"/>
<line class="sv-ln" x1="129.5" y1="121.2" x2="187.6" y2="121.2"/>
<line class="sv-ln" x1="129.5" y1="130.8" x2="187.6" y2="130.8"/>
<line class="sv-ln" x1="129.5" y1="140.5" x2="187.6" y2="140.5"/>
<line class="sv-ln" x1="129.5" y1="150.2" x2="187.6" y2="150.2"/>
<line class="sv-ln" x1="129.5" y1="159.9" x2="161.4" y2="159.9"/>
<rect class="sv-nb" x="145" y="116" width="27" height="20" rx="3"/>
<text class="sv-n" x="158.5" y="126">5</text>
</g>
<text class="sv-lb" x="115" y="236">window: toolbar, Facing, margins</text>
<rect class="sv-win" x="260" y="20" width="190" height="190" rx="3"/>
<clipPath id="vm-presentation-c2g"><rect x="230" y="-40" width="250" height="264"/></clipPath>
<g clip-path="url(#vm-presentation-c2g)">
<rect class="sv-off" x="283.8" y="20" width="142.5" height="190"/>
<text class="sv-noff" x="355" y="115">4</text>
</g>
<clipPath id="vm-presentation-c2"><rect x="260" y="20" width="190" height="190"/></clipPath>
<g clip-path="url(#vm-presentation-c2)">
<rect class="sv-pg" x="283.8" y="20" width="142.5" height="190"/>
<line class="sv-ln" x1="305.1" y1="56.8" x2="404.9" y2="56.8"/>
<line class="sv-ln" x1="305.1" y1="73.4" x2="404.9" y2="73.4"/>
<line class="sv-ln" x1="305.1" y1="90.1" x2="404.9" y2="90.1"/>
<line class="sv-ln" x1="305.1" y1="106.7" x2="404.9" y2="106.7"/>
<line class="sv-ln" x1="305.1" y1="123.3" x2="404.9" y2="123.3"/>
<line class="sv-ln" x1="305.1" y1="139.9" x2="404.9" y2="139.9"/>
<line class="sv-ln" x1="305.1" y1="156.6" x2="404.9" y2="156.6"/>
<line class="sv-ln" x1="305.1" y1="173.2" x2="360" y2="173.2"/>
<rect class="sv-nb" x="341.5" y="105" width="27" height="20" rx="3"/>
<text class="sv-n" x="355" y="115">4</text>
</g>
<text class="sv-lb" x="355" y="236">Presentation (Ctrl + L)</text>
<text class="sv-lb" x="355" y="254">one page, Fit Page, nothing else</text>
</svg>
```

- **View → Presentation** (`Ctrl + L`, `Shift + F11`, `F5`): the document fills the screen with nothing else, one page at a time at Fit Page and without window margins. Leaving presentation (`Esc`) restores the layout and zoom you had. See [Present a PDF](Present-a-PDF.md).
- **View → Fullscreen** (`F11`, `Shift + Ctrl + L`, `f`): the window fills the screen and keeps your layout and zoom; the toolbar is hidden (`Fullscreen.Toolbar`).

`Fullscreen.DisplayMode` (**ver 3.7+**) sets the layout for both, e.g. `continuous` to scroll through a presentation or `facing` for two pages full screen.

## What is remembered for each document

When SumatraPDF [remembers the state of documents](How-we-store-settings.md), it saves for each one: the layout and whether it is continuous, the zoom, the rotation, manga mode, Uniform Page Width, Trim Empty Margins and free pan. The next time you open the document it looks the same. The options without a per-document value (`ContinuousScrollFollowsRotation`, `PaddingAfterLastPage`, `WindowMargin`, `PageSpacing`, `LandscapeAsSpread`, `AutoRotateWidePages`) apply to all documents.

## Tips

- Read a book as two-page spreads with Book View (`Ctrl + 8`) and continuous (`c`), so the cover is alone and the pages pair as in print.
- Use Trim Empty Margins on scans and papers with wide margins to read them larger on a small screen.
- Use Uniform Page Width for a PDF that mixes page sizes, so you don't change the zoom from page to page.
- Turn on `ContinuousScrollFollowsRotation` when you rotate a document to read it sideways, so the wheel goes from page to page.
- Assign a key to any command below with [custom shortcuts](Customize-keyboard-shortcuts.md).

## Related commands

| Command | Menu | Shortcut |
| --- | --- | --- |
| `CmdSinglePageView` | View → Single Page | `Ctrl + 6` |
| `CmdFacingView` | View → Facing | `Ctrl + 7` |
| `CmdBookView` | View → Book View | `Ctrl + 8` |
| `CmdToggleContinuousView` | View → Show Pages Continuously | `c` |
| `CmdToggleMangaMode` | View → Manga Mode | |
| `CmdToggleAutoRotateWidePages` | View → Auto-Rotate Wide Pages | |
| `CmdToggleUniformPageWidth` | View → Uniform Page Width | |
| `CmdToggleTrimEmptyMargins` | View → Trim Empty Margins | |
| `CmdRotateLeft` | View → Rotate Left | `[`, `Shift + Ctrl + -` |
| `CmdRotateRight` | View → Rotate Right | `]`, `Shift + Ctrl + +` |
| `CmdTogglePresentationMode` | View → Presentation | `Ctrl + L`, `Shift + F11`, `F5` |
| `CmdToggleFullscreen` | View → Fullscreen | `F11`, `Shift + Ctrl + L`, `f` |
| `CmdZoomFitPageAndSinglePage` | toolbar: Fit a Single Page | |

All commands: [Commands](Commands.md).

## See also

- [Scrolling, zooming, navigating](Scrolling-and-zooming.md): zoom levels, scrolling, free pan
- [Comics and manga](Comics-and-manga.md): right-to-left reading, spreads, background color
- [Present a PDF](Present-a-PDF.md): presentation mode
- [Advanced settings](Advanced-options-settings.md): every setting named on this page
