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

Tables caption in Appendix A and Appendix B #406

Open
Nico-Rojas opened this issue Jun 27, 2024 · 0 comments
Open

Tables caption in Appendix A and Appendix B #406

Nico-Rojas opened this issue Jun 27, 2024 · 0 comments

Comments

@Nico-Rojas
Copy link

Nico-Rojas commented Jun 27, 2024

Hi,

First of all, thank you so much for your terrific work.

The issue: In the cookbook references example here there is a super useful way of separating References from two Appendices, Appendix A and Appendix B.

Titles work great, but if one adds tables in the appendix the coding keeps naming tables from Appendix A.

I added the simplest example below, building on the bookdown.org example.

# References

<div id="refs"></div>

# (APPENDIX) Appendix {-} 

# More information
```{r}
t1 <- c(1,2,3)
kable(t1, caption = "This table is Table A1", format = "latex") 
This will be Appendix A.

# One more thing

This will be Appendix B
```{r}
t2 <- c(1,2,3)
kable(t2, caption = "This table is Table A2 and I want it to be Table B1", format = "latex") 
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

1 participant