setup assignment

This commit is contained in:
2025-06-18 22:36:49 +09:00
parent 09936da755
commit 261688c4bc
13 changed files with 58 additions and 98 deletions

View File

@@ -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))

View File

@@ -1,2 +1,3 @@
# CHANGEME
# information-processing-1_10th-class
Assignment for 10th class of information processing I class.

View File

@@ -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 }

View File

@@ -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

10
programs/calc/info.json Normal file
View File

@@ -0,0 +1,10 @@
{
"language": "",
"name": "",
"description": "",
"output": {
"type": "screenshot | text",
"content": ""
},
"note": ""
}

0
programs/calc/main.c Normal file
View File

10
programs/p312/info.json Normal file
View File

@@ -0,0 +1,10 @@
{
"language": "",
"name": "",
"description": "",
"output": {
"type": "screenshot | text",
"content": ""
},
"note": ""
}

0
programs/p312/main.c Normal file
View File

10
programs/p313/info.json Normal file
View File

@@ -0,0 +1,10 @@
{
"language": "",
"name": "",
"description": "",
"output": {
"type": "screenshot | text",
"content": ""
},
"note": ""
}

0
programs/p313/main.c Normal file
View File

6
section/appendix.tex Normal file
View File

@@ -0,0 +1,6 @@
\appendix
\section{付録}
\subsection{Deep Dive - if と switch の根本的な違い}

View File

@@ -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 <stdlib.h>
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 <filename>.tex
\item biber <filename>
\item lualatex <filename>.tex
\item lualatex <filename>.tex
\end{enumerate}
\newpage
\section{Section}
section
\subsection{Sub Section}
sub section
\paragraph{Paragraph}
paragraph

0
section/syntax.tex Normal file
View File