Skip to content

Bug with Concatenated tables #10000

Closed Answered by cderv
friosavila asked this question in Q&A
Jun 13, 2024 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

In fact the issue is because we are using fig-pos here, and not tbl-pos

-- determine the environment (and pos) to use for a latex panel
function latexPanelEnv(layout)
-- defaults
local env = latexFigureEnv(layout)
local pos = attribute(layout.float or { attributes = layout.attributes or {} }, kFigPos)
return env, pos
end

So this works

---
title: "Untitled"
format: pdf
keep-tex: true
---

## Case 1

{{< lipsum 1-2 >}}

:::{#tbl-tm3 fig-pos="H" layout-ncol=2}

:::{#tbl-tm3a}
| A | B | C |
|---|---|---|
| 1 | 2 | 3 |

Table1: 
:::

:::{#tbl-tm3b}
| A | B | C |
|

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@cderv
Comment options

Answer selected by mcanouil
@mcanouil
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
latex LaTeX engines related libraries and technologies
3 participants