向下移动 标题 位于 正面

向下移动 标题 位于 正面

我正在撰写意大利语论文,并使用 frontespizio 包来制作我的封面。

这是我关于这部分的代码:

\begin{frontespizio}
\Istituzione{UNIVERSITA' DEGLI STUDI DI CITTA "QUALSIASI" }
\Dipartimento{Science and Tecnology}
\Corso[Laurea]{Informatica}
\Annoaccademico{2015--2016}
\Titoletto{Tesi di Laurea}
\Titolo{Titolo della tesi}
\Preambolo{\renewcommand{\frontsmallfont}[1]{\small Matr.}}
\Candidato[0123456789]{Mario Rossi}
\Relatore{Prof. Giuseppe Verdi}
\Margini{2.5cm}{2.5cm}{2.5cm}{2.5cm}
\Filigrana[height=4cm,before=2.6,after=8.8]{images/ubuntu-logo}
\Punteggiatura{}
\end{frontespizio}

输出就是这张图像。 frontespizio 输出

我现在需要的是“titoletto”(Tesi di Laurea)应该位于徽标下方,紧靠论文标题之前,即“titolo”部分,而不是出现在徽标上。

我该如何使用这个包来解决这个问题?还是我需要使用另一个?

答案1

您可以将“titoletto”作为标题的一部分:

\documentclass[a4paper]{book}
\usepackage[swapnames]{frontespizio}

\begin{document}
\begin{frontespizio}
\begin{Preambolo*}
\usepackage{etoolbox}
\expandafter\patchcmd\csname front@docand\endcsname
  {Matricola}{Matr.\ }{}{}
\end{Preambolo*}
\Istituzione{UNIVERSIT\`A DEGLI STUDI DI CITT\`A ``QUALSIASI''}
\Dipartimento{Science and Tecnology}
\Corso[Laurea]{Informatica}
\Annoaccademico{2015--2016}
%\Titoletto{Tesi di Laurea}
\Titolo{{\frontpretitlefont Tesi di laurea\\[1ex]}Titolo della tesi}
\Candidato[0123456789]{Mario Rossi}
\Relatore{Prof. Giuseppe Verdi}
\Margini{2.5cm}{2.5cm}{2.5cm}{2.5cm}
\Filigrana[height=4cm,before=2.6,after=8.8]{duck}
\Punteggiatura{}
\end{frontespizio}

\end{document}

我添加了一种将“Matricola”更改为“Matr”的更好方法。

在此处输入图片描述

答案2

解决此问题的最简单方法是在要向下移动的行之前手动添加一些垂直空间。也可以选择在之后插入一些负垂直空间,以防止后面的项目也向下移动。

梅威瑟:

\documentclass{article}
\usepackage{frontespizio}
\begin{document}
\begin{frontespizio}
\Istituzione{UNIVERSITA' DEGLI STUDI DI CITTA "QUALSIASI" }
\Dipartimento{Science and Tecnology}
\Corso[Laurea]{Informatica}
\Annoaccademico{2015--2016}
\Titoletto{\vspace{4cm}Tesi di Laurea\vspace{-4cm}}
\Titolo{Titolo della tesi}
\Preambolo{\renewcommand{\frontsmallfont}[1]{\small Matr.}}
\Candidato[0123456789]{Mario Rossi}
\Relatore{Prof. Giuseppe Verdi}
\Margini{2.5cm}{2.5cm}{2.5cm}{2.5cm}
\Filigrana[height=4cm,before=2.6,after=8.8]{save-icon}
\Punteggiatura{}
\end{frontespizio}
\end{document}

结果(使用我能找到的第一张随机图像……):

在此处输入图片描述

正确的方法将会调查的选项或源代码frontespizio。也许@egreg可以在这里为您提供帮助(他是该软件包的作者)。

相关内容