diff options
author | Karl Berry <karl@freefriends.org> | 2024-01-22 20:36:01 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2024-01-22 20:36:01 +0000 |
commit | f3ce0fbe0e030cc77cf969cbdc946dbcdd867f79 (patch) | |
tree | 8eee894fb504bd87236061928c80361cb6ec65b3 /Master/texmf-dist/doc/latex | |
parent | 4c22629f53f90478aefb2eeaa53fcf57b662d29f (diff) |
mcmthesis (22jan24)
git-svn-id: svn://tug.org/texlive/trunk@69538 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex')
-rw-r--r-- | Master/texmf-dist/doc/latex/mcmthesis/figures/qrcodewechat.jpg | bin | 0 -> 9444 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/mcmthesis/mcmthesis-demo.pdf | bin | 176282 -> 157436 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/mcmthesis/mcmthesis-demo.tex | 134 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/mcmthesis/mcmthesis.pdf | bin | 208261 -> 288643 bytes |
4 files changed, 87 insertions, 47 deletions
diff --git a/Master/texmf-dist/doc/latex/mcmthesis/figures/qrcodewechat.jpg b/Master/texmf-dist/doc/latex/mcmthesis/figures/qrcodewechat.jpg Binary files differnew file mode 100644 index 00000000000..b7cde51674a --- /dev/null +++ b/Master/texmf-dist/doc/latex/mcmthesis/figures/qrcodewechat.jpg diff --git a/Master/texmf-dist/doc/latex/mcmthesis/mcmthesis-demo.pdf b/Master/texmf-dist/doc/latex/mcmthesis/mcmthesis-demo.pdf Binary files differindex 853b9490691..ed010179213 100644 --- a/Master/texmf-dist/doc/latex/mcmthesis/mcmthesis-demo.pdf +++ b/Master/texmf-dist/doc/latex/mcmthesis/mcmthesis-demo.pdf diff --git a/Master/texmf-dist/doc/latex/mcmthesis/mcmthesis-demo.tex b/Master/texmf-dist/doc/latex/mcmthesis/mcmthesis-demo.tex index f3fc4173e7b..0bc29cfdf9b 100644 --- a/Master/texmf-dist/doc/latex/mcmthesis/mcmthesis-demo.tex +++ b/Master/texmf-dist/doc/latex/mcmthesis/mcmthesis-demo.tex @@ -7,11 +7,9 @@ %% mcmthesis.dtx (with options: `demo') %% %% ----------------------------------- -%% %% This is a generated file. %% -%% Copyright (C) -%% 2010 -- 2015 by latexstudio +%% Copyright (C) 2010 -- 2015 by latexstudio %% 2014 -- 2019 by Liam Huang %% 2019 -- present by latexstudio.net %% @@ -23,51 +21,23 @@ %% and version 1.3 or later is part of all distributions of LaTeX %% version 2005/12/01 or later. %% -%% This work has the LPPL maintenance status `maintained'. -%% %% The Current Maintainer of this work is latexstudio.net. %% -%% -%% This is file `mcmthesis-demo.tex', -%% generated with the docstrip utility. -%% -%% The original source files were: -%% -%% mcmthesis.dtx (with options: `demo') -%% -%% ----------------------------------- -%% -%% This is a generated file. -%% -%% Copyright (C) -%% 2010 -- 2015 by latexstudio -%% 2014 -- 2019 by Liam Huang -%% 2019 -- present by latexstudio.net -%% -%% This work may be distributed and/or modified under the -%% conditions of the LaTeX Project Public License, either version 1.3 -%% of this license or (at your option) any later version. -%% The latest version of this license is in -%% http://www.latex-project.org/lppl.txt -%% and version 1.3 or later is part of all distributions of LaTeX -%% version 2005/12/01 or later. -%% -%% This work has the LPPL maintenance status `maintained'. -%% -%% The Current Maintainer of this work is latexstudio.net. -%% +%% !Mode:: "TeX:UTF-8" \documentclass{mcmthesis} %\documentclass[CTeX = true]{mcmthesis} % ^^e5^^bd^^93^^e4^^bd^^bf^^e7^^94^^a8 CTeX ^^e5^^a5^^97^^e8^^a3^^85^^e6^^97^^b6^^e8^^af^^b7^^e6^^b3^^a8^^e9^^87^^8a^^e4^^b8^^8a^^e4^^b8^^80^^e8^^a1^^8c^^e4^^bd^^bf^^e7^^94^^a8^^e8^^af^^a5^^e8^^a1^^8c^^e7^^9a^^84^^e8^^ae^^be^^e7^^bd^^ae -\mcmsetup{ - tcn = 0000, problem = A, +\mcmsetup{tstyle=\color{red}\bfseries,%^^e4^^bf^^ae^^e6^^94^^b9^^e9^^a2^^98^^e5^^8f^^b7^^ef^^bc^^8c^^e9^^98^^9f^^e5^^8f^^b7^^e7^^9a^^84^^e9^^a2^^9c^^e8^^89^^b2^^e5^^92^^8c^^e5^^8a^^a0^^e7^^b2^^97^^e6^^98^^be^^e7^^a4^^ba^^ef^^bc^^8c^^e9^^bb^^91^^e8^^89^^b2^^e5^^8f^^af^^e4^^bb^^a5^^e4^^bf^^ae^^e6^^94^^b9^^e4^^b8^^ba black + tcn = 0000, problem = A, %^^e4^^bf^^ae^^e6^^94^^b9^^e9^^98^^9f^^e5^^8f^^b7^^ef^^bc^^8c^^e5^^8f^^82^^e8^^b5^^9b^^e9^^a2^^98^^e5^^8f^^b7 sheet = true, titleinsheet = true, keywordsinsheet = true, titlepage = false, abstract = true} - %^^e4^^b8^^89^^e6^^ac^^be^^e5^^ad^^97^^e4^^bd^^93^^e5^^8f^^af^^e4^^bb^^a5^^e9^^80^^89^^e6^^8b^^a9 -\usepackage{times} - %\usepackage{newtxtext} - %\usepackage{palatino} + %^^e5^^9b^^9b^^e6^^ac^^be^^e5^^ad^^97^^e4^^bd^^93^^e5^^8f^^af^^e4^^bb^^a5^^e9^^80^^89^^e6^^8b^^a9 + %\usepackage{times} + %\usepackage{newtxtext} + %\usepackage{palatino} + \usepackage{txfonts} +\usepackage{indentfirst} %^^e9^^a6^^96^^e8^^a1^^8c^^e7^^bc^^a9^^e8^^bf^^9b^^ef^^bc^^8c^^e6^^b3^^a8^^e9^^87^^8a^^e6^^8e^^89^^ef^^bc^^8c^^e9^^a6^^96^^e8^^a1^^8c^^e5^^b0^^b1^^e4^^b8^^8d^^e5^^86^^8d^^e7^^bc^^a9^^e8^^bf^^9b^^e3^^80^^82 \usepackage{lipsum} \title{The \LaTeX{} Template for MCM Version \MCMversion} \author{\small \href{https://www.latexstudio.net/} @@ -75,7 +45,7 @@ \date{\today} \begin{document} \begin{abstract} -Use this template to begin typing the first page (summary page) of your electronic report. This template uses a 12-point Times New Roman font. Submit your paper as an Adobe PDF electronic file (e.g. 1111111.pdf), typed in English, with a readable font of at least 12-point type. +\par Use this template to begin typing the first page (summary page) of your electronic report. This template uses a 12-point Times New Roman font. Submit your paper as an Adobe PDF electronic file (e.g. 1111111.pdf), typed in English, with a readable font of at least 12-point type. Do not include the name of your school, advisor, or team members on this or any page. @@ -92,15 +62,15 @@ keyword1; keyword2 \end{abstract} \maketitle %% Generate the Table of Contents, if it's needed. -%% \tableofcontents -%% \newpage +\tableofcontents +\newpage %% %% Generate the Memorandum, if it's needed. %% \memoto{\LaTeX{}studio} %% \memofrom{Liam Huang} %% \memosubject{Happy \TeX{}ing!} %% \memodate{\today} -%% \logo{\LARGE I'm pretending to be a LOGO!} +%% \memologo{\LARGE I'm pretending to be a LOGO!} %% \begin{memo}[Memorandum] %% \lipsum[1-3] %% \end{memo} @@ -119,6 +89,10 @@ mathematics. Install the software from \url{www.tug.org/texlive/}. \subsection{Creating and typesetting your document} +Follow our WeChat official account for more LaTeX materials and information. + +\centerline{\includegraphics[width=5cm]{qrcodewechat}} + \subsection{Syntax (how to type \LaTeX\ commands --- these are the rules)} @@ -185,8 +159,7 @@ a^2 \label{aa} \[ \arcsin \theta = - \mathop{{\int\!\!\!\!\!\int\!\!\!\!\!\int}\mkern-31.2mu - \bigodot}\limits_\varphi + \mathop{{\int\!\!\!\!\!\int\!\!\!\!\!\int}} \limits_\varphi {\mathop {\lim }\limits_{x \to \infty } \frac{{n!}}{{r!\left( {n - r} \right)!}}} \eqno (1) \] @@ -221,9 +194,14 @@ boarding time.We also know that all the service is automate. \item \textbf{Improve the quality of the airport service}\\ Balancing the cost of the cost and the benefit, it will bring in more convenient for airport and passengers.It also saves many -human resources for the airline. \item \textbf{} +human resources for the airline. \end{itemize} +\subsection{How to cite?} +bibliography cite use \cite{1,2,3} + +AI cite use \AIcite{AI1,AI2,AI3} + \begin{thebibliography}{99} \bibitem{1} D.~E. KNUTH The \TeX{}book the American Mathematical Society and Addison-Wesley @@ -261,6 +239,68 @@ some more text \textcolor[rgb]{0.98,0.00,0.00}{\textbf{Input C++ source:}} \lstinputlisting[language=C++]{./code/mcmthesis-sudoku.cpp} \end{appendices} + + +\AImatter + +\begin{ReportAiUse}{9} +\bibitem{AI1} +Bing AI\\ +Query1: write a sort algorithm\\ +Output: Sure, I can help you with that. Here is a simple implementation of the selection sort algorithm in Python: +\begin{lstlisting}[language=python] +def selection_sort(arr): + for i in range(len(arr)): + min_idx = i + for j in range(i + 1, len(arr)): + if arr[min_idx] > arr[j]: + min_idx = j + arr[i], arr[min_idx] = arr[min_idx], arr[i] + return arr +\end{lstlisting} +This algorithm sorts an array by repeatedly finding the minimum element from the unsorted part of the array and putting it at the beginning. \href{https://www.geeksforgeeks.org/sorting-algorithms/}{The time complexity of this algorithm is O($n^2$)}. + +There are many other sorting algorithms available such as bubble sort, insertion sort, merge sort, quick sort, heap sort, and more. Each of these algorithms has its own advantages and disadvantages. You can learn more about them on GeeksforGeeks and Programiz. + +I hope this helps! + +\bibitem{AI2} +OpenAl Enie (Nov 5, 2023 version, Ernie 4.0)\\ +Query1: <insert the exact wording of any subsequent input into the Al tool>\\ +Output: <insert the complete output from the second query> + +\bibitem{AI3} +Github CoPilot (Feb 3, 2024 version)\\ +Query1: <insert the exact wording you input into the Al tool>\\ +Output: <insert the complete output fron the Al tool> + +\bibitem{AI4} +Google Bard (Feb 2,2024 version)\\ +Query: <insert the exact wording of your query>\\ +Output: <irsert the complete output from the Al tool> + +\bibitem{AI5} +Bing AI\\ +Query: write a FFT algorithm\\ +Output: Sure, here is a Python implementation of the Fast Fourier Transform (FFT) algorithm: +\begin{lstlisting}[language=python] +import numpy as np + +def fft(x): + n = len(x) + if n == 1: + return x + even = fft(x[0::2]) + odd = fft(x[1::2]) + T = [np.exp(-2j * np.pi * k / n) * odd[k] for k in range(n // 2)] + return [even[k] + T[k] for k in range(n // 2)] + [even[k] - T[k] for k in range(n // 2)] +\end{lstlisting} +The FFT is a widely used algorithm for computing the \textbf{Discrete Fourier Transform (DFT)} of a sequence. It reduces the number of computations needed from O(n$^2$) to O(n log n) 12. The basic idea of the FFT is to apply divide and conquer. We divide the coefficient vector of the polynomial into two vectors, recursively compute the DFT for each of them, and combine the results to compute the DFT of the complete polynomial 3. + +I hope this helps! + +\end{ReportAiUse} + \end{document} %% %% This work consists of these files mcmthesis.dtx, diff --git a/Master/texmf-dist/doc/latex/mcmthesis/mcmthesis.pdf b/Master/texmf-dist/doc/latex/mcmthesis/mcmthesis.pdf Binary files differindex a225536e455..0d27c28c046 100644 --- a/Master/texmf-dist/doc/latex/mcmthesis/mcmthesis.pdf +++ b/Master/texmf-dist/doc/latex/mcmthesis/mcmthesis.pdf |