From 0b36e207aefc7c595d7acf22e5c68b11b6737ad8 Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Thu, 10 Jan 2019 22:19:11 +0000
Subject: elegantpaper (10jan19)

git-svn-id: svn://tug.org/texlive/trunk@49661 c570f23f-e606-0410-a88d-b1316a301751
---
 .../tex/latex/elegantpaper/elegantpaper.cls        | 79 ++++++++++++++++++++++
 1 file changed, 79 insertions(+)
 create mode 100644 Master/texmf-dist/tex/latex/elegantpaper/elegantpaper.cls

(limited to 'Master/texmf-dist/tex/latex/elegantpaper/elegantpaper.cls')

diff --git a/Master/texmf-dist/tex/latex/elegantpaper/elegantpaper.cls b/Master/texmf-dist/tex/latex/elegantpaper/elegantpaper.cls
new file mode 100644
index 00000000000..328e08f375b
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/elegantpaper/elegantpaper.cls
@@ -0,0 +1,79 @@
+% Current Version: 0.01
+% Author: ddswhu
+% Homepage: https://ddswhu.me/
+% Email: ddswhu@outlook.com
+% Lastest Version: https://ddswhu.me/resource/
+
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesClass{elegantpaper}[2018/11/22 v0.01 ElegantLaTeX Paper class]
+  
+\LoadClass[11pt]{article}
+
+% font setting for text and math
+\RequirePackage[T1]{fontenc}
+\RequirePackage{newtxtext}
+\RequirePackage{newtxmath}
+\RequirePackage[scale=0.85]{newtxtt}  
+\RequirePackage{type1cm}
+
+% more pretty font
+\linespread{1.3}
+\RequirePackage{microtype}
+
+% indentation, table and figure package
+% \RequirePackage{indentfirst}
+\RequirePackage{booktabs}
+\RequirePackage{multicol}
+\RequirePackage{xcolor}
+\RequirePackage{graphicx}
+\RequirePackage{fancyvrb}
+\graphicspath{{image/}{figure/}{fig/}{img/}}
+
+% caption settings 
+\RequirePackage[font=small,labelfont={bf}]{caption} 
+\captionsetup[table]{skip=3pt}
+\captionsetup[figure]{skip=3pt}
+
+% list/itemize/enumerate setting
+\RequirePackage[shortlabels]{enumitem}
+\setlist{nolistsep}
+
+% define the hyperref color 
+\RequirePackage{xcolor}
+\definecolor{winered}{rgb}{0.5,0,0}
+
+% bib-settings
+\RequirePackage{natbib}
+\setlength{\bibsep}{0.0pt}
+\def\bibfont{\footnotesize}
+
+% settings for the geometry
+\RequirePackage{hyperref}
+\hypersetup{
+  pdfborder={0 0 0},
+  colorlinks=true,
+  linkcolor={winered},
+  urlcolor={winered},
+  filecolor={winered},
+  citecolor={winered},
+  linktoc=all,
+}
+\RequirePackage[left=1in, right=1in, top=1in, bottom=1in]{geometry}
+
+% add the \email cmd 
+\newcommand\email[1]{\href{mailto:#1}{\nolinkurl{#1}}}
+
+
+\DeclareSymbolFont{cmlargesymbols}{OMX}{cmex}{m}{n}
+\DeclareMathSymbol{\intop}{\mathop}{cmlargesymbols}{"5A}
+  \def\int{\intop\nolimits}
+\DeclareMathSymbol{\ointop}{\mathop}{cmlargesymbols}{"49}
+  \def\oint{\ointop\nolimits}
+\DeclareMathSymbol{\sumop}{\mathop}{cmlargesymbols}{"58}
+  \let\sum\sumop
+\DeclareMathSymbol{\prodop}{\mathop}{cmlargesymbols}{"59}
+  \let\prod\prodop
+
+\newcommand\figref[1]{\textbf{Figure}~\ref{#1}}
+\newcommand\tabref[1]{\textbf{Table}~\ref{#1}}
+
-- 
cgit v1.2.3

