public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* Converting to latex with a figure in a table
@ 2021-05-20  2:22 jiewuza
  2021-05-21  2:35 ` jiewuza
  0 siblings, 1 reply; 5+ messages in thread
From: jiewuza @ 2021-05-20  2:22 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

[-- Attachment #1: Type: text/plain, Size: 671 bytes --]

I got 2 problems.
1. If the figure is converted as 
```
\includegraphics{img/logo.png}
```
in a table cell, the image is two big to fill in the cell in the resulting pdf. It seems the image is not constained by the width of the table cell.

2. Now if I want to add caption for the figure and manually modify it as
```
\begin{figure}
\centering
\includegraphics{img/logo.png}
\caption{blah blah}
\end{figure}
```

It results in error during pdf generation.

According to https://tex.stackexchange.com/questions/383254/placing-figures-inside-table-with-captions-for-each

I wonder if it is possible for a lua filter to use subfigure when a figure is found in a table.
-- 


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-05-24 18:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-20  2:22 Converting to latex with a figure in a table jiewuza
2021-05-21  2:35 ` jiewuza
2021-05-21 17:07   ` John MacFarlane
2021-05-24  1:42     ` jiewuza
2021-05-24 18:33       ` John MacFarlane

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).