How to Use

Input Format

Paste the data portion of your LaTeX table (rows with values separated by & and ending with \\). Do not include \begin{tabular} or \end{tabular}.

How It Works

  • Automatically detects numeric columns vs text columns
  • Finds the best and second-best value in each numeric column
  • Wraps best values with your specified command (default: \textbf{})
  • Wraps second-best values with your specified command (default: \underline{})
  • Optionally adds an improvement percentage row showing best vs second-best
  • Preserves commented lines (starting with %) and table formatting commands
  • Handles existing LaTeX formatting by extracting and re-wrapping values

Example Input

Model A & 85.2 & 91.3 & 78.5 \\ Model B & 88.1 & 87.9 & 92.4 \\ Model C & 82.7 & 93.2 & 85.8 \\

Example Output (Higher is Better)

Model A & \underline{85.2} & \underline{91.3} & 78.5 \\ Model B & \textbf{88.1} & 87.9 & \textbf{92.4} \\ Model C & 82.7 & \textbf{93.2} & \underline{85.8} \\ Improvement & 3.4\% & 1.9\% & 7.7\% \\

Tips

  • The first column is typically treated as labels and won't be highlighted
  • Supports both positive and negative numbers
  • Preserves decimal precision and formatting
  • Custom commands must include {} where the value will be inserted