MultiMarkdown-6 icon indicating copy to clipboard operation
MultiMarkdown-6 copied to clipboard

How to put multiple line breaks?

Open arteteco opened this issue 5 years ago • 2 comments

hello everyone, I'm trying to put two line breaks in my pdf file output passin through latex.

This is the MD text I'm using

latex begin: latBegin.txt

Text
\ 
\ 
New line

I give a multimarkdown -t latex test.md > test.tex and this is the output

\input{latBegin.txt}

Text
~
~
New line

\end{document}

I then convert it to pdf with pdflatex test.tex

What I'm hoping to see is

Text


New line

Instead I see

Text
 New line

In the latex file the \ is converted to ~, which I'm not sure is the intended character.

This is my latbegin.tex, rather simple

\documentclass[a4paper,12pt, openany, oneside]{scrbook}

\begin{document} 

Any tip on how to do this? I searched on the docs but can't figure out how to add multiple line breaks.

Thanks!

arteteco avatar Jan 11 '21 11:01 arteteco

On Mon, Jan 11, 2021 at 5:01 AM arteteco [email protected] wrote:

hello everyone, I'm trying to put two line breaks in my pdf file output passin through latex.

Is this a LaTeX issue? https://stackoverflow.com/questions/2195908/latex-multiple-linebreaks

dgreen avatar Jan 11 '21 17:01 dgreen

I am not at my computer to test but that is my assumption.

It looks like your LaTeX picked up the line breaks from MultiMarkdown, but I would not be surprised if there is no such thing as consecutive line breaks In latex but instead it would be a new paragraph. (Verbatim blocks might be different of course. )

On Mon, Jan 11, 2021 at 12:25 PM David Green [email protected] wrote:

On Mon, Jan 11, 2021 at 5:01 AM arteteco [email protected] wrote:

hello everyone, I'm trying to put two line breaks in my pdf file output passin through latex.

Is this a LaTeX issue? https://stackoverflow.com/questions/2195908/latex-multiple-linebreaks

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/fletcher/MultiMarkdown-6/issues/197#issuecomment-758101904, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAXYKIZW3PERZ5R37XGD6LSZMYAPANCNFSM4V5MNGIQ .

-- Fletcher T. Penney [email protected]

fletcher avatar Jan 11 '21 17:01 fletcher