-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fix bad permission of files under code/ and figures/ * cancle .ins and make .dtx works * Fix typos in mcmthesis.pdf
- Loading branch information
Showing
9 changed files
with
216 additions
and
212 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
Released under the [LaTeX Project Public | ||
License](http://www.latex-project.org/lppl.txt), v1.3c or later. | ||
Released under the [LaTeX Project Public License] | ||
(http://www.latex-project.org/lppl.txt), v1.3c or later. | ||
|
||
The package has status 'maintained': the current maintainer is | ||
[Liam Huang]([email protected]). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,28 +7,34 @@ License](http://www.latex-project.org/lppl.txt), v1.3c or later. | |
|
||
## Installation | ||
|
||
This work consists of the file mcmthesis.dtx, mcmthesis.ins, | ||
figures/, and code/, | ||
and the derived files mcmthesis.cls, | ||
mcmthesis-demo.tex, | ||
README, | ||
LICENSE, | ||
mcmthesis.pdf and | ||
mcmthesis-demo.pdf. | ||
|
||
To install this class, you should copy `mcmthesis.cls` to | ||
`TEXMF/tex/latex/mcmthesis/`, copy `mcmthesis.dtx` and `mcmthesis.ins` | ||
to `TEXMF/source/latex/mcmthesis/` and copy other files to | ||
`TEXMF/doc/latex/mcmthesis/` and then run `texhash`. | ||
This work consists of the file mcmthesis.dtx, | ||
figures/, and | ||
code/, | ||
and the derived files mcmthesis.cls, | ||
mcmthesis-demo.tex, | ||
README, | ||
LICENSE, | ||
mcmthesis.pdf and | ||
mcmthesis-demo.pdf. | ||
|
||
To install this class, you should | ||
move `mcmthesis.cls` to `TEXMF/tex/latex/mcmthesis/`, | ||
move `mcmthesis.dtx` to `TEXMF/source/latex/mcmthesis/`, | ||
move other files to `TEXMF/doc/latex/mcmthesis/` and then | ||
run `texhash`. | ||
|
||
## Author | ||
|
||
[Zhaoli Wang][zhaoli] | ||
|
||
Email: [email protected] | ||
|
||
[Liam Huang][liam-ctan] | ||
|
||
Email: [email protected] | ||
|
||
## Project Page | ||
|
||
If you are interested in the process of development you may observe | ||
|
||
<https://github.com/LiamHuang0205/mcmthesis> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
function [t,seat,aisle]=OI6Sim(n,target,seated) | ||
pab=rand(1,n); | ||
for i=1:n | ||
if pab(i)<0.4 | ||
aisleTime(i)=0; | ||
else | ||
aisleTime(i)=trirnd(3.2,7.1,38.7); | ||
end | ||
end | ||
|
||
|
||
|
||
|
||
|
||
function [t,seat,aisle]=OI6Sim(n,target,seated) | ||
pab=rand(1,n); | ||
for i=1:n | ||
if pab(i)<0.4 | ||
aisleTime(i)=0; | ||
else | ||
aisleTime(i)=trirnd(3.2,7.1,38.7); | ||
end | ||
end | ||
|
||
|
||
|
||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,41 @@ | ||
//============================================================================ | ||
// Name : Sudoku.cpp | ||
// Author : wzlf11 | ||
// Version : a.0 | ||
// Copyright : Your copyright notice | ||
// Description : Sudoku in C++. | ||
//============================================================================ | ||
|
||
#include <iostream> | ||
#include <cstdlib> | ||
#include <ctime> | ||
|
||
using namespace std; | ||
|
||
int table[9][9]; | ||
|
||
int main() { | ||
|
||
for(int i = 0; i < 9; i++){ | ||
table[0][i] = i + 1; | ||
} | ||
|
||
srand((unsigned int)time(NULL)); | ||
|
||
shuffle((int *)&table[0], 9); | ||
|
||
while(!put_line(1)) | ||
{ | ||
shuffle((int *)&table[0], 9); | ||
} | ||
|
||
for(int x = 0; x < 9; x++){ | ||
for(int y = 0; y < 9; y++){ | ||
cout << table[x][y] << " "; | ||
} | ||
|
||
cout << endl; | ||
} | ||
|
||
return 0; | ||
//============================================================================ | ||
// Name : Sudoku.cpp | ||
// Author : wzlf11 | ||
// Version : a.0 | ||
// Copyright : Your copyright notice | ||
// Description : Sudoku in C++. | ||
//============================================================================ | ||
|
||
#include <iostream> | ||
#include <cstdlib> | ||
#include <ctime> | ||
|
||
using namespace std; | ||
|
||
int table[9][9]; | ||
|
||
int main() { | ||
|
||
for(int i = 0; i < 9; i++){ | ||
table[0][i] = i + 1; | ||
} | ||
|
||
srand((unsigned int)time(NULL)); | ||
|
||
shuffle((int *)&table[0], 9); | ||
|
||
while(!put_line(1)) | ||
{ | ||
shuffle((int *)&table[0], 9); | ||
} | ||
|
||
for(int x = 0; x < 9; x++){ | ||
for(int y = 0; y < 9; y++){ | ||
cout << table[x][y] << " "; | ||
} | ||
|
||
cout << endl; | ||
} | ||
|
||
return 0; | ||
} |
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
perl adjust_checksum.pl mcmthesis.dtx | ||
xelatex mcmthesis.ins | ||
xetex mcmthesis.dtx | ||
xelatex -interaction=batchmode -shell-escape mcmthesis.dtx | ||
xelatex -interaction=batchmode -shell-escape mcmthesis.dtx | ||
xelatex -interaction=batchmode mcmthesis-demo.tex | ||
xelatex -interaction=batchmode mcmthesis-demo.tex | ||
mv LICENSE.md LICENSE | ||
mv README.md README | ||
mv LICENSE.tex LICENSE | ||
mv README.tex README | ||
rm *.log *.out *.aux *.glo *.idx | ||
open . |
Oops, something went wrong.