~efargaspro/+junk/codeblocks-16.01-release

« back to all changes in this revision

Viewing changes to src/sdk/resources/lexers/lexer_latex.sample

  • Committer: damienlmoore at gmail
  • Date: 2016-02-02 02:43:22 UTC
  • Revision ID: damienlmoore@gmail.com-20160202024322-yql5qmtbwdyamdwd
Code::BlocksĀ 16.01

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
\documentclass[12pt]{article}
 
2
\begin{document}
 
3
 
 
4
\section{First section}
 
5
 
 
6
  \begin{table}[!ht]
 
7
    \centering
 
8
    \begin{tabular}{|r|l|}
 
9
      \hline
 
10
      row1col1 & row1col2\\
 
11
      \hline
 
12
      row2col1 & row2col2\\
 
13
      \hline
 
14
    \end{tabular}
 
15
    \caption{A table caption}
 
16
    \label{tab_the_table}
 
17
  \end{table}
 
18
 
 
19
  \subsection{First sub-section}
 
20
  \emph{Hello} \texttt{World} to \LaTeX.\\
 
21
  Look up the table \ref{tab_the_table}!
 
22
  \begin{itemize}
 
23
    \item one
 
24
    \item two
 
25
    \item three
 
26
  \end{itemize}
 
27
 
 
28
  \subsection{Second sub-section}
 
29
  % Believe in Einstein.
 
30
  $E = m \cdot c^2$... for real.
 
31
 
 
32
\end{document}