public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: John MacFarlane <fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Subject: Re: [MD and LaTeX to PDF] `\newline` is not creating new lines when intermediate format is LaTeX
Date: Sun, 12 Mar 2023 09:27:17 -0700	[thread overview]
Message-ID: <A56B8F0B-678D-4756-B3FA-224201097F6D@gmail.com> (raw)
In-Reply-To: <7e7a78f6-462f-45b3-948c-6cf8988ab702n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>

\newline can't be used like that in math mode.

The proper approach is to use the aligned environment

https://tex.stackexchange.com/questions/336735/why-isnt-or-newline-working

$$
\begin{aligned}
V_{1} &= R_{\text{V}, 1} I \\
I &= \frac{V_{1}}{R_{\text{V}, 1}} \\
  &= \frac{9.0}{300} \\
  &= 0.03 \text A
$$


> On Mar 12, 2023, at 5:59 AM, Smallcreek <gotgoogzagain322-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> 
> V_{1} = R_{\text{V}, 1} I \newline\newline
> I = \frac{V_{1}}{R_{\text{V}, 1}} \newline\newline
>   = \frac{9.0}{300} \newline\newline
>   = 0.03 \text A


      parent reply	other threads:[~2023-03-12 16:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-12 12:59 Smallcreek
     [not found] ` <7e7a78f6-462f-45b3-948c-6cf8988ab702n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2023-03-12 16:27   ` John MacFarlane [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=A56B8F0B-678D-4756-B3FA-224201097F6D@gmail.com \
    --to=fiddlosopher-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).