Latex basic
LaTeX basic usages. takeaways from Luke Smith’s Latex tutorial
Basic Structure
|
|
Numbered Lists
|
|
No-number
|
|
Fonts and Quotations
|
|
Labels and references:
\section{something \label{som}}
I'm using ref to \ref{som}
the numbering of \ref and \label will match when the article structure changes.
Images & Figures
|
|
Basic usage
|
|
Figures figures are numbered. can add captions
|
|
Figure Positioning:
by default latex put figures where it’s most space-efficient
-
\begin{figure}[h]
puts the figure exactly where this line of source code is. -
\begin{figure}[t]
puts the figure on page top. -
\begin{figure}[b]
puts the figure on page bottom.
paras e.g.
|
|
Wrapping package:
usepackage{wrapfig}
Usage:
|
|
Paras:
{r}
place on the right{3in}
width of the wrap area (not the figure width)
Figure Label and Refs
|
|
Bibliographies managements
in file library.bib
|
|
note: test
is the reference id
|
|
TWO-Column Articles:
|
|
Macro
|
|
[+] click to leave a comment [+]
the comment system on this blog works via email. The button below will generate a mailto: link based on this page's url and invoke your email client - please edit the comment there! [optional] even better, encrypt the email with my public key - don't modify the subject field - specify a nickname, otherwise your comment will be shown as anonymous - your email address will not be disclosed - you agree that the comment is to be made public. - to take down a comment, send the request via email.>> SEND COMMENT <<