> For the complete documentation index, see [llms.txt](https://help.sdocs.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.sdocs.com/sdocs/template-architecture/template-settings/page-settings-tab/page-settings-quick-reference.md).

# Page Settings Quick Reference

These settings control the physical dimensions and margins of your generated document.

#### Page Layout

**Purpose:** Set overall page orientation and dimensions

**Options:**

| Value     | Description                   | Dimensions             |
| --------- | ----------------------------- | ---------------------- |
| Portrait  | Standard vertical orientation | 8.5" × 11" (US Letter) |
| Landscape | Horizontal orientation        | 11" × 8.5" (US Letter) |
| Custom    | User-defined dimensions       | Any size               |

**Behavior:**

* Selecting Portrait or Landscape locks width and height fields
* Custom allows manual entry of dimensions
* Changing layout resets margins to defaults

***

#### Page Width

**Purpose:** Set the width of the page

**Syntax:** Numeric value

**Units:** Inches, Centimeters, or Pixels (based on Unit setting)

**Default:** 8.5 inches (Portrait), 11 inches (Landscape)

**Range:**

* Minimum: 1 inch (or equivalent)
* Maximum: 200 inches (or equivalent)
* Practical maximum: 17 inches (tabloid size)

**Examples:**

```
US Letter: 8.5 inches
A4: 21 cm
Business Card: 3.5 inches
Envelope: 9.5 inches
```

**Notes:**

* Only editable when Page Layout is "Custom"
* Consider printer capabilities
* Very large pages may have performance impact

***

#### Page Height

**Purpose:** Set the height of the page

**Syntax:** Numeric value

**Units:** Inches, Centimeters, or Pixels (based on Unit setting)

**Default:** 11 inches (Portrait), 8.5 inches (Landscape)

**Range:**

* Minimum: 1 inch (or equivalent)
* Maximum: 200 inches (or equivalent)
* Practical maximum: 14 inches (legal size)

**Examples:**

```
US Letter: 11 inches
A4: 29.7 cm
Business Card: 2 inches
Legal: 14 inches
```

**Notes:**

* Only editable when Page Layout is "Custom"
* Affects pagination and content flow
* Must accommodate margin settings

***

#### Top Margin

**Purpose:** Set space between top of page and content

**Syntax:** Numeric value

**Units:** Inches, Centimeters, or Pixels (based on Unit setting)

**Default:** 1 inch

**Typical Range:** 0.25 to 3 inches

**Examples:**

```
Standard: 1 inch
Letterhead: 2 inches
Minimal: 0.5 inches
Legal: 1.25 inches
```

**Notes:**

* Increased for pre-printed letterhead
* Minimum often limited by printer (typically 0.25")
* Affects header placement
* Consider header height when setting

***

#### Bottom Margin

**Purpose:** Set space between bottom of page and content

**Syntax:** Numeric value

**Units:** Inches, Centimeters, or Pixels (based on Unit setting)

**Default:** 1 inch

**Typical Range:** 0.25 to 2 inches

**Examples:**

```
Standard: 1 inch
Minimal: 0.5 inches
Footer space: 1.5 inches
```

**Notes:**

* Consider footer content when setting
* Affects pagination
* Minimum often limited by printer

***

#### Left Margin

**Purpose:** Set space between left edge and content

**Syntax:** Numeric value

**Units:** Inches, Centimeters, or Pixels (based on Unit setting)

**Default:** 1 inch

**Typical Range:** 0.25 to 2 inches

**Examples:**

```
Standard: 1 inch
Binding edge: 1.5 inches
Minimal: 0.75 inches
```

**Notes:**

* Increase for binding/hole punches
* Affects text alignment and readability

***

#### Right Margin

**Purpose:** Set space between right edge and content

**Syntax:** Numeric value

**Units:** Inches, Centimeters, or Pixels (based on Unit setting)

**Default:** 1 inch

**Typical Range:** 0.25 to 1.5 inches

**Examples:**

```
Standard: 1 inch
Minimal: 0.75 inches
Symmetric: 1 inch (same as left)
```

**Notes:**

* Often matches left margin for balance
* Affects line length and readability

***

#### Unit

**Purpose:** Set measurement unit for all dimension fields

**Options:**

| Value       | Description          | Use Case                |
| ----------- | -------------------- | ----------------------- |
| inches      | Imperial measurement | US documents            |
| centimeters | Metric measurement   | International documents |
| pixels      | Screen measurement   | Digital-only documents  |

**Conversion:**

* 1 inch = 2.54 centimeters
* 1 inch = 96 pixels (at 96 DPI)

**Notes:**

* Changing units converts all existing values
* Pixels less common for print documents
* Use inches for US, cm for international


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.sdocs.com/sdocs/template-architecture/template-settings/page-settings-tab/page-settings-quick-reference.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
