Skip to content

Commit dfa4a30

Browse files
committed
flatten latex examples
1 parent f5dd499 commit dfa4a30

15 files changed

+176
-179
lines changed

LaTeX/README.md

+7-10
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ LaTeX - Examples
44
Program List
55
------------
66

7-
[*Bibliography*](/LaTeX/Bibliography/)
7+
*Bibliography*
88

99
- **bibliography**.bib
1010
- includes one of each common type of reference
1111

12-
[*Documents*](/LaTeX/Documents/)
12+
*Documents*
1313

1414
- **notebook**.tex
1515
- a document compiled from smaller ones (like a notebook or journal)
@@ -21,9 +21,8 @@ Program List
2121
- general sample of a report (not a two-column layout)
2222
- **resume**.tex
2323
- general sample of a resume
24-
- style by **Michael DeCorte** (*resume.cls*)
2524

26-
[*Language*](/LaTeX/Language/)
25+
*Language*
2726

2827
- **commands**.tex
2928
- collection of some useful commands for LaTeX files
@@ -37,16 +36,14 @@ Program List
3736
Compiling & Running Code
3837
------------------------
3938

40-
some samples are not meant to be compiled alone, and these samples are marked as such
39+
Some code examples are not meant to be compiled alone but with additional files, and these examples have been marked.
4140

42-
for Linux, you can use the provided bash script
41+
For Linux, you can use the provided bash script:
4342
> e.g. for document: **resume.tex**
4443
45-
> > cd **Resume/**
46-
47-
> > ./../run **resume**
44+
> > ./run **resume**
4845
4946
Credit
5047
------
5148

52-
resume style by **Michael DeCorte**
49+
Resume style by **Michael DeCorte**.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
+103-103
Original file line numberDiff line numberDiff line change
@@ -1,103 +1,103 @@
1-
% general sample of a two-column paper
2-
3-
%%% DOCUMENT TYPE
4-
\documentclass[11pt]{article}
5-
\usepackage[utf8]{inputenc}
6-
7-
%%% PAGE DIMENSIONS
8-
\usepackage[left=2cm, right=2cm, top=2cm, bottom=2cm]{geometry}
9-
\geometry{a4paper}
10-
11-
%%% PACKAGES
12-
\usepackage{booktabs}
13-
\usepackage{array}
14-
\usepackage{verbatim}
15-
\usepackage{subfig}
16-
\usepackage{hyperref}
17-
\usepackage{amssymb,amsmath}
18-
\usepackage{graphicx}
19-
\usepackage{multicol}
20-
\usepackage{lscape}
21-
\setlength{\columnsep}{24pt}
22-
\usepackage[sort,compress,comma,super]{natbib}
23-
24-
%%% CUSTOM COMMANDS
25-
26-
%%% HEADERS & FOOTERS
27-
\usepackage{fancyhdr}
28-
\pagestyle{fancy}
29-
\renewcommand{\headrulewidth}{0pt}
30-
\lhead{}\chead{}\rhead{}
31-
\lfoot{}\cfoot{\thepage}\rfoot{}
32-
33-
%%% TITLE INFO
34-
\title{Sample Title}
35-
\author{Sean McKenna}
36-
\date{\today}
37-
38-
%%% MULTICOL TABLE & FIGURE SUPPORT
39-
\begin{document}
40-
\makeatletter
41-
\newenvironment{ctable}{\def\@captype{table}}{}
42-
\newenvironment{cfigure}{\def\@captype{figure}}{}
43-
\makeatother
44-
45-
%%% BEGIN PAPER
46-
\maketitle
47-
48-
\begin{multicols}{2}
49-
50-
51-
52-
\section{\textbf{Introduction}}
53-
Insightful and interesting introduction goes here!
54-
55-
56-
57-
\section{\textbf{Background}}
58-
\subsection{Topic One}
59-
Explain your first topic.
60-
61-
\subsection{Topic Two}
62-
Explain your second topic.
63-
64-
\subsection{Topic Three}
65-
Explain your third topic.
66-
67-
68-
69-
\section{\textbf{Experiment}}
70-
\subsection{Part One}
71-
Explain part one.
72-
73-
\subsection{Part Two}
74-
Explain part two.
75-
76-
\subsection{Part Three}
77-
Explain part three.
78-
79-
80-
81-
\section{\textbf{Analysis}}
82-
\subsection{Part One}
83-
Explain part one.
84-
85-
\subsection{Part Two}
86-
Explain part two.
87-
88-
\subsection{Part Three}
89-
Explain part three.
90-
91-
92-
93-
\section{\textbf{Conclusion}}
94-
Always end with a witty, inspiring, and concise conclusion.
95-
96-
97-
98-
\raggedright
99-
\bibliographystyle{apalike}
100-
\bibliography{sources}
101-
102-
\end{multicols}
103-
\end{document}
1+
% general sample of a two-column paper
2+
3+
%%% DOCUMENT TYPE
4+
\documentclass[11pt]{article}
5+
\usepackage[utf8]{inputenc}
6+
7+
%%% PAGE DIMENSIONS
8+
\usepackage[left=2cm, right=2cm, top=2cm, bottom=2cm]{geometry}
9+
\geometry{a4paper}
10+
11+
%%% PACKAGES
12+
\usepackage{booktabs}
13+
\usepackage{array}
14+
\usepackage{verbatim}
15+
\usepackage{subfig}
16+
\usepackage{hyperref}
17+
\usepackage{amssymb,amsmath}
18+
\usepackage{graphicx}
19+
\usepackage{multicol}
20+
\usepackage{lscape}
21+
\setlength{\columnsep}{24pt}
22+
\usepackage[sort,compress,comma,super]{natbib}
23+
24+
%%% CUSTOM COMMANDS
25+
26+
%%% HEADERS & FOOTERS
27+
\usepackage{fancyhdr}
28+
\pagestyle{fancy}
29+
\renewcommand{\headrulewidth}{0pt}
30+
\lhead{}\chead{}\rhead{}
31+
\lfoot{}\cfoot{\thepage}\rfoot{}
32+
33+
%%% TITLE INFO
34+
\title{Sample Title}
35+
\author{Sean McKenna}
36+
\date{\today}
37+
38+
%%% MULTICOL TABLE & FIGURE SUPPORT
39+
\begin{document}
40+
\makeatletter
41+
\newenvironment{ctable}{\def\@captype{table}}{}
42+
\newenvironment{cfigure}{\def\@captype{figure}}{}
43+
\makeatother
44+
45+
%%% BEGIN PAPER
46+
\maketitle
47+
48+
\begin{multicols}{2}
49+
50+
51+
52+
\section{\textbf{Introduction}}
53+
Insightful and interesting introduction goes here!
54+
55+
56+
57+
\section{\textbf{Background}}
58+
\subsection{Topic One}
59+
Explain your first topic.
60+
61+
\subsection{Topic Two}
62+
Explain your second topic.
63+
64+
\subsection{Topic Three}
65+
Explain your third topic.
66+
67+
68+
69+
\section{\textbf{Experiment}}
70+
\subsection{Part One}
71+
Explain part one.
72+
73+
\subsection{Part Two}
74+
Explain part two.
75+
76+
\subsection{Part Three}
77+
Explain part three.
78+
79+
80+
81+
\section{\textbf{Analysis}}
82+
\subsection{Part One}
83+
Explain part one.
84+
85+
\subsection{Part Two}
86+
Explain part two.
87+
88+
\subsection{Part Three}
89+
Explain part three.
90+
91+
92+
93+
\section{\textbf{Conclusion}}
94+
Always end with a witty, inspiring, and concise conclusion.
95+
96+
97+
98+
\raggedright
99+
\bibliographystyle{apalike}
100+
\bibliography{sources}
101+
102+
\end{multicols}
103+
\end{document}
File renamed without changes.
File renamed without changes.
File renamed without changes.
+66-66
Original file line numberDiff line numberDiff line change
@@ -1,66 +1,66 @@
1-
% general sample of a resume
2-
% works with the resume document class (resume.cls)
3-
4-
%%% DOCUMENT TYPE
5-
\documentclass[margin]{resume}
6-
\textwidth=5.2in
7-
8-
%%% TITLE INFO
9-
\begin{document}
10-
\name{\Large{Sean P. McKenna}\\[12pt]}
11-
12-
%%% CONTACT INFORMATION
13-
\address{EMAIL ADDRESS \\ PHONE \#}
14-
\address{HOME ADDRESS \\ CITY, STATE ZIP}
15-
16-
%%% BEGIN RESUME
17-
\begin{resume}
18-
19-
20-
%%% OBJECTIVE (dependent on your goals)
21-
\section{Objective}
22-
To get a job
23-
24-
25-
%%% EDUCATION
26-
\section{Education}
27-
{\bf COLLEGE,} CITY, STATE \\
28-
B.A. in Something \\
29-
Graduate Someday\\
30-
GPA: 4.00
31-
32-
33-
%%% EXPERIENCE
34-
\section{Experience}
35-
36-
{\bf Some Job,} Some Where \hfill 01/12 - 12/12
37-
\begin{itemize} \itemsep -2pt
38-
\item what did you do?
39-
\item how did you do it?
40-
\item why was this job important?
41-
\end{itemize}
42-
43-
44-
%%% ACTIVITIES
45-
\section{Activities}
46-
{\bf Member,} Some Group, Location \hfill Spring 2012 - Winter 2012 \\
47-
{\bf Member,} Another Group, Another Location \hfill Spring 2012 - Present
48-
49-
50-
%%% ACADEMIC HONORS
51-
\section{Academic \\ Honors}
52-
Some Award: From Some Place \\
53-
Another Award: From Another Place
54-
55-
56-
%%% COMPUTER SKILLS
57-
\section{Computer \\ Skills}
58-
\begin{tabular}{l p{3in}}
59-
\underline{Operating Systems:} & Windows, Mac, Linux \\ \\
60-
\underline{Languages:} & \LaTeX \\ \\
61-
\underline{Software:} & Microsoft Office, LibreOffice, Google Drive \\
62-
\end{tabular}
63-
64-
65-
\end{resume}
66-
\end{document}
1+
% general sample of a resume
2+
% works with the resume document class (resume.cls)
3+
4+
%%% DOCUMENT TYPE
5+
\documentclass[margin]{resume}
6+
\textwidth=5.2in
7+
8+
%%% TITLE INFO
9+
\begin{document}
10+
\name{\Large{Sean P. McKenna}\\[12pt]}
11+
12+
%%% CONTACT INFORMATION
13+
\address{EMAIL ADDRESS \\ PHONE \#}
14+
\address{HOME ADDRESS \\ CITY, STATE ZIP}
15+
16+
%%% BEGIN RESUME
17+
\begin{resume}
18+
19+
20+
%%% OBJECTIVE (dependent on your goals)
21+
\section{Objective}
22+
To get a job
23+
24+
25+
%%% EDUCATION
26+
\section{Education}
27+
{\bf COLLEGE,} CITY, STATE \\
28+
B.A. in Something \\
29+
Graduate Someday\\
30+
GPA: 4.00
31+
32+
33+
%%% EXPERIENCE
34+
\section{Experience}
35+
36+
{\bf Some Job,} Some Where \hfill 01/12 - 12/12
37+
\begin{itemize} \itemsep -2pt
38+
\item what did you do?
39+
\item how did you do it?
40+
\item why was this job important?
41+
\end{itemize}
42+
43+
44+
%%% ACTIVITIES
45+
\section{Activities}
46+
{\bf Member,} Some Group, Location \hfill Spring 2012 - Winter 2012 \\
47+
{\bf Member,} Another Group, Another Location \hfill Spring 2012 - Present
48+
49+
50+
%%% ACADEMIC HONORS
51+
\section{Academic \\ Honors}
52+
Some Award: From Some Place \\
53+
Another Award: From Another Place
54+
55+
56+
%%% COMPUTER SKILLS
57+
\section{Computer \\ Skills}
58+
\begin{tabular}{l p{3in}}
59+
\underline{Operating Systems:} & Windows, Mac, Linux \\ \\
60+
\underline{Languages:} & \LaTeX \\ \\
61+
\underline{Software:} & Microsoft Office, LibreOffice, Google Drive \\
62+
\end{tabular}
63+
64+
65+
\end{resume}
66+
\end{document}
File renamed without changes.

0 commit comments

Comments
 (0)