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

html_document2: tables are full column width without stripped rows #13

Closed
rdiaz02 opened this issue Aug 17, 2016 · 0 comments
Closed

html_document2: tables are full column width without stripped rows #13

rdiaz02 opened this issue Aug 17, 2016 · 0 comments
Assignees

Comments

@rdiaz02
Copy link

rdiaz02 commented Aug 17, 2016

I think tables from BiocStyle::html_document2 are not as nice as those from BiocStyle::html_document (though this is of course highly subjective). Those from BiocStyle::html_document, as explained in https://www.bioconductor.org/packages/devel/bioc/vignettes/BiocStyle/inst/doc/HtmlStyle.html#additional-formatting-features, have stripped rows table rows and, in addition, do not span the full column width. But with BiocStyle::html_document2 they are not stripped and even small tables (below) span the full column width. For instance:


---
output: 
  BiocStyle::html_document2

---


Fruit   | Price
------- | -----
bananas | 1.2
apples  | 1.0
oranges | 2.5

The stripping I can get by using the bioconductor.css as a custom css but I haven't been able to tweak the CSS so as to obtain centered tables that do not span the full column width.

@rdiaz02 rdiaz02 changed the title html_document2: tables now full column width and no stripped rows html_document2: tables are full column width without stripped rows Aug 17, 2016
@aoles aoles self-assigned this Nov 23, 2016
@aoles aoles closed this as completed in 31bb2b0 Nov 26, 2016
aoles pushed a commit that referenced this issue May 26, 2017
- wider HTML column width matching PDF layout
- numerous CSS tweaks (fixes #13)

From: aoles <andrzej.oles@gmail.com>

git-svn-id: https://hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/BiocStyle@124472 bc3139a8-67e5-0310-9ffc-ced21a209358
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants