-
Notifications
You must be signed in to change notification settings - Fork 1
/
main.tex
169 lines (143 loc) · 4.67 KB
/
main.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
% Created 2024-10-11 Fri 13:13
% Intended LaTeX compiler: pdflatex
\documentclass[11pt,letterpaper]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{graphicx}
\usepackage{longtable}
\usepackage{wrapfig}
\usepackage{rotating}
\usepackage[normalem]{ulem}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{capt-of}
\usepackage{hyperref}
\usepackage[letterpaper, total={6.75in, 9in}]{geometry} % good with line numbers
\usepackage{fancyhdr,lipsum} % conflicts with \pagestyle{myheading}
\pagestyle{fancy}
\usepackage{lastpage}
\fancyhf{}% Clear header/footer
\fancyhead[L]{Student, ..., and Mooers}
\fancyhead[C]{Manuscript template in Org}
\fancyhead[R]{\thepage\ / \pageref{LastPage}}
\renewcommand{\headrulewidth}{1pt} % set to 0pt to hide headrule
\usepackage{minted}
\usepackage{booktabs}
\usepackage{graphicx}
\usepackage{xurl} % permit line breaks in urls
\usepackage{hyperref,lineno}
\usepackage{datetime2}
\usepackage{amsmath,amssymb,amsfonts}
\usepackage{breakcites} % allow citatation to wrap
\usepackage[utf8]{inputenc}
\usepackage{setspace} \doublespacing
\doublespacing % turn on doublespacing for the whole document.
\usepackage{parskip} % add a blank line between paragraphs upon export to PDF.
\usepackage[T1]{fontenc}
\usepackage{authblk}
\usepackage[labelfont=bf]{caption}
\DeclareCaptionType{equ}[][]
% Create a code float environment to enclosed minted environments so that captions can be added to code listings.
\newenvironment{code}{\captionsetup{type=listing}}{}
% Approximate Arial font. To save ink by returning to a sans serif font, comment the next two lines.
\usepackage{helvet}
\renewcommand{\familydefault}{\sfdefault}
\modulolinenumbers[1]
\setlength{\parindent}{0pt} % Remove automatic indent of paragraphs.
\usepackage{setspace} \doublespacing
\date{\today}
\title{Generic Manuscript Template}
\hypersetup{
pdfauthor={Blaine Mooers},
pdftitle={Generic Manuscript Template},
pdfkeywords={},
pdfsubject={},
pdfcreator={Emacs 29.4 (Org mode 9.6.15)},
pdflang={English}}
\usepackage{natbib}
\begin{document}
\author[1]{Graduate Student}
\author[2]{Senior Collaborator}
\author[3]{Staff Scientist}
\author[1,2,3]{Blaine Mooers\thanks{blaine-mooers at ouhsc.edu, phone: 405-271-8XXX, FAX: 405-271-3X3X}}
\affil[1]{Department of Biochemistry and Molecular Biology, University of Oklahoma Health Sciences Center, Oklahoma City, Oklahoma, United States 73104}
\affil[2]{Stephenson Cancer Center, University of Oklahoma Health Sciences Center, Oklahoma City, Oklahoma, United States 73104}
\affil[3]{Laboratory of Biomolecular Structure and Function, University of Oklahoma Health Sciences Center, Oklahoma City, Oklahoma, United States 73104}
\title{Generic Manuscript Template}
\thispagestyle{plain}
\maketitle
\pagenumbering{gobble} % remove page number
\newpage
\pagenumbering{arabic}
\linenumbers
\section*{Abstract}
\begin{singlespace}
\lipsum[1]
\end{singlespace}
\subsection*{}
\label{sec:org290c078}
\paragraph{ Keywords:} I draft the keywords in the writing document and select the best up to the allowable limit.
\paragraph{Abbreviations:} GUI: graphical user interface, IDE: integrated development environment
\section*{Introduction}
\label{sec:org0a79292}
\lipsum[1-10]
\section*{Materials and Methods}
\label{sec:orgcea33f2}
\section*{Results}
\label{sec:org6c3d0cc}
\subsection*{Most important result}
\label{sec:orgda34b1b}
\subsection*{Second most important result}
\label{sec:orga918488}
\subsection*{Third most important result}
\label{sec:org43a685f}
\subsection*{Fourth most important result}
\label{sec:orgac12ade}
\subsection*{Fifth most important result}
\label{sec:orga3a1860}
\subsection*{Sixth most important result}
\label{sec:orga0992ae}
\subsection*{Nonsense text}
\label{sec:org0f982a5}
\lipsum[1-10]
\begin{singlespace}
% Line numbering on and aligned with left margin.
\begin{code}{}
\index{openCV!measureSizes}
\label{lst:measureSize}
\begin{minted}[frame=lines,
framerule=2pt,
linenos=true,
xleftmargin=\parindent,
breaklines]{python}
# import the necessary packages
from scipy.spatial import distance as dist
from imutils import perspective
from imutils import contours
import numpy as np
import argparse
import imutils
import cv2
def midpoint(ptA, ptB):
return ((ptA[0] + ptB[0o]) * 0.5, (ptA[1] + ptB[1]) * 0.5)
\end{minted}
\caption{Contents of measure.py. \label{lst:measureSize}}
\end{code}
\end{singlespace}
\section*{Discussion}
\label{sec:org0f54f7f}
\subsection*{Nonsense text}
\label{sec:orgf3a010c}
\lipsum[1-10]
\section*{Acknowledgments}
\label{sec:org1e7d21a}
\subsection*{}
\label{sec:org3faaaf1}
\newpage
\bibliographystyle{cell}
\bibliography{/Users/blaine/Documents/global}
\subsection*{}
\label{sec:org964cc9a}
\newpage
\listoftables
\end{document}