
私は、以下の LaTeX テンプレートを使用して、色付きの背景とさまざまな寸法を持つ小さなポスターを作成しています。通常、これは通常の紙の形式とは大きく異なります。もちろん、LaTeX は一般に、少なくとも私の素人の観点からは A4 に非常に重点が置かれているため、問題が発生することがあります。
私が現在取り組んでいる問題は、自分の名前と電子メール アドレスを、非常に小さなフッターとして下部の余白の中央に表示することです。しかし、fancyhdr
フッターが表示されるようにするために下部の余白のサイズをかなり大きくする必要があったため、私の実験はあまりうまくいきませんでした。このような小さな詳細のためにレイアウトをそれほど変更するのは避けたいのですが、これに対する良い解決策をお持ちの方はいらっしゃいますか?
PS 以下のテンプレートから明らかなように、私は熟練した LaTeX ユーザーではないので、私が完全に間違っている点があれば遠慮なく指摘してください。 ;-)
\documentclass[20pt]{article}
\renewcommand{\familydefault}{\sfdefault}
\usepackage{graphicx, color}
\usepackage[usenames,dvipsnames,svgnames,table]{xcolor}
\color{black}
% If I want a picture background:
%\newlength\imageheight
%\newlength\imagewidth
%\newcommand*\imagefilename{../TEMPLATES/Backgrounds/Yellow(1).png}
%
%\newcommand{\imagescale}{0.6}
%\settoheight{\imageheight}{\includegraphics[scale=\imagescale]{\imagefilename}}
%\settowidth{\imagewidth}{\includegraphics[scale=\imagescale]{\imagefilename}}
%
%\usepackage[
% paperwidth=\imagewidth,
% paperheight = \imageheight,
% top=0.03\imagewidth,
% bottom=0.03\imagewidth,
% left=0.03\imagewidth,
% right=0.03\imagewidth
% ]{geometry}
%
%\usepackage{wallpaper}
%\ULCornerWallPaper{1}{\imagefilename}
%If I want a homogeneous colour background:
\newlength\mypagewidth
\newlength\mypageheight
\setlength\mypagewidth{200pt}
\setlength\mypageheight{115pt}
\usepackage[
paperwidth=\mypagewidth,
paperheight = \mypageheight,
top=0.03\mypageheight,
bottom=0.03\mypageheight,
left=0.03\mypagewidth,
right=0.03\mypagewidth
]{geometry}
\pagecolor{black}
%Other packages
\usepackage{enumerate,siunitx,comment,amssymb,amstext,amsthm,array,xspace,xkeyval,xfrac,bm,mathtools,listings, wasysym, tikz, pgfplots}
\usepackage[normalem]{ulem}
%\usepackage{IEEEtrantools}
%\usepackage[cm]{sfmath}
\usepackage{cmbright} %Sans-serif in math mode.
%Language:
\usepackage[latin1]{inputenc}
\usepackage[english]{babel}
\usepackage[T1]{fontenc}
%A \yesnumber command, allowing me to easily insert equation numers.
\newcommand*{\yesnumber}{\refstepcounter{equation}\tag{\theequation}}
%Special commands:
\renewcommand{\le}{\leqslant}
\renewcommand{\ge}{\geqslant}
\newcommand{\N}[0]{\mathbb{N}}
\newcommand{\Z}[0]{\mathbb{Z}}
\newcommand{\Q}[0]{\mathbb{Q}}
\newcommand{\R}[0]{\mathbb{R}}
\newcommand{\C}[0]{\mathbb{C}}
\pagestyle{plain}
\usepackage{mathdots}
\begin{document}
\begin{center}
{\Huge Title}
\end{center}
Lorem ipsum.........................
\end{document}
答え1
あなたはbackground
パッケージ。このパッケージを使用すると、ドキュメントの全部または一部のページの任意の位置に任意の素材を簡単に配置できます。素材の属性 (色、スケール、位置、角度など) を制御できます。小さな例:
\documentclass{article}
\renewcommand{\familydefault}{\sfdefault}
\usepackage{graphicx, color}
\usepackage[usenames,dvipsnames,svgnames,table]{xcolor}
%\color{black}
% If I want a picture background:
%\newlength\imageheight
%\newlength\imagewidth
%\newcommand*\imagefilename{../TEMPLATES/Backgrounds/Yellow(1).png}
%
%\newcommand{\imagescale}{0.6}
%\settoheight{\imageheight}{\includegraphics[scale=\imagescale]{\imagefilename}}
%\settowidth{\imagewidth}{\includegraphics[scale=\imagescale]{\imagefilename}}
%
%\usepackage[
% paperwidth=\imagewidth,
% paperheight = \imageheight,
% top=0.03\imagewidth,
% bottom=0.03\imagewidth,
% left=0.03\imagewidth,
% right=0.03\imagewidth
% ]{geometry}
%
%\usepackage{wallpaper}
%\ULCornerWallPaper{1}{\imagefilename}
%If I want a homogeneous colour background:
\newlength\mypagewidth
\newlength\mypageheight
\setlength\mypagewidth{200pt}
\setlength\mypageheight{115pt}
\usepackage[
paperwidth=\mypagewidth,
paperheight = \mypageheight,
top=0.03\mypageheight,
bottom=0.03\mypageheight,
left=0.03\mypagewidth,
right=0.03\mypagewidth
]{geometry}
%\pagecolor{black}
%Other packages
\usepackage{enumerate,siunitx,comment,amssymb,amstext,amsthm,array,xspace,xkeyval,xfrac,bm,mathtools,listings, wasysym, tikz, pgfplots}
\usepackage[normalem]{ulem}
%\usepackage{IEEEtrantools}
%\usepackage[cm]{sfmath}
\usepackage{cmbright} %Sans-serif in math mode.
%Language:
\usepackage[latin1]{inputenc}
\usepackage[english]{babel}
\usepackage[T1]{fontenc}
%A \yesnumber command, allowing me to easily insert equation numers.
\newcommand*{\yesnumber}{\refstepcounter{equation}\tag{\theequation}}
%Special commands:
\renewcommand{\le}{\leqslant}
\renewcommand{\ge}{\geqslant}
\newcommand{\N}[0]{\mathbb{N}}
\newcommand{\Z}[0]{\mathbb{Z}}
\newcommand{\Q}[0]{\mathbb{Q}}
\newcommand{\R}[0]{\mathbb{R}}
\newcommand{\C}[0]{\mathbb{C}}
\pagestyle{plain}
\usepackage{background}
\backgroundsetup{
scale=0.6,
angle=0,
color=black,
position=current page.south,
contents={Some text},
vshift=6pt
}
\usepackage{mathdots}
\begin{document}
\begin{center}
{\Huge Title}
\end{center}
Lorem ipsum.........................
\end{document}
グローバル オプション20pt
はクラスによって認識されませんarticle
。