Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
ornltm
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Kennedy, Joseph H
ornltm
Commits
dc158c23
Commit
dc158c23
authored
6 years ago
by
Johnson, Seth R.
Browse files
Options
Downloads
Patches
Plain Diff
Fix build, improve layout
- Add white border around ORNL image
parent
00041e59
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
.gitignore
+1
-0
1 addition, 0 deletions
.gitignore
example/.gitignore
+1
-0
1 addition, 0 deletions
example/.gitignore
example/ornl-template-example.tex
+4
-4
4 additions, 4 deletions
example/ornl-template-example.tex
ornltm/ornltm.cls
+24
-30
24 additions, 30 deletions
ornltm/ornltm.cls
with
30 additions
and
34 deletions
.gitignore
+
1
−
0
View file @
dc158c23
...
...
@@ -17,4 +17,5 @@
*.out
*.run.xml
*.synctex.gz
*.temp
*.toc
This diff is collapsed.
Click to expand it.
example/.gitignore
0 → 100644
+
1
−
0
View file @
dc158c23
ornl-template-example.pdf
This diff is collapsed.
Click to expand it.
example/ornl-template-example.tex
+
4
−
4
View file @
dc158c23
...
...
@@ -6,15 +6,15 @@
% Example of ORNL tech memo template
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Use the [draft] option to compile more quickly
\documentclass
[draft]
{
ornltm
}
\documentclass
{
ornltm
}
%\documentclass[draft]{ornltm}
% XXX temporary: show page margins
%\usepackage{showframe}
\renewcommand\makeostipage\relax
\renewcommand\makecoverpage\relax
\renewcommand\maketitlepage\relax
%
\renewcommand\makeostipage\relax
%
\renewcommand\makecoverpage\relax
%
\renewcommand\maketitlepage\relax
% Unusual table extensions (support for table notes etc
%\usepackage{rotating}
...
...
This diff is collapsed.
Click to expand it.
ornltm/ornltm.cls
+
24
−
30
View file @
dc158c23
...
...
@@ -45,8 +45,6 @@
\RequirePackage
{
emptypage
}
% hide footers on blank pages
\RequirePackage
[font=bf]
{
caption
}
%\RequirePackage{tocloft} % table of contents styling
%\RequirePackage{xpatch}
%\RequirePackage{xcolor}
\RequirePackage
{
titlesec
}
% title modification: use text size
\RequirePackage
[pdfusetitle]
{
hyperref
}
% url and links in PDF
\RequirePackage
{
emptypage
}
% create a blank page with no numbers
...
...
@@ -70,12 +68,12 @@
% Email URL command
\newcommand
{
\email
}
[1]
{
\href
{
mailto:#1
}{
#1
}}
%
Disable highlighting of link
s
%
Add pretty link color
s
\hypersetup
{
colorlinks,
linkcolor=
{
red!50!black
}
,
citecolor=
{
blue!50!black
}
,
urlcolor=
{
blue!80!black
}
linkcolor=
[rgb]
{
0.082,0.274,0.407
}
,
citecolor=
[rgb]
{
0.780,0.647,0.258
}
,
urlcolor=
[rgb]
{
0.325,0.494,0.658
}
}
% TITLE STYLES
...
...
@@ -173,19 +171,21 @@ treated as a draft.}}
\def\makecoverpage
{
%
\begin{titlepage}
\thispagestyle
{
coverpage
}
%
\setlength
{
\parindent
}{
0pt
}
\raggedleft
\URCornerWallPaper
{
1.0
}{
Graybar.png
}
%
\ThisURCornerWallPaper
{
1.0
}{
Graybar.png
}
%
\ClearWallPaper
%
%
\begin{minipage}
[c][1in]
{
\textwidth
-2.5in
}
%
%
Notice about preliminary document when the 'reportnum' variable is not set
%
%
TOP LEFT NOTICE %%
\if
@reportnumdefined
%
{
\hspace*
{
0pt
}
%
}
%
\else
%
{
%
% Notice about preliminary document when the 'reportnum' variable is not set
\hspace*
{
\fill
}
\fbox
{
\parbox
{
3.5in
}{
%
\footnotesize\raggedright\textsf
{
%
NOTICE: This document contains information of a preliminary nature and is not
...
...
@@ -196,11 +196,13 @@ treated as a draft.}}
\fi
%
\end{minipage}
%
%
%% REPORT NUMBER %%
\begin{minipage}
[c][1in]
{
2.5in
}
%
\raggedleft\large\textbsf
{
\@
reportnum
}
\raggedleft
\large\textbsf
{
\@
reportnum
}
\end{minipage}
%
% T
itle block
%
% T
ITLE %%
\setlength\fboxsep
{
1em
}
\colorbox
{
ornlgreen
}{
%
\begin{minipage}
{
\textwidth
-2
\fboxsep
}
%
...
...
@@ -211,11 +213,16 @@ treated as a draft.}}
\end{minipage}
%
}
\vspace
{
2
\baselineskip
}
\vspace
*
{
2
\baselineskip
}
%%% PHOTO %%%
\hspace
{
\stretch
{
1
}}
%
\includegraphics
[width=4.88in, height=3.47in]
{
Officiallogo.jpg
}
\raggedleft
\hfill
%
\setlength\fboxsep
{
0.05in
}
\colorbox
{
white
}{
%
\includegraphics
[width=4.88in]
{
Officiallogo.jpg
}
%
}
%
\hspace
{
-0.05in
}
%%% NOTICES %%%
% If restrict and reportnum, show restrict
...
...
@@ -276,7 +283,7 @@ treated as a draft.}}
Reports produced after January 1, 1996, are generally available free via US Department of Energy (DOE) SciTech Connect.
\begin{quote}
Website http://www.osti.gov/scitech/
\textbi
{
Website
}
http://www.osti.gov/scitech/
\end{quote}
Reports produced before January 1, 1996, may be purchased by members of the
...
...
@@ -378,15 +385,10 @@ under contract DE-AC05-00OR22725
\@
mainmattertrue
\def\@
cleariffrontmatter
{
\if
@mainmatter
\relax\else
{
\cleardoublepage
}
\fi
}
\let\@
oldtableofcontents=
\tableofcontents
\renewcommand\tableofcontents
{
POOP1
\newcommand\ornltableofcontents
{
\@
cleariffrontmatter
%
POOP2
\pagestyle
{
plain
}
%
POOP3
\@
oldtableofcontents
%
POOP4
\tableofcontents
%
}
\let\@
oldlistoffigures=
\listoffigures
...
...
@@ -494,14 +496,6 @@ under contract DE-AC05-00OR22725
%Use the command below for author-date style w/reference list.
\usepackage
[authordate,strict,backend=biber,autolang=other,bibencoding=inputenc]
{
biblatex-chicago
}
\bibliography
{
ornltm
}
% %The variables below allow you to define some things about the references list, including the name.
% \newenvironment{references}{%
% \renewcommand\refname{REFERENCES}
% %\phantomsection
% %\addcontentsline{toc}{section}{References}
% %\printbibliography
% }
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% end of Exnihilo/environment/latex/ornltm.cls
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment