kable_captioncontinue: Create a caption for a longtable that is continued

View source: R/kable_.R

kable_captioncontinueR Documentation

Create a caption for a longtable that is continued

Description

Create a caption that can be used on the repeated pages of a longtable that spans multiple pages. The value returned from this function should be used in kableExtra::kable_styling or passed to kable_styling_sa4ss.

Usage

kable_captioncontinue(caption = "", max = 8)

Arguments

caption

The caption you want on the subsequent pages. Typically, you will want more than the default argument of nothing, which leads to ⁠... continued.⁠ because this text is pasted onto whatever you pass to this argument.

max

The maximum number of words you want to pull from your caption that you supplied. The default is eight words because this typically leads to just one line.

Author(s)

Kelli F. Johnson


iantaylor-NOAA/Lingcod_2021 documentation built on Oct. 30, 2024, 6:42 p.m.