Skip to content

Commit

Permalink
update 2.0
Browse files Browse the repository at this point in the history
Important! This is a Macro Package NOW!

=article-setting.tex=
* \usepackage{math-symbols} now
=makefile=
* it's now a windows-specific makefile
* linux-specific makefile is on the way
=math-symbols.sty=
* no need of package 'amsthm'
=README.md=
* update the usage guideline
=readme.tex=
* add usage of this macro package
  • Loading branch information
polossk committed May 15, 2018
1 parent 976dfeb commit 721f1ed
Show file tree
Hide file tree
Showing 7 changed files with 36 additions and 28 deletions.
File renamed without changes.
21 changes: 14 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,18 @@
![Platfrom](https://img.shields.io/badge/Platfrom-TeXLive2017-3D6117.svg)
[![License](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)
![Status](https://img.shields.io/badge/status-complete-brightgreen.svg)
![Version](https://img.shields.io/badge/version-v1.2.0-674EA7.svg)
![Version](https://img.shields.io/badge/version-v2.0.0-674EA7.svg)

## Usage

在 tex 文档中 添加 `\input{math-symbols}` 即可.
1.`math-symbols.sty` 拷贝至工作目录
2. 在 tex 文档中添加 `\usepackage{math-symbols}` 即可
3. 所有符号请参阅 [`math-symbols-readme.pdf`](readme.pdf)

## Note
## Notes

* 整理了一些简单的数学宏定义方便写作, 更多问题请参见[readme.pdf](readme.pdf)
* 正确的标准符号请参阅[LATEX-Mathematical-Symbols.pdf](LATEX-Mathematical-Symbols.pdf) (<https://reu.dimacs.rutgers.edu/Symbols.pdf>)
* 正确的标准符号请参阅[LaTeX-Mathematical-Symbols-Manual.pdf](LaTeX-Mathematical-Symbols-Manual.pdf) (<https://reu.dimacs.rutgers.edu/Symbols.pdf>)
* 命名规则基于"所读即所写"(WYRIWYT, abbr of **W**hat **Y**ou **R**ead **I**s **W**hat **Y**ou **T**ype)
* 一键催更或提交bug [issue](https://github.com/polossk/Math-Symbols-in-LaTeX/issues/new)
* 基于[MIT-LICENSE](LICENSE),如有帮助,请在自己的文章中引用
Expand All @@ -28,11 +30,16 @@

## English Version

* Add `\input{math-symbols}` in your tex document.
* More correct math symbols are showing in [LATEX-Mathematical-Symbols.pdf](LATEX-Mathematical-Symbols.pdf) (<https://reu.dimacs.rutgers.edu/Symbols.pdf>)
1. Copy `math-symbols.sty` in your working directory
2. Add `\usepackage{math-symbols}` in your tex document
3. Check [`math-symbols-readme.pdf`] for details.(readme.pdf)

### Notes

* More correct math symbols are showing in [LaTeX-Mathematical-Symbols-Manual.pdf](LaTeX-Mathematical-Symbols-Manual.pdf) (<https://reu.dimacs.rutgers.edu/Symbols.pdf>)
* summed up a sort of symbol in writing math equtions in LaTeX, check [readme.pdf](readme.pdf) for further information
* based on WYRIWYT rule(abbr of **W**hat **Y**ou **R**ead **I**s **W**hat **Y**ou **T**ype)
* one key to cuigeng or report bug [issue](https://github.com/polossk/Math-Symbols-in-LaTeX/issues/new)
* one click to cuigeng or report bug [issue](https://github.com/polossk/Math-Symbols-in-LaTeX/issues/new)
* using [MIT-LICENSE](LICENSE), please cite if it helps

```bibtex
Expand Down
6 changes: 3 additions & 3 deletions article-setting.tex
Original file line number Diff line number Diff line change
Expand Up @@ -129,17 +129,17 @@
\usepackage{fancyref}
\pagestyle{fancy}
% \chead{{\fNWPU 西北工业大学} \fSong {\title}}
\lfoot{}
\lfoot{Version: v\artversion}
\cfoot{\thepage}
\rfoot{}
\rfoot{by \href{https://github.com/polossk}{polossk}}
\renewcommand{\headrulewidth}{0.4pt}
\renewcommand{\headwidth}{\textwidth}
\renewcommand{\footrulewidth}{0pt}
%------------------------------------------------------------------------------%


%-------------------------------数学特殊符号控制-------------------------------%
\input{math-symbols}
\usepackage{math-symbols}
%------------------------------------------------------------------------------%


Expand Down
6 changes: 3 additions & 3 deletions makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ close:
cmd /c taskkill /im Acrobat.exe /t /f || echo not find

clean:
del -f *.aux *.bbl *.blg *.log *.out *.gz *.toc *.thm *.fls *.fdb_latexmk
del /s /f *.aux *.bbl *.blg *.log *.out *.gz *.toc *.thm *.fdb_latexmk *.fls

wipe:
del -f $(MAIN).pdf
del /f $(MAIN).pdf

.PHONY: clean
.PHONY: clean
25 changes: 12 additions & 13 deletions math-symbols.tex → math-symbols.sty
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
% math-symbols.tex
% by polossk, version 1.2.5.4
% last update 2018-4-18
% math-symbols.sty
% by polossk, version 2.0
% last update 2018-5-15
% github.com/polossk/Math-Symbols-in-LaTeX
\ProvidesPackage{math-symbols}[2018/5/15 v2.0 Math-Symbols-in-LaTeX]
%------------------------------------------------------------------------------%
%-Packages---------------------------------------------------------------------%
%-Requare-Packages-------------------------------------------------------------%
%------------------------------------------------------------------------------%
\usepackage{bm}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{amsthm}
\usepackage{amsfonts}
\usepackage{mathrsfs}
\usepackage{mathtools}
\RequirePackage{bm}
\RequirePackage{amsmath}
\RequirePackage{amssymb}
\RequirePackage{amsfonts}
\RequirePackage{mathrsfs}
\RequirePackage{mathtools}
%------------------------------------------------------------------------------%
%-Math-Fonts-------------------------------------------------------------------%
%------------------------------------------------------------------------------%
Expand Down Expand Up @@ -262,6 +262,5 @@
%------------------------------------------------------------------------------%
%------------------------------------------------------------------------------%
%------------------------------------------------------------------------------%
\endinput
% 这是所有常用的数学符号的导言区设置,不能单独编译。
% 这是所有常用的数学符号的 style file,不能单独编译。
% build by ruby and python scripts
Binary file modified readme.pdf
Binary file not shown.
6 changes: 4 additions & 2 deletions readme.tex
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
\documentclass{article}
\input{article-setting}
% \usepackage{lineno}
%------------------------------------------------------------------------------%
\newcommand\artversion{1.2.5.5}
\newcommand\artversion{2.0}
\title{Math-Symbols-in-\LaTeX{}-Manual}
\author{polossk}
\date{Version: v\artversion, Last Update: \today}
Expand All @@ -11,6 +10,9 @@
%------------------------------------------------------------------------------%
% \pagewiselinenumbers
\maketitle

Insert \lstinline`\usepackage{math-symbols}` in your document's preamble.

\tableofcontents
\thispagestyle{fancy}
\renewcommand{\baselinestretch}{1.25}
Expand Down

0 comments on commit 721f1ed

Please sign in to comment.