私のMWE:
\documentclass[a4paper]{article}
\usepackage[left=2.2cm,right=2.2cm,top=2.2cm,bottom=2.2cm]{geometry}
\usepackage{background}
\usepackage{lipsum}
\usetikzlibrary{calc}
\usepackage[magyar]{babel}
\usepackage{t1enc}
\usepackage[utf8]{inputenc}
\usepackage{indentfirst}
\frenchspacing
\newcommand\HRule{\rule{\textwidth}{1pt}}
\SetBgScale{1}
\SetBgAngle{0}
\SetBgColor{black}
\SetBgContents{
\begin{tikzpicture}[remember picture,overlay]
\draw [line width=1 pt,black]
($ (current page.north west) + (2cm,-2cm) $)
rectangle
($ (current page.south east) + (-2cm,2cm) $);
\end{tikzpicture}
}
\begin{document}
\begin{titlepage}
\begin{center}
\textsc{\Large Proba}\[2cm]
% Title
\HRule \[0.2cm]
{ \Large \bfseries proba\ proba}\[0.2cm]
\HRule \[4cm]
\begin{minipage}{0.45\textwidth}
\begin{flushleft} \large
\emph{proba}\
\end{flushleft}
\end{minipage}
\begin{minipage}{0.45\textwidth}
\begin{flushleft} \large
\emph{proba} \
\end{flushleft}
\end{minipage}
\vfill
% Bottom of the page
{\large \today}
\end{center}
\end{titlepage}
\lipsum[1-40]
\end{document}
enter code here
https://drive.google.com/open?id=1Mywq67hOYlFisV9vJrl59XCM6Kg0Euud
答え1
おそらくあなたのせいではないいくつかのエラーを修正しました。 はすべて\\[
でした。そして、の行に\[
追加しました。opacity=1
tikzpicture
\documentclass[a4paper]{article}
\usepackage[left=2.2cm,right=2.2cm,top=2.2cm,bottom=2.2cm]{geometry}
\usepackage{background}
\usepackage{lipsum}
\usetikzlibrary{calc}
\usepackage[magyar]{babel}
\usepackage{t1enc}
\usepackage[utf8]{inputenc}
\usepackage{indentfirst}
\frenchspacing
\newcommand\HRule{\rule{\textwidth}{1pt}}
\SetBgScale{1}
\SetBgAngle{0}
\SetBgColor{black}
\SetBgContents{
\begin{tikzpicture}[remember picture,overlay]
\draw [line width=1 pt,black,opacity=1]
($ (current page.north west) + (2cm,-2cm) $)
rectangle
($ (current page.south east) + (-2cm,2cm) $);
\end{tikzpicture}
}
\begin{document}
\begin{titlepage}
\begin{center}
\textsc{\Large Proba}\\[2cm]
% Title
\HRule \\[0.2cm]
{ \Large \bfseries proba\ proba}\\[0.2cm]
\HRule \\[4cm]
\begin{minipage}{0.45\textwidth}
\begin{flushleft} \large
\emph{proba}\
\end{flushleft}
\end{minipage}
\begin{minipage}{0.45\textwidth}
\begin{flushleft} \large
\emph{proba} \
\end{flushleft}
\end{minipage}
\vfill
% Bottom of the page
{\large \today}
\end{center}
\end{titlepage}
\lipsum[1-40]
\end{document}