
내가 생각하는 이상적인 세상에서는원하다같은 것을 쓸 수 있도록
So here are the steps:
- So now we define x^* = min { x | sum_kk ||f(x_kk^20)|| } and then do blah
- But this requires another indented bullet point with a couple equations:
a = 1/2 + 1
b = c + d
- Now I have another step
다음과 같이 LaTeX에서 합리적으로 유사한 것으로 자동 변환되도록 합니다.
So here are the steps:
\begin{itemize}
\item So now we define $x^* = \min \left\{ x \middle| \sum_{kk} \lVert f(x_{kk}^{20}) \rVert \right\}$ and then do blah
\begin{itemize}
\item But this requires another indented bullet point
\begin{align*}
a &= 1/2 + 1 \\
b &= c + d
\end{align*}
\begin{itemize}
\item Now I have another step
\end{itemize}
아마도 그렇게 하는 도구가 없다는 것을 깨달았습니다.정확히그런데 원격으로 이와 같은 작업을 수행하고 손가락을 아끼고 타이핑을 덜 할 수 있도록 도와주는 도구가 있나요?
메모:
나는~ 아니다손글씨를 변환하려고 합니다. 그것에 대해 이미 또 다른 질문이 있습니다.
"올바른" 출력은 주관적입니다. 괜찮아. 나는 단지 합리적인 것을 원할 뿐입니다.
필요하다면 온갖 것을 입력할 수 있지만
$...$
가능한\
한 적게 입력하고 싶습니다.
에 의해멀리입력하기 가장 어려운 것은\begin{ENVIRONMENT}...\end{ENVIRONMENT}
,\left...\middle...\right
및 그러한 장황한 구문입니다.
답변1
댓글과 채팅에서 논의한 것처럼 수학을 명확하게 구문 분석할 수 있는 방법은 없습니다. 따라서 LaTeX로 변환하는 대부분의 도구는 귀하의 질문에 표시된 것처럼 정교한 수학 구문 분석 기술을 구현하지 않습니다.
그러나 이 pandoc
도구는 인라인 LaTeX 수학을 허용합니다. 다음 예를 다음과 같이 저장해 보세요.test.md
So here are the steps:
- So now we define $x^* = \min\left\{ x \middle| \sum_{kk} \|f(x_{kk}^{20})\| \right\}$ and then do blah
- But this requires another indented bullet point with a couple equations:
\begin{align*}
a &= 1/2 + 1 \\
b &= c + d \\
\end{align*}
- Now I have another step
이제 이 코드 조각을 LaTeX로 변환하는 데 사용할 수 있습니다 pandoc
.
pandoc -f markdown -t latex -o test.tex test.md
결과에는 text.tex
다음 내용이 포함됩니다.
So here are the steps:
\begin{itemize}
\itemsep1pt\parskip0pt\parsep0pt
\item
So now we define
$x^* = \min\left\{ x \middle| \sum_{kk} \|f(x_{kk}^{20})\| \right\}$
and then do blah
\begin{itemize}
\itemsep1pt\parskip0pt\parsep0pt
\item
But this requires another indented bullet point with a couple
equations:
\begin{align*}
a &= 1/2 + 1 \\
b &= c + d \\
\end{align*}
\end{itemize}
\item
Now I have another step
\end{itemize}
답변2
드러내다그것은 존재하며 ASCIIMath라고 불립니다.!
MathJax가 렌더링할 수 있도록 HTML의 수학을 MathML로 변환하는 것 같습니다.
그런 다음 LaTeX 코드를 정말로 원한다면 표준 유틸리티를 사용하여 MathML을 LaTeX로 변환할 수 있습니다. 그렇지 않으면 렌더링된 출력을 직접 사용할 수 있습니다.