-
-
Notifications
You must be signed in to change notification settings - Fork 149
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
add_header_above() allow for supplying line
argument as vector
#700
Comments
Seconding this: at the moment, the code uses a heuristic that if the column in the header above is blank, then there is no line under it, and if it has any non-whitespace, then there is. Sometimes, finer control is required. For example, as far as I can tell, there is currently no way to typeset the following header:
|
hi, obviously an old thread, but to my recent experience, a logical vector is accepted, when having a HTML output, but for LaTeX this won't work - any idea, why? |
@tleutritz-ukw : you should post a minimal example that shows this, and if you are especially ambitious, a PR that fixes it. |
|
There's a lot of HTML specific code in that example, not just the
|
of course... simply replace "html" with "latex" in both format arguments... |
The point is that the document doesn't work in LaTeX even with those changes and setting |
here you go (change line argument to scalar in order to get it working):
|
Thanks. This should now be fixed in the Github version. Please try it out and let us know if there are still problems. |
Taks a lot - it works! :-) |
Currently when adding headers to a
kable
object viaadd_header_above()
if wanting to italicise/align certain headers differently this seems to be possible via a vector of arguments, e.g.:However, doing the same with the
line
argument returns:It would be really nice to be able to also only draw a line under certain headers and not either all or no headers.
The text was updated successfully, but these errors were encountered: