ドキュメントのタイトルにフィールドを含める

ドキュメントのタイトルにフィールドを含める

生徒に配布する数学の問題集を作ろうとしています。タイトルには、文書の\title\authorとがありますが、\date

  1. さらに2つのフィールドを追加したいと思います。機関私が働いている会社の名前はコース
  2. 著者名はそれほど重要ではないので、小さく表示したいです。

以下に私が持っている MWE を残しておきますので、ご協力いただければ幸いです。

\documentclass[12pt]{article}

\newenvironment{problem}[2][Problem]{\begin{trivlist}
\item[\hskip \labelsep {\bfseries #1}\hskip \labelsep {\bfseries #2.}]}{\end{trivlist}}

\usepackage{amssymb,
            amsmath,
            lipsum}
\usepackage{multicol} % to insert columns
    \setlength{\columnsep}{5pt}
\usepackage{hyperref}
    \hypersetup{
        colorlinks=true,
        linkcolor=cyan,
        filecolor=magenta,      
        urlcolor=blue,
        }
\usepackage{parskip} % For no indentation and a bit of space in paragraphs

% to format enumerate to letters
\usepackage[inline]{enumitem} % <-- note the option 'inline'

\begin{document}

\title{Problem Set 2}
\author{Ruben Perez Sanz}
\date{7 September, 2020}
\maketitle

\lipsum
\end{document}

答え1

大学とコースの配置が与えられていないため、私は__から自分のものを使用しましたhttps://tex.stackexchange.com/a/429148/197451

ここに画像の説明を入力してください

\documentclass[12pt]{article}

\newenvironment{problem}[2][Problem]{\begin{trivlist}
\item[\hskip \labelsep {\bfseries #1}\hskip \labelsep {\bfseries #2.}]} 
 {\end{trivlist}}

\usepackage{amssymb,
            amsmath,
            lipsum}
\usepackage{multicol} % to insert columns
    \setlength{\columnsep}{5pt}
\usepackage{hyperref}
    \hypersetup{
        colorlinks=true,
        linkcolor=cyan,
        filecolor=magenta,      
        urlcolor=blue,
        }
\usepackage{parskip} % For no indentation and a bit of space in paragraphs

% to format enumerate to letters
\usepackage[inline]{enumitem} % <-- note the option 'inline'

\begin{document}

\title{Problem Set 2}
\author{Ruben Perez Sanz}
\date{{\large University of \LaTeX} \\[2em]
    \large Course on Fitment of Title\\[2em]
    April 2018}
\maketitle

\lipsum
\end{document}

関連情報