Skip to content

Files

Latest commit

 

History

History
237 lines (177 loc) · 7.81 KB

example.org

File metadata and controls

237 lines (177 loc) · 7.81 KB

Example

Chapter 1: The Dark \LaTeX

Main Section

\lipsum[2]

Fun with boxes

Even more fun!

\lipsum[3]

Table headTable head
Some valueSome value
Some valueSome value
Some valueSome value

Spells

\lipsum[2]

Colors

This package provides several global color variables to style commentbox, quotebox, paperbox, and dndtable environments.

ColorDescription
commentboxcolorControls commentbox background.
paperboxcolorControls paperbox background.
quoteboxcolorControls quotebox background.
tablecolorControls background of even dndtable rows.

See Table tab:colors for a list of accent colors that match the core books.

ColorDescription
PhbLightGreenLight green used in PHB Part 1
PhbLightCyanLight cyan used in PHB Part 2
PhbMauvePale purple used in PHB Part 3
PhbTanLight brown used in PHB appendix
DmgLavenderPale purple used in DMG Part 1
DmgCoralOrange-pink used in DMG Part 2
DmgSlateGray (DmgSlateGrey)Blue-gray used in PHB Part 3
DmgLilacPurple-gray used in DMG appendix
  • Use \setthemecolor[<color>] to set themecolor, commentcolor, paperboxcolor, and tablecolor to a specific color.
  • Calling \setthemecolor without an argument sets those colors to the current themecolor.
  • commentbox, dndtable, paperbox, and quoteboxcolor also accept an optional color argument to set the color for a single instance.

Examples

Using themecolor

\setthemecolor[PhbMauve]

\setthemecolor[PhbLightCyan]

d8Item
1Small wooden button
2Red feather
3Human tooth
4Vial of green liquid
6Tasty biscuit
7Broken axe handle
8Tarnished silver locket

Using element color arguments

d8Item
1Small wooden button
2Red feather
3Human tooth
4Vial of green liquid
6Tasty biscuit
7Broken axe handle
8Tarnished silver locket

Map Regions

The map region commands provides automatic numbering of areas.

** Map Regions :map:

*** Village of Hommlet

This is the village of hommlet.

**** Inn of the Welcome Wench

Inside the village is the inn of the
Welcome Wench.

**** Blacksmith's Forge

There's a blacksmith in town, too.

*** Foo's Castle

This is foo's home, a hovel of mud and
sticks.

**** Moat

This ditch has a board spanning it.

**** Entrance

A five-foot hole reveals the dirt floor
illuminated by a hole in the roof.

Village of Hommlet

This is the village of hommlet.

Inn of the Welcome Wench

Inside the village is the inn of the Welcome Wench.

Blacksmith’s Forge

There’s a blacksmith in town, too.

Foo’s Castle

This is foo’s home, a hovel of mud and sticks.

Moat

This ditch has a board spanning it.

Entrance

A five-foot hole reveals the dirt floor illuminated by a hole in the roof.