Replies: 1 comment 2 replies
-
Could you share a small self-contained "working" (reproducible) example to work with, i.e., a complete Quarto document or a Git repository? Thanks. This being said: You can share a self-contained "working" (reproducible) Quarto document using the following syntax, i.e., using more backticks than you have in your document (usually four If you have multiple files (and if it is absolutely required to have multiple files), please share as a Git repository.
Additionally and if not already given, please share the output of |
Beta Was this translation helpful? Give feedback.
-
Description
I have problems using 'tbl-subcap' chunk option.
Working on the example on page Quarto sub-cap example (https://quarto.org/docs/authoring/cross-references.html#floats), all the chunks in the quarto file attached to reproduce the problem, have following lines:
Quarto file to reproduce the problem: TestingSubCaps.pdf
Sub-captions in Table 1 are regularly produced if the 'library(kableExtra)' line is commented out.
I would like to have 'striped' tables, as in Table 2.
Invoking 'kableExtra::kable_styling()' produces the effect BUT the subcaptions are lost!
Actually just adding 'library(kableExtra)' breaks all formatting (Table 3)
Is this correct?
PS - Is there a way to have the chunk displayed before the table it produces?
(Possible link with previous question #9546)
Many thanks for taking care.
Quarto version: 1.4.553
Ubuntu version: 20.04
$ quarto check all
Quarto 1.4.553
[✓] Checking versions of quarto binary dependencies...
Pandoc version 3.1.11: OK
Dart Sass version 1.69.5: OK
Deno version 1.37.2: OK
[✓] Checking versions of quarto dependencies......OK
[✓] Checking Quarto installation......OK
Version: 1.4.553
Path: /opt/quarto/bin
[✓] Checking tools....................OK
TinyTeX: (external install)
Chromium: (not installed)
[✓] Checking LaTeX....................OK
Using: TinyTex
Path: /home/roberto/.TinyTeX/bin/x86_64-linux
Version: 2023
[✓] Checking basic markdown render....OK
[✓] Checking Python 3 installation....OK
Version: 3.9.12 (Conda)
Path: /node/local/TOOLS/anaconda3/bin/python
Jupyter: 4.9.2
Kernels: python3
[✓] Checking Jupyter engine render....OK
[✓] Checking R installation...........OK
Version: 4.3.3
Path: /usr/lib/R
LibPaths:
- /home/roberto/R/x86_64-pc-linux-gnu-library/4.3
- /usr/local/lib/R/site-library
- /usr/lib/R/site-library
- /usr/lib/R/library
knitr: 1.45
rmarkdown: 2.25
[✓] Checking Knitr engine render......OK
$
Beta Was this translation helpful? Give feedback.
All reactions