Skip to content

Commit

Permalink
Use level 1 heading for example titles
Browse files Browse the repository at this point in the history
  • Loading branch information
gettalong committed Aug 12, 2020
1 parent d42b07a commit 9e08f67
Show file tree
Hide file tree
Showing 19 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion examples/001-hello_world.rb
@@ -1,4 +1,4 @@
# ## Hello World
# # Hello World
#
# This simple example mimics the classic "hello world" examples from
# programming languages.
Expand Down
2 changes: 1 addition & 1 deletion examples/002-graphics.rb
@@ -1,4 +1,4 @@
# ## Graphics Primitives
# # Graphics Primitives
#
# This example shows many of the operations that the canvas implementation
# allows.
Expand Down
2 changes: 1 addition & 1 deletion examples/003-arcs.rb
@@ -1,4 +1,4 @@
# ## Arcs and Solid Arcs
# # Arcs and Solid Arcs
#
# This example shows how to use the graphic objects `:arc` and `:solid_arc` to
# draw simple pie charts.
Expand Down
2 changes: 1 addition & 1 deletion examples/004-optimizing.rb
@@ -1,4 +1,4 @@
# ## Optimizing a PDF File
# # Optimizing a PDF File
#
# This example shows how to read a PDF file, optimize it and write it
# out again.
Expand Down
2 changes: 1 addition & 1 deletion examples/005-merging.rb
@@ -1,4 +1,4 @@
# ## Merging PDF Files
# # Merging PDF Files
#
# Merging of PDF files can be done in various ways of sophistication.
#
Expand Down
2 changes: 1 addition & 1 deletion examples/006-standard_pdf_fonts.rb
@@ -1,4 +1,4 @@
# ## Standard PDF Fonts
# # Standard PDF Fonts
#
# This example shows all characters that are available in the standard 14 PDF
# fonts.
Expand Down
2 changes: 1 addition & 1 deletion examples/007-truetype.rb
@@ -1,4 +1,4 @@
# ## TrueType Fonts
# # TrueType Fonts
#
# This example displays all glyphs of a TrueType font and shows that using a
# TrueType font with HexaPDF is very similar to using one of the standard PDF
Expand Down
2 changes: 1 addition & 1 deletion examples/008-show_char_bboxes.rb
@@ -1,4 +1,4 @@
# ## Show Character Bounding Boxes
# # Show Character Bounding Boxes
#
# This examples shows how to process the contents of a page. It finds all
# characters on a page and surrounds them with their bounding box. Additionally,
Expand Down
2 changes: 1 addition & 1 deletion examples/009-text_layouter_alignment.rb
@@ -1,4 +1,4 @@
# ## Text Layouter - Alignment
# # Text Layouter - Alignment
#
# The [HexaPDF::Layout::TextLayouter] class can be used to easily lay out text
# inside a rectangular area, with various horizontal and vertical alignment
Expand Down
2 changes: 1 addition & 1 deletion examples/010-text_layouter_inline_boxes.rb
@@ -1,4 +1,4 @@
# ## Text Layouter - Inline Boxes
# # Text Layouter - Inline Boxes
#
# The [HexaPDF::Layout::TextLayouter] class can be used to easily lay out text
# mixed with inline boxes.
Expand Down
2 changes: 1 addition & 1 deletion examples/011-text_layouter_line_wrapping.rb
@@ -1,4 +1,4 @@
# ## Text Layouter - Line Wrapping
# # Text Layouter - Line Wrapping
#
# The [HexaPDF::Layout::TextLayouter] class can be used to easily lay out text,
# automatically wrapping it appropriately.
Expand Down
2 changes: 1 addition & 1 deletion examples/012-text_layouter_styling.rb
@@ -1,4 +1,4 @@
# ## Text Layouter - Styling
# # Text Layouter - Styling
#
# The text used as part of a [HexaPDF::Layout::TextLayouter] class can be styled
# using [HexaPDF::Layout::Style]. To do this [HexaPDF::Layout::TextFragment]
Expand Down
2 changes: 1 addition & 1 deletion examples/013-text_layouter_shapes.rb
@@ -1,4 +1,4 @@
# ## Text Layouter - Shapes
# # Text Layouter - Shapes
#
# The [HexaPDF::Layout::TextLayouter] class can be used to easily lay out text,
# not limiting the area to a rectangle but any shape. There is only one
Expand Down
2 changes: 1 addition & 1 deletion examples/014-text_in_polygon.rb
@@ -1,4 +1,4 @@
# ## Text in Polygon
# # Text in Polygon
#
# While creating width specifications for the [HexaPDF::Layout::TextLayouter]
# class by hand is possible, the [HexaPDF::Layout::WidthFromPolygon] class
Expand Down
2 changes: 1 addition & 1 deletion examples/015-boxes.rb
@@ -1,4 +1,4 @@
# ## Boxes
# # Boxes
#
# The [HexaPDF::Layout::Box] class is used as the basis for all document layout
# features.
Expand Down
2 changes: 1 addition & 1 deletion examples/016-frame_automatic_box_placement.rb
@@ -1,4 +1,4 @@
# ## Frame - Automatic Box Placement
# # Frame - Automatic Box Placement
#
# The [HexaPDF::Layout::Frame] class is used for placing rectangular boxes.
#
Expand Down
2 changes: 1 addition & 1 deletion examples/017-frame_text_flow.rb
@@ -1,4 +1,4 @@
# ## Frame - Text Flow
# # Frame - Text Flow
#
# This example shows how [HexaPDF::Layout::Frame] and [HexaPDF::Layout::TextBox]
# can be used to flow text around objects.
Expand Down
2 changes: 1 addition & 1 deletion examples/018-composer.rb
@@ -1,4 +1,4 @@
# ## Composer
# # Composer
#
# This example shows how [HexaPDF::Composer] simplifies the creation of PDF
# documents by providing a high-level interface to the box layouting engine.
Expand Down
2 changes: 1 addition & 1 deletion examples/019-acro_form.rb
@@ -1,4 +1,4 @@
# ## PDF Forms
# # PDF Forms
#
# PDF files can be used for interactive forms, containing various types of form
# fields. HexaPDF supports the creation and processing of these forms.
Expand Down

0 comments on commit 9e08f67

Please sign in to comment.