From 261688c4bcb0950085a5b5afdd2c15540ed1c53c Mon Sep 17 00:00:00 2001 From: Kenryu Shibata Date: Wed, 18 Jun 2025 22:36:49 +0900 Subject: [PATCH] setup assignment --- Makefile | 2 +- README.md | 3 +- document.yaml | 27 ++++++++-------- markdown/test.md | 18 ----------- programs/calc/info.json | 10 ++++++ programs/calc/main.c | 0 programs/p312/info.json | 10 ++++++ programs/p312/main.c | 0 programs/p313/info.json | 10 ++++++ programs/p313/main.c | 0 section/appendix.tex | 6 ++++ section/introduction.tex | 70 ++++------------------------------------ section/syntax.tex | 0 13 files changed, 58 insertions(+), 98 deletions(-) delete mode 100644 markdown/test.md create mode 100644 programs/calc/info.json create mode 100644 programs/calc/main.c create mode 100644 programs/p312/info.json create mode 100644 programs/p312/main.c create mode 100644 programs/p313/info.json create mode 100644 programs/p313/main.c create mode 100644 section/appendix.tex create mode 100644 section/syntax.tex diff --git a/Makefile b/Makefile index a168c6f..7605ed6 100644 --- a/Makefile +++ b/Makefile @@ -12,7 +12,7 @@ BIBFLAGS := --input-directory=$(OUTDIR) --output-directory=$(OUTDIR)/ PRINTFORMAT := "\033[1;92;49m%s\033[m\n" -USE_MARKDOWN := true +USE_MARKDOWN := false MARKDOWNS := $(wildcard markdown/*.md) MARKDOWN_OUTPUTS := $(patsubst markdown/%.md,md-out/%.tex,$(MARKDOWNS)) diff --git a/README.md b/README.md index 03caad5..6396fa3 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,3 @@ -# CHANGEME +# information-processing-1_10th-class +Assignment for 10th class of information processing I class. diff --git a/document.yaml b/document.yaml index c49334c..f9b03ea 100644 --- a/document.yaml +++ b/document.yaml @@ -1,28 +1,28 @@ doc_class: nitreport -title: Insert Title Here +title: 第10回課題 author: - name: 高専 太郎 - student_id: 0000-01 - seating_number: 1 + name: 柴田 健琉 + student_id: 2024D14 + seating_number: 15 date: year: 令和7年 - month: aa月 - day: bb日 + month: 06月 + day: 19日 turnin: year: 令和7年 - month: cc月 - day: dd日 + month: 06月 + day: 19日 -school_name: abc高専 -department: 一般科 -subject: 〇〇概論 -professor: □□教員 +school_name: 岐阜工業高等専門学校 +department: 電子制御工学科 +subject: 情報処理I +professor: 岡崎憲一 paper_config: include_cover_page: true include_table_of_contents: true - use_bib: false + use_bib: true use_additional_packages: false show_compiled_time: true @@ -32,5 +32,4 @@ paper_config: sections: - { path: 'section/introduction.tex', newpg: true } - - { path: 'md-out/test.tex', newpg: false } diff --git a/markdown/test.md b/markdown/test.md deleted file mode 100644 index 9fdd1bf..0000000 --- a/markdown/test.md +++ /dev/null @@ -1,18 +0,0 @@ -# Hi - -| x | y | -| --- | --- | -| 0 | 0 | -| 1 | 1 | -| 2 | 2 | -| 3 | 3 | -| 4 | 4 | - -* i1 -* i2 -* i3 - -1. n1 -2. n2 -3. n3 - diff --git a/programs/calc/info.json b/programs/calc/info.json new file mode 100644 index 0000000..f2d3ddd --- /dev/null +++ b/programs/calc/info.json @@ -0,0 +1,10 @@ +{ + "language": "", + "name": "", + "description": "", + "output": { + "type": "screenshot | text", + "content": "" + }, + "note": "" +} diff --git a/programs/calc/main.c b/programs/calc/main.c new file mode 100644 index 0000000..e69de29 diff --git a/programs/p312/info.json b/programs/p312/info.json new file mode 100644 index 0000000..f2d3ddd --- /dev/null +++ b/programs/p312/info.json @@ -0,0 +1,10 @@ +{ + "language": "", + "name": "", + "description": "", + "output": { + "type": "screenshot | text", + "content": "" + }, + "note": "" +} diff --git a/programs/p312/main.c b/programs/p312/main.c new file mode 100644 index 0000000..e69de29 diff --git a/programs/p313/info.json b/programs/p313/info.json new file mode 100644 index 0000000..f2d3ddd --- /dev/null +++ b/programs/p313/info.json @@ -0,0 +1,10 @@ +{ + "language": "", + "name": "", + "description": "", + "output": { + "type": "screenshot | text", + "content": "" + }, + "note": "" +} diff --git a/programs/p313/main.c b/programs/p313/main.c new file mode 100644 index 0000000..e69de29 diff --git a/section/appendix.tex b/section/appendix.tex new file mode 100644 index 0000000..81e259a --- /dev/null +++ b/section/appendix.tex @@ -0,0 +1,6 @@ +\appendix + +\section{付録} + +\subsection{Deep Dive - if と switch の根本的な違い} + diff --git a/section/introduction.tex b/section/introduction.tex index 3386076..4532cd4 100644 --- a/section/introduction.tex +++ b/section/introduction.tex @@ -1,70 +1,12 @@ \section{はじめに} -Start Writing! +\subsection{実行環境} -Use lualatex + biber to compile. +この課題のプログラムは以下の環境で動作することが確認されている: -Test Bib\cite{example} - -いろはにほへと ちりぬるを - -{\gtfamily \sffamily \LaTeX で自由な組版を。} - -{\gtfamily \sffamily Write freely with \LaTeX{}.} - -{\ttfamily LaTeX shall be free forever!} - -\noindent -この行のテキストは四十二字です。ああああああああああああああああああああああああああいいいい - -\defaultlistingstyle - -\begin{lstlisting}[language=C, caption=Basic Hello World] -#include - -int square(int n) { - return n*n; -} - -int main(int argc, char** argv) { - char* msg = "Hello World"; - int x = 3; - int y = square(x); - printf("%s\n", msg); - printf("f(x) = x^2; x: %d, y: %d\n", x, y); - return 0; -} -\end{lstlisting} - -\begin{displaymath} - \int_{a}^{b} f(x) \,dx = F(b)-F(a) -\end{displaymath} - \begin{itemize} - \item C - \item Python - \item Javascript - \item Rust - \item Haskell + \item OS: Arch Linux + \item CPU アーキテクチャ: \texttt{x86\_64} + \item C コンパイラ: \texttt{gcc バージョン 14.2.1 20250322 (GCC)} + \item C コンパイラオプション: \texttt{} \end{itemize} - -\begin{enumerate} - \item lualatex .tex - \item biber - \item lualatex .tex - \item lualatex .tex -\end{enumerate} - -\newpage - -\section{Section} - -section - -\subsection{Sub Section} - -sub section - -\paragraph{Paragraph} - -paragraph diff --git a/section/syntax.tex b/section/syntax.tex new file mode 100644 index 0000000..e69de29