dm_roff_ms_header Function

public pure function dm_roff_ms_header(title, author, institution, font_family, font_size, left_header, center_header, right_header, left_footer, center_footer, right_footer, page_one) result(roff)

Uses

  • proc~~dm_roff_ms_header~~UsesGraph proc~dm_roff_ms_header dm_roff_ms_header module~dm_string dm_string proc~dm_roff_ms_header->module~dm_string module~dm_error dm_error module~dm_string->module~dm_error module~dm_kind dm_kind module~dm_string->module~dm_kind module~dm_error->module~dm_kind module~dm_ascii dm_ascii module~dm_error->module~dm_ascii iso_fortran_env iso_fortran_env module~dm_kind->iso_fortran_env

Creates a new GNU roff document with macro package ms. The result has to be piped to groff(1).

The font family must be one of the following types:

  • ROFF_FONT_AVANT_GARDE
  • ROFF_FONT_BOOKMAN
  • ROFF_FONT_HELVETICA
  • ROFF_FONT_HELVETICA_NARROW
  • ROFF_FONT_NEW_CENTURY_SCHOOLBOOK
  • ROFF_FONT_PALATINO
  • ROFF_FONT_TIMES_ROMAN

If no font family and size is provided, Times Roman in 10 pt is used by default. To set a fractional font size, multiply the size by 1000. For instance, pass 10500 in argument font_size to select a size of 10.5 pt.

The return value is newline-terminated. Append a request or macro to the output of this function to create a valid groff(1) document.

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in), optional :: title

Document title.

character(len=*), intent(in), optional :: author

Author name.

character(len=*), intent(in), optional :: institution

Institution name.

integer, intent(in), optional :: font_family

Font family enumerator (ROFF_FONT_*).

integer, intent(in), optional :: font_size

Font size in pt.

character(len=*), intent(in), optional :: left_header

Left header content.

character(len=*), intent(in), optional :: center_header

Center header content.

character(len=*), intent(in), optional :: right_header

Right header content.

character(len=*), intent(in), optional :: left_footer

Left footer content.

character(len=*), intent(in), optional :: center_footer

Center footer content.

character(len=*), intent(in), optional :: right_footer

Right footer content.

logical, intent(in), optional :: page_one

Enable header on page 1.

Return Value character(len=:), allocatable

Output string.


Calls

proc~~dm_roff_ms_header~~CallsGraph proc~dm_roff_ms_header dm_roff_ms_header interface~dm_present dm_present proc~dm_roff_ms_header->interface~dm_present interface~dm_roff_ms_nr dm_roff_ms_nr proc~dm_roff_ms_header->interface~dm_roff_ms_nr proc~dm_roff_ms_ai dm_roff_ms_ai proc~dm_roff_ms_header->proc~dm_roff_ms_ai proc~dm_roff_ms_au dm_roff_ms_au proc~dm_roff_ms_header->proc~dm_roff_ms_au proc~dm_roff_ms_ds dm_roff_ms_ds proc~dm_roff_ms_header->proc~dm_roff_ms_ds proc~dm_roff_ms_tl dm_roff_ms_tl proc~dm_roff_ms_header->proc~dm_roff_ms_tl proc~dm_string_is_present dm_string_is_present proc~dm_roff_ms_header->proc~dm_string_is_present