* How to center oversized figures?
@ 2022-10-18 12:49 Niko
[not found] ` <e470d516-fa86-4c53-8935-d19f5c0f9b04n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
0 siblings, 1 reply; 3+ messages in thread
From: Niko @ 2022-10-18 12:49 UTC (permalink / raw)
To: pandoc-discuss
[-- Attachment #1.1: Type: text/plain, Size: 659 bytes --]
Hi all,
I am trying to center figures on pdf. The main.md has:
![some text](some-figure.png){width=166% #fig:figlabel}
*... continuing in comments as my messages are getting removed
automatically. This is my fifth time trying to post this..*
--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/e470d516-fa86-4c53-8935-d19f5c0f9b04n%40googlegroups.com.
[-- Attachment #1.2: Type: text/html, Size: 993 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: How to center oversized figures?
[not found] ` <e470d516-fa86-4c53-8935-d19f5c0f9b04n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2022-10-23 8:25 ` 'Marek Stepanek' via pandoc-discuss
[not found] ` <FDD49F37-76AD-4427-AB55-54E62DBBE76B-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org>
0 siblings, 1 reply; 3+ messages in thread
From: 'Marek Stepanek' via pandoc-discuss @ 2022-10-23 8:25 UTC (permalink / raw)
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw
Hi Niko,
I don't know whether there is a more elegant way to do it, but I insert a snippet of LaTeX into my markdown document to achieve this:
```{=latex}
\begin{figure}[h!]
\centering
\includegraphics[width=\linewidth]{some-figure.png}
\label{fig:figlabel}
\end{figure}
```
To keep it more Markdown like:
```{=latex}
\begin{center}
```
![Your Caption](your_figure.png){ width=60% }
```{=latex}
\end{center}
```
Best greetings
marek
> On 18. Oct 2022, at 14:49, Niko <niko-k13cyrtlpCBBDLzU/O5InQ@public.gmane.org> wrote:
>
> Hi all,
>
> I am trying to center figures on pdf. The main.md has:
>
> ![some text](some-figure.png){width=166% #fig:figlabel}
>
> ... continuing in comments as my messages are getting removed automatically. This is my fifth time trying to post this..
>
> --
> You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/e470d516-fa86-4c53-8935-d19f5c0f9b04n%40googlegroups.com.
^ permalink raw reply [flat|nested] 3+ messages in thread
* AW: How to center oversized figures?
[not found] ` <FDD49F37-76AD-4427-AB55-54E62DBBE76B-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org>
@ 2022-10-23 8:52 ` denis.maier-NSENcxR/0n0
0 siblings, 0 replies; 3+ messages in thread
From: denis.maier-NSENcxR/0n0 @ 2022-10-23 8:52 UTC (permalink / raw)
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw
Maybe this: https://tex.stackexchange.com/questions/86350/includegraphics-maximum-width#86355
________________________________________
Von: 'Marek Stepanek' via pandoc-discuss <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Gesendet: Sonntag, 23. Oktober 2022 10:25:30
An: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Betreff: Re: How to center oversized figures?
Hi Niko,
I don't know whether there is a more elegant way to do it, but I insert a snippet of LaTeX into my markdown document to achieve this:
```{=latex}
\begin{figure}[h!]
\centering
\includegraphics[width=\linewidth]{some-figure.png}
\label{fig:figlabel}
\end{figure}
```
To keep it more Markdown like:
```{=latex}
\begin{center}
```
![Your Caption](your_figure.png){ width=60% }
```{=latex}
\end{center}
```
Best greetings
marek
> On 18. Oct 2022, at 14:49, Niko <niko-k13cyrtlpCBBDLzU/O5InQ@public.gmane.org> wrote:
>
> Hi all,
>
> I am trying to center figures on pdf. The main.md has:
>
> ![some text](some-figure.png){width=166% #fig:figlabel}
>
> ... continuing in comments as my messages are getting removed automatically. This is my fifth time trying to post this..
>
> --
> You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/e470d516-fa86-4c53-8935-d19f5c0f9b04n%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/FDD49F37-76AD-4427-AB55-54E62DBBE76B%40googlemail.com.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-10-23 8:52 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-18 12:49 How to center oversized figures? Niko
[not found] ` <e470d516-fa86-4c53-8935-d19f5c0f9b04n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2022-10-23 8:25 ` 'Marek Stepanek' via pandoc-discuss
[not found] ` <FDD49F37-76AD-4427-AB55-54E62DBBE76B-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org>
2022-10-23 8:52 ` AW: " denis.maier-NSENcxR/0n0
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).