タイトルページに大学のロゴと会社のロゴを追加する
Aug 24 2020
タイトルページの下部に大学のロゴと会社のロゴを追加したいと思います(図のように)。残りのページについては、記事の形式を維持したいと思います。どうしますか?私の現在のコードは次のとおりです。
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[super]{natbib}
\usepackage{comment}
\usepackage{graphicx}
\usepackage{float}
\usepackage{hyperref}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{caption}
\usepackage{adjustbox}
\usepackage{lipsum}
\captionsetup[figure]{font=small,labelfont=bf}
\captionsetup[table]{font=small,labelfont=bf}
\usepackage[justification=centering]{caption}
\usepackage{eurosym}
\usepackage[table, dvipsnames]{xcolor}
\makeatletter
\newcommand*{\rom}[1]{\expandafter\@slowromancap\romannumeral #1@}
\makeatother
\def\changemargin#1#2{\list{}{\rightmargin#2\leftmargin#1}\item[]}
\let\endchangemargin=\endlist
\begin{document}
\begin{titlepage}
\begin{center}
\textbf{\Large\\
Strategic order allocation at } \newline\textit{\Large\\Development of a }
\vspace{2cm}
\begin{Large}
MSc. Thesis\\
Maximo , 4950933\\
\today \\
\vspace{2 cm}\\
\textbf{Delft University of Technology}\\
Faculty of Technology, Policy and Management \\
Complex Systems Engineering \& Management \\
Section Transport \& Logistics
\vspace{1 cm}\\
\textbf{MSc. Committee}\\
Prof.dr.ir. \\
Dr. M.Y. \\
Dr.ir. B. \\
Ir. A.
\end{Large}
\end{center}
\vspace{1cm}
\end{titlepage}

回答
3 Sveinung Aug 24 2020 at 22:53

\vfill
です。タイトルページの下部にロゴを送信してから\hspace{\fill}
、2つのロゴの間で使用します。次に、大学のロゴが左マージンに「プッシュ」され、ハイネケンのロゴが右マージンにプッシュされます。
ロゴをさらに下に配置したい場合は、コマンドを追加するだけです
\enlargethispage{<n>\baselineskip}
ページの始めに。<n>
お好みの行数に置き換えてください。
\documentclass[draft]{article}
\usepackage[utf8]{inputenc}
\usepackage{graphicx}
\usepackage{lipsum}
\usepackage[table, dvipsnames]{xcolor}
\begin{document}
\enlargethispage{5\baselineskip} %% <- moves the logos five lines down
\begin{titlepage}
\begin{center}
\textbf{\Large\\
Strategic order allocation at } \newline\textit{\Large\\Development of a }
\vspace{2cm}
\begin{Large}
MSc. Thesis\\
Maximo , 4950933\\
\today \\
\vspace{2 cm}
\textbf{Delft University of Technology}\\
Faculty of Technology, Policy and Management \\
Complex Systems Engineering \& Management \\
Section Transport \& Logistics
\vspace{1 cm}\\
\textbf{MSc. Committee}\\
Prof.dr.ir. \\
Dr. M.Y. \\
Dr.ir. B. \\
Ir. A.
\end{Large}
\end{center}
% \vspace{1cm}
\vfill
\noindent
\includegraphics{TU-logo.png}\hspace{\fill}\includegraphics{Heineken-logo.png}
\end{titlepage}
\end{document}
2 Mensch Aug 25 2020 at 00:18
コマンド\includegraphics[options]{image}
を使用して、両方の画像をタイトルページに追加できます。
私が修正した前文にいくつかのエラーがあります(マーキングを参照<=======
)...
私はあなたの画像のプレースホルダーとして使用example-image-a
し...-b
ました。
パッケージを使用showframe
して、結果の入力領域と余白を視覚化したことを確認してください...最終バージョンのパッケージを削除してください!
次のMWEをご覧ください
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[super]{natbib}
\usepackage{comment}
\usepackage{graphicx}
\usepackage{float}
\usepackage{amsmath}
\usepackage{amssymb}
%\usepackage{caption} % <===============================================
\usepackage[justification=centering]{caption}
\captionsetup[figure]{font=small,labelfont=bf}
\captionsetup[table]{font=small,labelfont=bf}
\usepackage{adjustbox}
\usepackage{lipsum}
\usepackage{eurosym}
\usepackage[table, dvipsnames]{xcolor}
\usepackage{hyperref}% <================================================
\usepackage{showframe} % <========= to visualize typing area and margins
\makeatletter
\newcommand*{\rom}[1]{\expandafter\@slowromancap\romannumeral #1@}
\makeatother
\def\changemargin#1#2{\list{}{\rightmargin#2\leftmargin#1}\item[]}
\let\endchangemargin=\endlist
\begin{document}
\begin{titlepage}
\begin{center}
\textbf{\Large\\
Strategic order allocation at } \newline\textit{\Large\\Development of a }
\vspace{2cm}
\begin{Large}
MSc. Thesis\\
Maximo, 4950933\\
\today \\
\vspace{2 cm} % <================================ deleted \\
\textbf{Delft University of Technology}\\
Faculty of Technology, Policy and Management \\
Complex Systems Engineering \& Management \\
Section Transport \& Logistics
\vspace{1 cm} % y============================ deleted \\
\textbf{MSc. Committee}\\
Prof.dr.ir. \\
Dr. M.Y. \\
Dr.ir. B. \\
Ir. A.
\end{Large}
\end{center}
%\vspace{1cm} % <===============================================
\vfill % <======================================================
\includegraphics[width=3cm]{example-image-a} \hfill \includegraphics[width=3cm]{example-image-b} % <=====
\end{titlepage}
\end{document}
およびその結果のpdf:

1 MarkusG. Aug 24 2020 at 22:52
私は自分の論文でこの問題を解決するためにtikzを使用しました。デモ画像を使用して、タイトルページの最後にtikzパッケージとオーバーレイを追加しました。現在のページアンカーを使用するため、ドキュメントの残りの部分は影響を受けません。
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[super]{natbib}
\usepackage{comment}
\usepackage{graphicx}
\usepackage{float}
\usepackage{hyperref}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{caption}
\usepackage{adjustbox}
\usepackage{lipsum}
\captionsetup[figure]{font=small,labelfont=bf}
\captionsetup[table]{font=small,labelfont=bf}
\usepackage[justification=centering]{caption}
\usepackage{eurosym}
\usepackage[table, dvipsnames]{xcolor}
\makeatletter
\newcommand*{\rom}[1]{\expandafter\@slowromancap\romannumeral #1@}
\makeatother
\def\changemargin#1#2{\list{}{\rightmargin#2\leftmargin#1}\item[]}
\let\endchangemargin=\endlist
\usepackage{tikz}
\begin{document}
\begin{titlepage}
\begin{center}
\textbf{\Large\\
Strategic order allocation at } \newline\textit{\Large\\Development of a }
\vspace{2cm}
\begin{Large}
MSc. Thesis\\
Maximo , 4950933\\
\today \\
\vspace{2cm}
\textbf{Delft University of Technology}\\
Faculty of Technology, Policy and Management \\
Complex Systems Engineering \& Management \\
Section Transport \& Logistics
\vspace{1cm}
\textbf{MSc. Committee}\\
Prof.dr.ir. \\
Dr. M.Y. \\
Dr.ir. B. \\
Ir. A.
\end{Large}
\end{center}
\vspace{1cm}
\begin{tikzpicture}[remember picture,overlay]
\node[xshift=-1.35cm,yshift=1.35cm,anchor=south east] at (current page.south east) {\includegraphics[height=1.6275cm]{example-image-b}};
\end{tikzpicture}
\end{titlepage}
\end{document}
出力は次のとおりです。

また、\ vspace {x cm}コマンドの後に\を削除した方法にも注意してください。これにより、「ここに終了する行がありません」というタイプのエラーが発生します。