Latex 样例

这篇博客介绍了如何在Ubuntu 12.04环境下使用LaTeXila从头开始创建一个LaTeX文档。内容包括理解模板结构、设置基本格式以及编译流程,旨在帮助读者掌握独立撰写LaTeX文档的技能。
摘要由CSDN通过智能技术生成

在使用Latex写论文的时候,老师都是给的一个模版,直接把里面的东西进行替换就行乐


这就导致,我们根本就不知道如何从头开始写一个Latex文件,并使它能编译通过


样例来自Making a typical LaTeX document,使用超链接了,点下就可以了


使用软件:ubuntu12.04+LateXila


代码


\documentclass[12pt]{article}

\newcommand{\piRsquare}{\pi r^2}		% This is my own macro !!!

\title{My Sample \LaTeX{} Document}			% used by \maketitle
\author{\L\"{a}rs  Schl{\oe}ff\d{o}ng\"{e}n, }		% used by \maketitle
\date{July 14, 2005}					% used by \maketitle

\begin{document}
\maketitle						% automatic title!

I typed this file with a plain text editor.
(I used \textbf{pico} and \textbf{emacs}.)
End
	of
		paragraph.

This is my second paragraph.
The area of a circle is $\pi r^2$; again, that is $\piRsquare$
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值