Path: blob/main/documentation/themes/default-pdf-theme.yml
18081 views
#1# This file was copied from default-theme.yml of ascii-doctor-pdf, and customized for the BEAM book.2# - header and footer was customized3# - Title page4# - VERSION Admonition5page:6background_color: FFFFFF7layout: portrait8initial_zoom: FitH9margin: [0.82in, 0.67in, 0.75in, 0.67in]10# margin_inner and margin_outer keys are used for recto/verso print margins when media=prepress11margin_inner: 0.55in12margin_outer: 0.39in13size: A414base:15align: justify16# color as hex string (leading # is optional)17font_color: 00000018font_family: Times-Roman19font_size: 1020line_height_length: 11.2521line_height: $base_line_height_length / $base_font_size22font_size_large: round($base_font_size * 1.25)23font_size_small: round($base_font_size * 0.85)24font_size_min: $base_font_size * 0.7525font_style: normal26border_color: EEEEEE27border_radius: 428border_width: 0.529header:30border-color: #dddddd31height: 0.65in32line-height: 1.033vertical-align: bottom34recto:35right:36content: '{document-title} {part-title}'37verso:38left:39content: $header-recto-right-content40running-content:41start-at: 442footer:43border-color: #dddddd44height: 0.65in45line-height: 1.046vertical-align: top47padding: [3, 0, 0, 0]48recto:49right:50content: '{part-title} {chapter-title} {page-number}/{page-count}'51verso:52left:53content: '{page-number}/{page-count} {section-or-chapter-title}'54role:55line-through:56text_decoration: line-through57underline:58text_decoration: underline59big:60font_size: $base_font_size_large61small:62font_size: $base_font_size_small63subtitle:64font_color: 99999965font_size: 0.8em66font_style: normal_italic67vertical_rhythm: $base_line_height_length68horizontal_rhythm: $base_line_height_length69vertical_spacing: $vertical_rhythm70link:71font_color: 428BCA72# literal is currently used for inline monospaced in prose and table cells73literal:74font_color: B1214675button:76content: "[\u2009%s\u2009]"77font_style: bold78key:79background_color: F5F5F580border_color: CCCCCC81border_offset: 282border_radius: 283border_width: 0.584separator: "\u202f+\u202f"85mark:86background_color: FFFF0087border_offset: 188menu:89caret_content: " <font size=\"1.15em\"><color rgb=\"b12146\">\u203a</color></font> "90heading:91align: left92font_color: $base_font_color93font_style: bold94# h1 is used for part titles (book doctype) or the doctitle (article doctype)95h1_font_size: floor($base_font_size * 3.6)96# h2 is used for chapter titles (book doctype only)97h2_font_size: floor($base_font_size * 2.15)98h3_font_size: round($base_font_size * 1.7)99h4_font_size: $base_font_size_large100h5_font_size: $base_font_size101h6_font_size: $base_font_size_small102line_height: 1103margin_top: $vertical_rhythm * 0.4104margin_bottom: $vertical_rhythm * 0.9105min_height_after: $base_line_height_length * 1.5106title_page:107align: right108logo:109top: 10%110title:111top: 55%112font_size: $heading_h1_font_size113font_color: 000000114line_height: 0.9115subtitle:116font_size: $heading_h3_font_size117font_style: bold_italic118line_height: 1119authors:120margin_top: $heading_h3_font_size * 1.25121font_size: $heading_h3_font_size122font_color: 181818123revision:124margin_top: $base_font_size * 1.25125block:126margin_top: 0127margin_bottom: $vertical_rhythm128caption:129align: left130font_size: $base_font_size * 0.95131font_style: italic132margin_inside: $vertical_rhythm / 3133margin_outside: 0134lead:135font_size: $base_font_size_large136line_height: 1.4137abstract:138font_color: 5C6266139font_size: $lead_font_size140line_height: $lead_line_height141font_style: italic142first_line_font_style: bold143title:144align: center145font_color: $heading_font_color146font_size: $heading_h4_font_size147font_style: $heading_font_style148admonition:149column_rule_color: $base_border_color150column_rule_width: $base_border_width151padding: [0, $horizontal_rhythm, 0, $horizontal_rhythm]152icon:153version:154name: fa-tags155stroke_color: A26D6D156size: 24157label:158text_transform: uppercase159font_style: bold160blockquote:161font_size: $base_font_size_large162border_color: $base_border_color163border_width: 0164border_left_width: 5165padding: [0, $horizontal_rhythm, $block_margin_bottom * -0.75, $horizontal_rhythm + $blockquote_border_left_width / 2]166cite_font_size: $base_font_size_small167cite_font_color: 999999168verse:169font_size: $blockquote_font_size170border_color: $blockquote_border_color171border_width: $blockquote_border_width172border_left_width: $blockquote_border_left_width173padding: $blockquote_padding174cite_font_size: $blockquote_cite_font_size175cite_font_color: $blockquote_cite_font_color176# code is used for source blocks (perhaps change to source or listing?)177code:178font_color: $base_font_color179#font_family: Courier180font_size: ceil($base_font_size)181padding: $code_font_size182line_height: 1.25183# line_gap is an experimental property to control how a background color is applied to an inline block element184line_gap: 3.8185background_color: F5F5F5186conum:187font_color: $literal_font_color188font_size: $base_font_size189line_height: 4 / 3190glyphs: circled191example:192border_color: $base_border_color193border_radius: $base_border_radius194border_width: 0.75195background_color: $page_background_color196padding: [$vertical_rhythm, $horizontal_rhythm, 0, $horizontal_rhythm]197image:198align: center199caption:200align: center201prose:202margin_top: $block_margin_top203margin_bottom: $block_margin_bottom204sidebar:205background_color: EEEEEE206border_color: E1E1E1207border_radius: $base_border_radius208border_width: $base_border_width209padding: [$vertical_rhythm, $vertical_rhythm * 1.25, 0, $vertical_rhythm * 1.25]210title:211align: center212font_color: $heading_font_color213font_size: $heading_h4_font_size214font_style: $heading_font_style215thematic_break:216border_color: $base_border_color217border_style: solid218border_width: $base_border_width219margin_top: $vertical_rhythm * 0.5220margin_bottom: $vertical_rhythm * 1.5221description_list:222term_font_style: bold223term_spacing: $vertical_rhythm / 4224description_indent: $horizontal_rhythm * 1.25225outline_list:226indent: $horizontal_rhythm * 1.5227# NOTE outline_list_item_spacing applies to list items that do not have complex content228item_spacing: $vertical_rhythm / 2229table:230background_color: $page_background_color231border_color: DDDDDD232border_width: $base_border_width233cell_padding: 3234head:235font_style: bold236border_bottom_width: $base_border_width * 2.5237body:238stripe_background_color: F9F9F9239foot:240background_color: F0F0F0241sectnums:242levels: 5243toc:244indent: $horizontal_rhythm245line_height: 1.4246dot_leader:247content: ". "248font_color: A9A9A9249footnotes:250font_size: round($base_font_size * 0.75)251item_spacing: $outline_list_item_spacing / 2252253254