문서 제목에 필드 포함

문서 제목에 필드 포함

수학 문제를 만들어서 학생들에게 나눠주려고 합니다. 제목에는 문서의 \title, \author및 가 있지만\date

  1. 두 개의 필드를 더 포함하고 싶습니다.기관내가 일하는 회사와 회사의 이름강의
  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}

관련 정보