Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve docs for booktabs lib #443

Merged
merged 5 commits into from
Feb 22, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
docs(booktabs): improve doc of opt-arg of \toprule and friends
  • Loading branch information
muzimuzhi committed Feb 21, 2024
commit 80f6115f27f151d57563ec24db22eb8acf9c849b
6 changes: 4 additions & 2 deletions manual/manual-5.tex
Original file line number Diff line number Diff line change
@@ -81,7 +81,8 @@ \section{Library \texttt{booktabs}}
\end{demohigh}

Just like \verb!\hline! and \verb!\cline! commands,
you can also specify rule width and color in the optional argument of any of these commands.
you can also specify rule width and color by using hline keys in the optional
argument of any of these commands.

Like in \verb!booktabs!, by default
width of \verb!\toprule! and \verb!\bottomrule! are determined by \verb!\heavyrulewidth!,
@@ -102,8 +103,9 @@ \section{Library \texttt{booktabs}}
\end{demohigh}

If you need more than one \verb!\cmidrule!s, you can use \verb!\cmidrulemore!
command, which is simpler than the \verb!booktabs! usage
command, which is simpler than the \verb!booktabs! usage
\verb!\morecmidrules\cmidrule!.
\verb!\cmidrulemore! can receive hline keys in an optional argument too.

\begin{demohigh}
\begin{tblr}{llll}