diff --git a/Makefile b/Makefile index e6f1b39..ec93e3e 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -NAME=CHANGEME +NAME=art-self-expression-report RM=/bin/rm TEX=lualatex BIB=biber @@ -11,13 +11,11 @@ PRINTFORMAT="\033[1;92;49m%s\033[m\n" all: @mkdir -p output - @printf ${PRINTFORMAT} "[1/4] First Compilation" + @printf ${PRINTFORMAT} "[1/3] First Compilation" ${TEX} ${TEXFLAGS} ./src/${NAME}.tex - @printf ${PRINTFORMAT} "[2/4] Bib Generation" - ${BIB} ${BIBFLAGS} ${NAME} - @printf ${PRINTFORMAT} "[3/4] Second Compilation" + @printf ${PRINTFORMAT} "[2/3] Second Compilation" ${TEX} ${TEXFLAGS} ./src/${NAME}.tex - @printf ${PRINTFORMAT} "[4/4] Final Compilation" + @printf ${PRINTFORMAT} "[3/3] Final Compilation" ${TEX} ${TEXFLAGS} ./src/${NAME}.tex clean: diff --git a/Makefile.dbg b/Makefile.dbg deleted file mode 100644 index 7b58c73..0000000 --- a/Makefile.dbg +++ /dev/null @@ -1,24 +0,0 @@ -NAME=report -RM=rm -TEX=lualatex -BIB=biber -TEXFLAGS=--interaction=nonstopmode --output-directory=./out-temp/ -BIBFLAGS=--input-directory=./out-temp --output-directory=./out-temp/ - -PRINTFORMAT="\033[1;92;49m%s\033[m\n" - -.PHONY: all clean - -all: - @mkdir -p out-temp - @printf ${PRINTFORMAT} "[1/4] First Compilation" - ${TEX} ${TEXFLAGS} ./src/${NAME}.tex - @printf ${PRINTFORMAT} "[2/4] Bib Generation" - ${BIB} ${BIBFLAGS} ${NAME} - @printf ${PRINTFORMAT} "[3/4] Second Compilation" - ${TEX} ${TEXFLAGS} ./src/${NAME}.tex - @printf ${PRINTFORMAT} "[4/4] Final Compilation" - ${TEX} ${TEXFLAGS} ./src/${NAME}.tex - -clean: - ${RM} ./out-temp/{*.aux,*.log,*.out,*.blg,*.bcf,*.bbl,*.xml} diff --git a/output/art-self-expression-report.pdf b/output/art-self-expression-report.pdf new file mode 100644 index 0000000..89236b7 Binary files /dev/null and b/output/art-self-expression-report.pdf differ diff --git a/src/art-self-expression-report.tex b/src/art-self-expression-report.tex new file mode 100644 index 0000000..3d0cc41 --- /dev/null +++ b/src/art-self-expression-report.tex @@ -0,0 +1,125 @@ +\documentclass[titlepage,a4paper]{ltjsreport} +\usepackage{luatexja-preset} +\usepackage[colorlinks=true, allcolors=blue]{hyperref} +\usepackage[utf8]{luainputenc} +\usepackage[T1]{fontenc} +\usepackage[dvipdfm]{graphicx} +\usepackage{wrapfig} +\usepackage[hang,small,bf]{caption} +\usepackage[subrefformat=parens]{subcaption} +\captionsetup{compatibility=false} +\graphicspath{{../assets}} + +\usepackage{fontspec} +\setmainfont{ipag}[ + Path=../assets/fonts/, + Extension=.ttf, +] +\setmonofont{0xProtoNerdFontMono}[ + Path=../assets/fonts/, + Extension=.ttf, + UprightFont=*-Regular +] +\setsansfont{LiberationSans}[ + Path=../assets/fonts/, + Extension=.ttf, + UprightFont=*-Regular +] + +\usepackage{amsmath} + +\usepackage{listings} +\usepackage{xcolor} + +\definecolor{draculabg}{RGB}{40,42,54} +\definecolor{draculafg}{RGB}{248,248,242} +\definecolor{draculacomment}{RGB}{98,114,164} +\definecolor{draculacurrentline}{RGB}{68, 71, 90} +\definecolor{draculaorange}{RGB}{255,184,108} +\definecolor{draculacyan}{RGB}{139,244,253} +\definecolor{draculagreen}{RGB}{80,250,123} + +\lstdefinestyle{codestyle}{ + backgroundcolor=\color{draculabg}, + commentstyle=\color{draculacomment}, + keywordstyle={\color{draculaorange}}, + identifierstyle=\color{draculacyan}, + numberstyle=\small\color{draculacurrentline}, + stringstyle=\bfseries\color{draculagreen}, + basicstyle=\ttfamily\normalsize\color{draculafg}, + breakatwhitespace=false, + breaklines=true, + captionpos=t, + keepspaces=true, + numbers=left, + numbersep=14pt, + showspaces=false, + showstringspaces=true, + showtabs=false, + tabsize=4, + lineskip=-3pt, + xrightmargin=32pt, + xleftmargin=32pt, + frame=single, + framerule=1pt, + rulesepcolor=\color{draculacyan}, + framexleftmargin=4pt, + framexrightmargin=4pt, + framextopmargin=4pt, + framexbottommargin=4pt, + xleftmargin=5px, + xrightmargin=5px +} + +\lstset{style=codestyle} + +\title{// Tech Stack 2024} +\author{ + 柴田 健琉 \thanks{学籍番号:2024D14} +} +\date{令和6年 11月04日} + +\usepackage{fancyhdr} +\pagestyle{fancy} +\fancyhead[RO]{柴田健琉(2024D14)} +\fancyhead[LO]{令和6年 11月04日} +\fancyfoot[C]{\thepage} + +\begin{document} + \paragraph{タイトル:} + + \begin{center} + \large{// Tech-Stack 2024} + \end{center} + + \paragraph{課題内容を聞いて} + + お題を最初を聞いた時は少しテーマ決めに時間が掛かったが、自分を表す物をリストアップしていく内に、だんだんとテーマが絞られ、結果的に2024年時点で使っている開発ツール、プログラミング言語等をテーマにしました。 + + \paragraph{描いている間} + + 色んなロゴやソースコードを見ながら描いている時、私は過去6、7年間のコンピューター世界の旅を思い出てきた。最初、本当にシンプルな言語で簡単なモノしか出来なかった時、親の勧めで行ったPython講座で刺激を受け、初めて入門書を買ってもらった時。 + よく読んでいた雑誌で紹介されていたシングルボードコンピューターのRaspberry Piを買ってもらって初めてLinuxに触れた時。初めてHTMLを書いてどうやってWebに公開するか分からなかった時。低スペ環境でのゲーム開発の煩わしさを感じた時。 + シェルコマンドを学んでいるときのワクワク感。初めてGitHubでクソコードを世に晒したあの冬。ハイスペパソコンを貰った時の何でもできる感。色んなLinux OSを12年モノノートPCで試めしていた春。初めてLinuxサーバーを建てたあのドキドキ。 + プログラミング言語を学なんで知識が留まっていった夏。普段使いのPCを完全にLinuxにした達成感。C/C++、アセンブリを学なんで探検したコンピューターの深層部。現地校のAP Computer Science Principalを最後まで無双した快感。 + Linux環境を設定する中毒性。長いようで短かった、本当に濃い歴史であった。ちなみに、このレポートは作品にも描かれている\LaTeX{}とVimで制作されました。 + + \paragraph{自己分析} + + この作品はモノクロで、これは私がいつもコードを書いている白黒のCLI環境(文字だけでパソコンの操作をする方法)を表わしている。所々書かれているプログラムの一部分はコンピューターの世界を旅している間に見つけた物、書いた物である。 + ロゴは関係する物同士で近くに描かれており、コンピューターに関する知識が多岐に渡っているという事を表わしている。 + + \paragraph{ショートストーリ創作} + + 私はこの作品をAP CSPとCS A/Bの先生にみせた。 + \begin{itemize} + \item[\textcolor{draculagreen}{AP CSP}] Wow, you got alot to show there. (わぁ、見るべきところが沢山あるね。) + \item[\textcolor{draculacyan}{CS A/B}] I know why you can type up great programs: you are simply a wiz of programming! (君がどうして素晴らしいプログラムを書けるか分かった:君はプログラミングの魔法使いだ!) + \item[\textcolor{draculagreen}{AP CSP}] I would put you in AP CS A if I knew you have programmer's brain with deep knowledge. (もし私が君が深い知識を持ち合わせるプログラマー思考を持っていると分かっていればAP CS Aに入れていたかもね。) + \item[\textcolor{draculacyan}{CS A/B}] You could be a secondary teacher for our classes! (私の授業の副担任になってもいいかもね!) + \item[\textcolor{draculagreen}{AP CSP}] You have wide range of projects you can tackle on. I hope you'll get wonderful engineering job. (君は多くの分野でプロジェクトを遂行できるはずだよ。将来いいエンジニア職に就けるといいね。) + \item[\textcolor{draculacyan}{CS A/B}] Your future is limitless Kenryu! (君の可能性は無限大だ、健琉!) + \end{itemize} + とても暖かい言葉を貰えました。 + +\end{document} diff --git a/src/report.tex b/src/report.tex deleted file mode 100644 index 95a05fe..0000000 --- a/src/report.tex +++ /dev/null @@ -1,150 +0,0 @@ -\documentclass[titlepage,a4paper]{ltjsreport} -\usepackage{luatexja-preset} -\usepackage[colorlinks=true, allcolors=blue]{hyperref} -\usepackage[utf8]{luainputenc} -\usepackage[T1]{fontenc} -\usepackage{babel} -\usepackage[dvipdfm]{graphicx} -\usepackage{wrapfig} -\usepackage[hang,small,bf]{caption} -\usepackage[subrefformat=parens]{subcaption} -\captionsetup{compatibility=false} -\graphicspath{{../assets}} - -\usepackage{fontspec} -\setmainfont{ipag}[ - Path=../assets/fonts/, - Extension=.ttf, -] -\setmonofont{0xProtoNerdFontMono}[ - Path=../assets/fonts/, - Extension=.ttf, - UprightFont=*-Regular -] -\setsansfont{LiberationSans}[ - Path=../assets/fonts/, - Extension=.ttf, - UprightFont=*-Regular -] - -\usepackage{amsmath} - -\usepackage{listings} -\usepackage{xcolor} - -\definecolor{draculabg}{RGB}{40,42,54} -\definecolor{draculafg}{RGB}{248,248,242} -\definecolor{draculacomment}{RGB}{98,114,164} -\definecolor{draculacurrentline}{RGB}{68, 71, 90} -\definecolor{draculaorange}{RGB}{255,184,108} -\definecolor{draculacyan}{RGB}{139,244,253} -\definecolor{draculagreen}{RGB}{80,250,123} - -\lstdefinestyle{codestyle}{ - backgroundcolor=\color{draculabg}, - commentstyle=\color{draculacomment}, - keywordstyle={\color{draculaorange}}, - identifierstyle=\color{draculacyan}, - numberstyle=\small\color{draculacurrentline}, - stringstyle=\bfseries\color{draculagreen}, - basicstyle=\ttfamily\normalsize\color{draculafg}, - breakatwhitespace=false, - breaklines=true, - captionpos=t, - keepspaces=true, - numbers=left, - numbersep=14pt, - showspaces=false, - showstringspaces=true, - showtabs=false, - tabsize=4, - lineskip=-3pt, - xrightmargin=32pt, - xleftmargin=32pt, - frame=single, - framerule=1pt, - rulesepcolor=\color{draculacyan}, - framexleftmargin=4pt, - framexrightmargin=4pt, - framextopmargin=4pt, - framexbottommargin=4pt, - xleftmargin=5px, - xrightmargin=5px -} - -\lstset{style=codestyle} - -\begin{filecontents*}[overwrite]{references.bib} -@online{example, - title = {Example Entry}, - author = {Inc., Example}, - organization = {Example, Inc.}, - url = {https://www.example.com}, - year = {1970}, - month = {January}, - urldate = {1970-01-01} -} -\end{filecontents*} - -\usepackage[backend=biber,bibencoding=utf8,firstinits=false,style=numeric-comp,date=short,dateabbrev=false]{biblatex} -\addbibresource{references.bib} - -\title{Insert Title Here} -\author{ - 柴田 健琉 \thanks{学籍番号:2024D14} -} -\date{令和6年 aa月bb日} - -\usepackage{fancyhdr} -\pagestyle{fancy} -\fancyhead[RO,LE]{柴田健琉(2024D)} -\fancyhead[C]{Title Here} -\fancyhead[LO,RE]{令和6年 aa月bb日} -\fancyfoot[C]{\thepage} - -\begin{document} - \maketitle - - Start Writing! - - Use lualatex + biber to compile. - - Test Bib\cite{example} - - いろはにほへと ちりぬるを - - \begin{lstlisting}[language=C, caption=Basic Hello World] -#include - -int main(int argc, char** argv) { - char* msg = "Hello World"; - printf("%s\n", msg); - 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 - \end{itemize} - - \begin{enumerate} - \item lualatex .tex - \item biber - \item lualatex .tex - \item lualatex .tex - \end{enumerate} - - \newpage - - new page - - \printbibliography -\end{document}