You are on page 1of 2

nguyenkinh@ytecongcong.

com
LATEX c n b n
Ci t theo th t GHOSTSCRIPTGHOSTVIEWMIKTEXT(chy TeXStudio)
% comment
& phn cch d liu cc ct trong bng
$ $ chn cng thc vo cng hng ang vit
$$ $$ chn cng thc, hin th ring hng mi
\\ xung dng
\pause trnh chiu tng dng cho ppt
M u
\documentclass[]{article} lm powerpoint chn {beamer}, =handout xut handout
\usepackage{graphicx} chn hnh
\usepackage{float} ty chnh hnh, bng
\usepackage{verbatim} chn code
\usepackage{color} chn mu cho ch
%\usetheme{Montpellier} hay chn CambridgeUS, Szeged chn layout cho ppt(3 ci p)
\useinnertheme{rectangles} hay cirlce, triangle chn kiu cho button
\usepackage[utf8]{vietnam} S dng ting Vit
\usepackage{helvet} dng font arial
%\usefonttheme{serif} dng font times new roman
Trang ba/u
\title{Ta bi}
\author{Tc gi} dung \inst{1} cho nhiu tc gi
\institute{C quan} %\inst{1}} s tng ng vi tc gi
\date{\today} chn ngy thng (unless t ng chn thi gian xut)
Trang mc lc
\begin{document} mi ni dung nm trong lnh ny
\maketitle hin th trang ba
\frame{\titlepage} hin th slide u (ch ppt)
\tableofcontents hin th mc lc
\listoftables hin th ch mc bng
\listoffigures hin th ch mc hnh
Chn mc
\section*{name} chn tiu m khng nh s
\section{name} tiu cp 1
\subsection{name} tiu cp 2
\subsubsection{title} tiu cp 3
C th dng \part{} \chaper{} \paragraph{} ty ni dung vn bn
Chn slides (ppt)
\begin{frame}{tiu slide}{tiu nh}
Ni dung
\end{frame}
Chn bullet,numbering
\begin{itemize}
\item Th nht Ctrl Shift I
\item
\subitem item con
\subsubitem item chu
\end{itemize}
nh s dng {enumerate}, khng nh s, bullet: {description} hoc {list}
nguyenkinh@ytecongcong.com
Chn code
\begin{}[fragile]
\begin{verbatim} cn package verbatim
hin th code y
\end{verbatim}
\end{}
Chn bng
\begin{table}[h] h chn bng ti v tr g code (chun l tbp)
\centering cn gia
\caption{Table title}
\begin{tabular}{lcr|} lcr=left center right ty vo s ct
\hline \hline horizontal line
id & name & age\\ lc|r| thm gch dc cho ct cui,
\hline
1 & Kinh & 983\\ & dng phn cch d liu ct
2 & Van & 983\\
3 & Nguyen & 983\\
\end{tabular}
\label{table1.1} to nhn s dng khi tham chiu \ref{label}
\end{table}
Chn hnh
\begin{figure}[tbp] cn package graphicx
\includegraphics[height=5cm,width=0.8\textwidth, angle=90/180]{name.jpg}
\caption{Distribution...}
\label{fig1.1}
\end{figure}
Lu hnh chung th mc vi tex file
nh dng ch
\centering canh gia
Hoc
\begin{center}
... \end{center}
\begin{flushright} canh phi (mc nh canh tri)
\end{flushright}
\txtbf{text} t, Ctrl B
\txtit{text} t, Ctrl I
\underline{text} gch di
\textcolor{color}{text} mu ch (cn package color) white, black, red, green,
blue, cyan, magenta, yellow
\pagecolor{color} mu trang
\colorbox{color}{text} mu nn ch
\fcolorbox{color}{text} mu vin ch
nh dng trang
\newpage, \pagebreak sang trang
Cc cng thc ton
Cn ti u hc ti
http://en.wikibooks.org/wiki/LaTeX/Mathematics

You might also like