table-layout-1.0.0.0: Format tabular data as grid or table.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Text.Layout.Table.Spec.HeaderColSpec

Synopsis

Documentation

data HeaderColSpec Source #

Specifies how a header is rendered.

Constructors

HeaderColSpec (Position H) (Maybe CutMark) 

Instances

Instances details
Default HeaderColSpec Source #

Header columns are usually centered.

Instance details

Defined in Text.Layout.Table.Spec.HeaderColSpec

Methods

def :: HeaderColSpec

headerColumn :: Position H -> Maybe CutMark -> HeaderColSpec Source #

Smart constructor for HeaderColSpec. By omitting the cut mark, it will use the one specified in the ColSpec like the other cells in that column.

defHeaderColSpec :: HeaderColSpec Source #

The default HeaderColSpec centers the text and uses no CutMark.