我怎样才能使这个致谢页的字体看起来更好一些?
有什么好主意吗?
\documentclass[11pt,a4paper,english]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{babel}
\begin{document}
\clearpage
\thispagestyle{plain}
\chapter*{Acknowledgements}
\par\vspace*{.35\textheight}{\centering Dedicated to my professor\par}
\\
\centering
\texttt{ It is with our deepest gratitude and warmest affection \\
That we dedicate this thesis \\
To our Professor Dr. X \\
Who has been a constant source of Knowledge and inspiration.}
\end{document}
您能否建议我如何使这个致谢页面看起来更美观一些?
答案1
您的问题有两个问题;
你有一个非常主观的要求,那就是它必须漂亮。好吧,例如,我不觉得 Comic Sans 丑陋(在这种情况下不是美丽的反义词!!)但如果我在这里使用它,我们的专家将追踪我的 IP 并向我的地址发送无人机以消灭我。但我喜欢无人机,所以这里没什么;
\documentclass{memoir} \usepackage[dvipsnames]{xcolor} \usepackage{fontspec,pgfornament,background} \setmainfont{Comic Sans MS} \newenvironment{dedication} {\clearpage % we want a new page \thispagestyle{empty}% no header and footer \vspace*{\stretch{1}}% some space at the top \centering % } {\par % end the paragraph \vspace{\stretch{3}} % space at bottom is three times that at the top \clearpage % finish off the page } \backgroundsetup{ scale=1, opacity=1, angle=0, color=black, contents={% \begin{tikzpicture}[every node/.style={inner sep=0pt}] \node[anchor=north west](CNW) at (current page.north west) {\pgfornament[width=1.75cm]{61}}; \node[anchor=north east](CNE) at (current page.north east) {\pgfornament[width=1.75cm,symmetry=v]{61}}; \node[anchor=south west](CSW) at (current page.south west) {\pgfornament[width=1.75cm,symmetry=h]{61}}; \node[anchor=south east](CSE) at (current page.south east) {\pgfornament[width=1.75cm,symmetry=c]{61}}; \end{tikzpicture}% } } \begin{document} \begin{dedication} \begin{tikzpicture}[color=Maroon, every node/.style={inner sep=0pt}] %\draw[help lines] (-6,-6) grid (6,6); \node[minimum size=12cm](vecbox){}; \node[anchor=north west] at (vecbox.north west) {\pgfornament[width=5cm]{61}}; \node[anchor=north east] at (vecbox.north east) {\pgfornament[width=5cm,symmetry=v]{61}}; \node[anchor=south west] at (vecbox.south west) {\pgfornament[width=5cm,symmetry=h]{61}}; \node[anchor=south east] at (vecbox.south east) {\pgfornament[width=5cm,symmetry=c]{61}}; \node[align=center,text width=10cm] at (0,0) { It is with our deepest gratitude and warmest affection that we dedicate this thesis \vspace{2em} to our Professor Dr. X \vspace{2em} who has been a constant source of Knowledge and inspiration. }; \end{tikzpicture} \end{dedication} \end{document}
pgfornament
好吧,幸运的是,除非您使用 LuaLaTeX、安装 comic sans 字体、安装包并至少运行两次,否则它不会编译。我相信您会同意我的观点,即 Comic Sans 增加了个人风格……与此同时,无人机的噪音变得难以忍受... 我屏幕上的激光笔是什么?我在这里做的是首先搜索奉献在网站上。这将给你 egreg 的答案文章类中的奉献页面然后从 Gonzalo 和 Harish 那里偷了一些想法每页角落都有装饰因为我知道 Alain Matthes 的精彩包装。
另一个问题是,奉献是个人的事情。如果你真的对奉献很认真,那就设计一些个人的东西并努力实现它。每当你遇到困难时,把不完整的代码粘贴到这里,人们就会跳出来。但现在你只想要一些东西设计免费(可以)并且非常精彩(不可以)来向你的教授表达敬意。