Anchor col_cont_msg labels to viewport edges and support per-side text#22
Merged
billdenney merged 2 commits intomainfrom Mar 25, 2026
Merged
Anchor col_cont_msg labels to viewport edges and support per-side text#22billdenney merged 2 commits intomainfrom
billdenney merged 2 commits intomainfrom
Conversation
Column continuation labels are now drawn with their centre at the viewport edge (x=0 left, x=1 right) rather than adjacent to the table columns, so a centred table no longer causes the labels to float in the middle of the page. Margins provide the surrounding space. col_cont_msg now accepts a length-1 or length-2 character vector (recycled to length 2, mirroring row_cont_msg). The default distinguishes direction: left="Columns continue from prior page", right="Columns continue to next page". A single string is still accepted and recycled to both sides. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…icer vignette NOTE When a column split is detected and col_cont_msg is set, perform a second pass of compute_col_widths() with content width reduced by half a character-height at each labelled viewport edge, preventing table content from overlapping the rotated annotations. compute_col_widths() now measures and returns col_cont_label_half_w from within its existing scratch device. Also replace officer::fp_border() in v07-flextable.Rmd with the flextable-native fp_border_default(), removing the undeclared 'officer' dependency that caused a CRAN NOTE. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Column continuation labels are now drawn with their centre at the viewport edge (x=0 left, x=1 right) rather than adjacent to the table columns, so a centred table no longer causes the labels to float in the middle of the page. Margins provide the surrounding space.
col_cont_msg now accepts a length-1 or length-2 character vector (recycled to length 2, mirroring row_cont_msg). The default distinguishes direction: left="Columns continue from prior page", right="Columns continue to next page". A single string is still accepted and recycled to both sides.