LoginSignup
23JON
@23JON (23 JON)

Are you sure you want to delete the question?

If your question is resolved, you may close it.

Leaving a resolved question undeleted may help others!

We hope you find it useful!

Latexのエラーの意味が分からない

写真のようなきれいな表紙をLatexで作成するために、以下のようにコードを書いたところ、意味の分からないエラーが出てきました。
どうやったら解決しますか。
宜しくお願い致します。

1_page-0001 (2).jpg

私が書いたコードとエラー

\documentclass[11pt,a4paper,oneside,openany]{jsbook}
\usepackage{latexsym}        % 数学記号を増やすためのパッケージ
\usepackage{amssymb,amsmath} % 複雑な数式を書くためのパッケージ
\usepackage[dvipdfmx]{graphicx} % グラフィクスを使うためのパッケージ
\usepackage{enumerate}       % enumerate環境を高機能にするためのパッケージ
\usepackage{stthesis}        % 本体用スタイル
\usepackage{otf}
\def\qed{\hfill $\Box$}
\newcounter{num}
\newcommand{\ctext}[1]{\raise0.2ex\hbox{\textcircled{\scriptsize{#1}}}}

\begin{document}
% 表紙
\thispagestyle{empty}
\input{title}
\vspace*{15mm}

\begin{center}
{\LARGE 演 習 レ ポ ー ト}

\vfill
{\LARGE\bf タイトル}

\vfill
\begin{tabular}{rl}
{\bf 学籍番号} & {\Large\bf 氏名}\\
{\bf 学籍番号} & {\Large\bf 氏名}\\
                &                      \\
{\bf 指導教員}  & {\Large\bf 氏名}
\end{tabular}

\vfill
{\Large 2022年10月}\\   % 指定された年月を入れる

\vfill 
{\large\bf 大学学部学科}

\end{center}


\end{document}
This is e-pTeX, Version 3.14159265-p3.7.1-161114-2.6 (utf8.euc) (TeX Live 2017/Debian) (preloaded format=platex)
 restricted \write18 enabled.
entering extended mode
(./soturonn2.tex
pLaTeX2e <2017/10/28>+4 (based on LaTeX2e <2017-04-15>)
Babel <3.18> and hyphenation patterns for 26 language(s) loaded.
(/usr/share/texlive/texmf-dist/tex/platex/jsclasses/jsbook.cls
Document Class: jsbook 2017/10/04 jsclasses (okumura, texjporg)
(/usr/share/texlive/texmf-dist/tex/platex/jsclasses/jslogo.sty))
(/usr/share/texlive/texmf-dist/tex/latex/base/latexsym.sty)
(/usr/share/texlive/texmf-dist/tex/latex/amsfonts/amssymb.sty
(/usr/share/texlive/texmf-dist/tex/latex/amsfonts/amsfonts.sty))
(/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsmath.sty
For additional information on amsmath, use the `?' option.
(/usr/share/texlive/texmf-dist/tex/latex/amsmath/amstext.sty
(/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsgen.sty))
(/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsbsy.sty)
(/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsopn.sty))
(/usr/share/texlive/texmf-dist/tex/latex/graphics/graphicx.sty
(/usr/share/texlive/texmf-dist/tex/latex/graphics/keyval.sty)
(/usr/share/texlive/texmf-dist/tex/latex/graphics/graphics.sty
(/usr/share/texlive/texmf-dist/tex/latex/graphics/trig.sty)
(/usr/share/texlive/texmf-dist/tex/latex/graphics-cfg/graphics.cfg)
(/usr/share/texlive/texmf-dist/tex/latex/graphics-def/dvipdfmx.def)))
(/usr/share/texlive/texmf-dist/tex/latex/tools/enumerate.sty)

! LaTeX Error: File `stthesis.sty' not found.

Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: sty)

Enter file name: 
0

1Answer

六行目でstthesisを使うと宣言していますが、これはスタイル(見た目)を決めるパッケージです。
通常拡張子styを持つファイルでスタイルは定義しますが、これが見つからない(からどんな見た目にすれば良いかわからない)とエラーは言っています。

学位論文のフォーマットは普通大学側が規定するものなので、styファイルもどこかに落ちていると思います。
研究室のメンバーに聞いてみるのが一番早いと思います。

0

Comments

  1. @23JON

    Questioner
    ありがとうございます。

Your answer might help someone💌