在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):mundimark/markdown-vs-latex开源软件地址(OpenSource Url):https://github.com/mundimark/markdown-vs-latex开源编程语言(OpenSource Language):开源软件介绍(OpenSource Introduction):Markdown vs LaTeX / TeX MarkupMarkdown vs Markup Note: Why? LaTeX / TeX markup works great for producing high-quality typesetting for articles, research papers, manuals, books, etc. Markdown works great for distraction-free focus-on-what-you-want-to-say writing. Using tools such as pandoc or kramdown you can (auto-)convert plain text in markdown to LaTeX for further processing. Get the best of both worlds! We Article\documentclass{article}
\begin{document}
Hello world!
\end{document} vs
</> Note: In LaTeX "standard" title infos include: title, author, date (and thanks). \documentclass{article}
\title{How to Structure a LaTeX Document}
\author{Andrew Roberts}
\date{December 2016}
\begin{document}
\maketitle
Hello world!
\end{document} vs
</> BookNote: In LaTeX "standard" sections include:
Sections in letters include: address, opening, closing, signature, etc.; in presentations (e.g. beamer) include: frame, etc.; in posters include: ?? \documentclass{book}
\begin{document}
\chapter{Introduction}
This chapter's content...
\section{Structure}
This section's content...
\subsection{Top Matter}
This subsection's content...
\subsubsection{Article Information}
This subsubsection's content...
\end{document} vs
</> Paragraphs and White Space
Note: The same in LaTeX and Markdown. However, indentation by four or more spaces starts a code block/verbatim text block in Markdown. </> Verbatim Text / Code Blocks\begin{verbatim}
The verbatim environment
simply reproduces every
character you input,
including all s p a c e s!
\end{verbatim} vs
Note: Dots ( </> (Hard) Line BreaksAndrew Roberts\\
School of Computing,\\
University of Leeds,\\
Leeds,\\
United Kingdom,\\
LS2 1HE vs
Note: Dots ( or
</> (Inline) Text Formatting (Bold & Italics)Note: In LaTeX text formatting styles include:
A \textbf{bold \textit{Hello LaTeX}} to start! vs
</> Bulleted List\begin{itemize}
\item The first item
\item The second item
\item The third etc.
\end{itemize} vs
or
</> Numbered List\begin{enumerate}
\item The first item
\item The second item
\item The third etc.
\end{enumerate} vs
</> \begin{enumerate}
\item The first item
\begin{enumerate}
\item Nested item 1
\item Nested item 2
\end{enumerate}
\item The second item
\item The third etc.
\end{enumerate} vs
</> Simple Table\begin{tabular}{ l l l }
Day & Min Temp & Max Temp \\
Monday & 11° C & 22° C \\
Tuesday & 9° C & 19° C \\
Wednesday & 10° C & 21° C \\
\end{tabular} vs
</> Quotes & DashesQuotation marks like
``this''
have to be handled specially, as do quotes within
quotes:
``\,`this' % \, separates the double and single quote.
is what I just
wrote, not `that'\,''. vs
Note: Markdown uses a text filter (smarty pants) to pretty print quotes. </> Dashes come in three sizes: an
intra-word
dash, a medium dash for number ranges like
1--2,
and a punctuation
dash---like
this. Note: In LaTeX
Note: Markdown uses a text filter (smarty pants) to pretty print dashes. </> Comments% This is a sample LaTeX input file. (Version of 12 August 2004.)
%
% A '%' character causes TeX to ignore all remaining text on the line,
% and is used for comments like this one. vs
Note: Markdown uses HTML comments. </> Reserved "Special" CharactersNotes:
vs
</> |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论