% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/table2_utils.R
\name{format_column_headers}
\alias{format_column_headers}
\title{Apply formatting to column headers in exported tables (PDF/LaTeX)}
\usage{
format_column_headers(col_names, add_header_space = TRUE)
}
\arguments{
\item{col_names}{Character vector of column names.}

\item{add_header_space}{Logical whether to add vertical padding.}
}
\value{
Character vector with LaTeX-formatted column names.
}
\description{
Formats column headers for LaTeX output by escaping special characters,
italicizing 'n' and 'p', and optionally adding vertical spacing.
}
\keyword{internal}
