I tried various solutions posted here but I can't find the appropriate one to solve my issue. I have a long text header in the second column that is affecting the diagonal line and celle height in the first column.
This is my first attempt:
\documentclass{article}
\usepackage[a4paper,landscape, margin=0.5in]{geometry}
\usepackage[utf8]{inputenc}
\usepackage{pifont}
\usepackage{tabularx}
\usepackage{adjustbox}
\usepackage{array}
\usepackage{diagbox}
\usepackage[table]{xcolor}
\begin{document}
\renewcommand\arraystretch{1.5}
{\rowcolors{2}{}{lightgray}
\begin{tabularx}{0.85\textwidth}{
l | >{\centering\arraybackslash}X >{\centering\arraybackslash}X >{\centering\arraybackslash}X >{\centering\arraybackslash}X}
\textbf{\diagbox{Feature}{Type of DSR}} &
\textbf{Manifold discussion within a community} &
\textbf{Evaluation to support information management and purchase decision} &
\textbf{Immediate discussion within a community} &
\textbf{Hybrid interaction related to sales and gratification} \\ \hline
\textbf{Content macro-category} & rating, review, discussion forum, social media post, tag, list & highlight, tooltip, comment, rating, review, tag, list & highlight, tooltip, comment (margin/footer), rating, tag & highlight, tooltip, comment (margin/footer), rating, review, social media post, tag, list \\
\textbf{Relation to source text} & external & immediate, external & immediate & immediate, external \\
\textbf{Type of audience} & group, institution, public & group, institution, public & group, institution, public & group, institution, public \\
\textbf{Timeframe} & after reading, scheduled, self-paced & after reading, self-paced & during/after reading, scheduled, self-paced & during/after reading, scheduled, self-paced \\
\textbf{Examples} & Goodreads groups and discussions, fanfiction blogs & Amazon highlights and reviews, Goodreads lists, AO3 collections, Twitter bookmarks and lists & Hypothesis groups, Wattpad, comments in fanfiction archives & Kobo Reading app gamification, bookstagram, booktubers \\
\end{tabularx}
}
\end{document}
Which shows this:
Changing some options, I get the following, but I don't want the white space on top of the column headers.
\documentclass{article}
\usepackage[a4paper,landscape, margin=0.5in]{geometry}
\usepackage[utf8]{inputenc}
\usepackage{pifont}
\usepackage{tabularx}
\usepackage{adjustbox}
\usepackage{array}
\usepackage{diagbox}
\usepackage[table]{xcolor}
\begin{document}
\renewcommand\arraystretch{1.5}
{\rowcolors{2}{}{lightgray}
\begin{tabularx}{0.85\textwidth}{
l | >{\centering\arraybackslash}X >{\centering\arraybackslash}X >{\centering\arraybackslash}X >{\centering\arraybackslash}X}
\textbf{\diagbox[height=5.2\line]{\raisebox{1em}{Feature}}{\raisebox{-1em}{Type of DSR}}} &
\textbf{Manifold discussion within a community} &
\textbf{Evaluation to support information management and purchase decision} &
\textbf{Immediate discussion within a community} &
\textbf{Hybrid interaction related to sales and gratification} \\ \hline
\textbf{Content macro-category} & rating, review, discussion forum, social media post, tag, list & highlight, tooltip, comment, rating, review, tag, list & highlight, tooltip, comment (margin/footer), rating, tag & highlight, tooltip, comment (margin/footer), rating, review, social media post, tag, list \\
\textbf{Relation to source text} & external & immediate, external & immediate & immediate, external \\
\textbf{Type of audience} & group, institution, public & group, institution, public & group, institution, public & group, institution, public \\
\textbf{Timeframe} & after reading, scheduled, self-paced & after reading, self-paced & during/after reading, scheduled, self-paced & during/after reading, scheduled, self-paced \\
\textbf{Examples} & Goodreads groups and discussions, fanfiction blogs & Amazon highlights and reviews, Goodreads lists, AO3 collections, Twitter bookmarks and lists & Hypothesis groups, Wattpad, comments in fanfiction archives & Kobo Reading app gamification, bookstagram, booktubers \\
\end{tabularx}
}
\end{document}
Any idea how to fix it?
\documentclass
,begin{document}
, \end{document}`, etc.