求助大家如何将这个图标和“springer”调整的紧凑并且和原书一样呀?
\documentclass{article}
\usepackage{tikz}
\usepackage{xcolor}
\usepackage{graphicx}
\definecolor{bg@main}{RGB}{254,216,71}
\definecolor{bg@second}{RGB}{249,241,179}
\definecolor{bg@third}{RGB}{247,234,156}
\definecolor{text@main}{RGB}{254,216,71}
\definecolor{text@second}{RGB}{2,49,102}
\definecolor{text@third}{RGB}{162,148,65}
\usepackage{times,fontawesome5}
\usepackage[paperwidth=16.51cm, paperheight=24.77cm]{geometry}
\def\maketitle{%
\newgeometry{margin=0pt}
\begin{titlepage}
\begin{tikzpicture}[remember picture, overlay]
\def\textnode[#1]#2;{
\node[anchor=west, align=left, #1] #2;
}
\fill[left color=bg@second] (current page.north west) rectangle (current page.south east);
\fill[bg@main] (current page.south east) rectangle ++(-0.9\paperwidth, 0.69\paperheight) coordinate (t1);
\fill[bg@third] (t1) rectangle ++(-0.1\paperwidth, -0.137\paperheight);
\draw[white, very thick] (current page.north west) ++ (.1\paperwidth, 0) -- ++ (0, -\paperheight);
\draw[white, very thick] (current page.north west) ++ (0, -.31\paperheight) -- ++ (\paperwidth, 0);
\draw[white, very thick] (current page.north west) ++ (0, -.447\paperheight) -- ++ (.1\paperwidth, 0);
\textnode[text=text@third, font=\LARGE] at ([xshift=0.1\paperwidth + 0.75cm, yshift=-0.75cm]current page.north west) {Graduate Text in Mathematics};
\textnode[text=text@main, scale=5, anchor=north east] at (current page.north east) {GTM};
\textnode[text=text@second, anchor=south west, scale=2.4] at ([xshift=0.75cm]t1) {Mathematician Analysis};
\textnode[text=text@second, anchor=north west, scale=7] at ([xshift=0cm]t1) {Introduction \\ to Real \\ Analysis};
% 插入自定义图片并调整
\node[anchor=south east] at ([shift={(-1cm,1cm)}]current page.south east) {
\begin{minipage}[b][1.5cm][c]{1.5cm}
\includegraphics[width=\linewidth]{Springer-logo.png}
\end{minipage}
\begin{minipage}[b][1.5cm][c]{3cm}
\centering \normalsize Springer
\end{minipage}
};
\end{tikzpicture}
\end{titlepage}
\restoregeometry
}
\begin{document}
\maketitle
\end{document}
随缘改了下...
\documentclass{article}
\usepackage{tikz}
\usepackage{xcolor}
\usepackage{graphicx}
\usepackage{fontspec}
\setmainfont{TeX Gyre Pagella}
\definecolor{bg@main}{RGB}{254,216,71}
\definecolor{bg@second}{RGB}{249,241,179}
\definecolor{bg@third}{RGB}{247,234,156}
\definecolor{text@main}{RGB}{254,216,71}
\definecolor{text@second}{RGB}{2,49,102}
\definecolor{text@third}{RGB}{162,148,65}
\usepackage[paperwidth=16.51cm, paperheight=24.77cm]{geometry}
\def\maketitle{%
\newgeometry{margin=0pt}
\begin{titlepage}
\begin{tikzpicture}[remember picture, overlay]
\def\textnode[##1]##2;{%
\node[anchor=west, align=left, ##1] ##2;
}
\fill[left color=bg@second] (current page.north west) rectangle (current page.south east);
\fill[bg@main] (current page.south east) rectangle ++(-0.9\paperwidth, 0.69\paperheight) coordinate (t1);
\fill[bg@third] (t1) rectangle ++(-0.1\paperwidth, -0.137\paperheight);
\draw[white, very thick] (current page.north west) ++ (.1\paperwidth, 0) -- ++ (0, -\paperheight);
\draw[white, very thick] (current page.north west) ++ (0, -.31\paperheight) -- ++ (\paperwidth, 0);
\draw[white, very thick] (current page.north west) ++ (0, -.447\paperheight) -- ++ (.1\paperwidth, 0);
\textnode[text=text@third, font=\LARGE] at ([xshift=0.1\paperwidth + 0.75cm, yshift=-0.75cm]current page.north west) {Graduate Text in Mathematics};
\textnode[text=text@main, scale=5, anchor=north east] at (current page.north east) {GTM};
\textnode[text=text@second, anchor=south west, scale=2.4] at ([xshift=0.75cm]t1) {Mathematician Analysis};
\textnode[text=text@second, anchor=north west, scale=7] at ([xshift=0cm]t1) {Introduction \\ to Real \\ Analysis};
% 插入自定义图片并调整
\node[anchor=south east] at ([shift={(-1cm,1cm)}]current page.south east) {%
\begin{minipage}[b][1.5cm][c]{2cm}
\hfill\includegraphics[width=1.5\linewidth]{springer_horse.png}
\end{minipage}%
\begin{minipage}[b][1.5cm][c]{3cm}
\centering \huge\bfseries Springer
\end{minipage}
};
\end{tikzpicture}
\end{titlepage}
\restoregeometry
}
\begin{document}
\maketitle
\end{document}
\def\textnode[##1]##2;{%
\node[anchor=west, align=left, ##1] ##2;%
}%
怎么到你这里一抄就变成了#1
和#2
(?)你能解释解释吗...
tikz
的node
的用法minipage
环境的用法不会markdown语法不要提问。
P.S. markdown语法是很重要的,问题描述也要完整,清楚。