> For the complete documentation index, see [llms.txt](https://overleaf-pro.ayaka.space/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://overleaf-pro.ayaka.space/latex/sv/fragor-och-svar/39-how-do-i-use-the-frontespizio-package.md).

# Hur använder jag paketet frontespizio?

Den [`frontespizio` paketet](http://www.ctan.org/tex-archive/macros/latex/contrib/frontespizio) sätter upp en försättssida i en stil som lämpar sig för en avhandling vid ett italienskt universitet. Den skapar försättssidan som en separat PDF, som sedan inkluderas tillbaka i huvudprojektet. Det innebär att ett särskilt kompileringssteg krävs för att bygga försättssidan. För att göra detta i Overleaf kan du använda `\write18` för att starta kompileringen, så här:

```latex
\begin{frontespizio}
\Istituzione{Politecnico di Torino}
% ... din övriga information här
\end{frontespizio}
\IfFileExists{\jobname-frn.pdf}{}{%
\immediate\write18{pdflatex \jobname-frn}}
```

Om kompileringen av försättssidan misslyckas kan du använda paketet listings och sedan lägga till

```latex
\lstinputlisting{output-frn.log}
```

efter koden ovan för att få loggfilen in i ditt huvudprojekt, där du kan läsa den och hitta felet.

Observera att om du använder LuaLaTeX-kompilatorn behöver du lägga till

```latex
\usepackage{shellesc}
```

i din preamble för att detta ska fungera, för att göra `\write18` eller `\ShellEsc` kommandon [tillgänglig för LuaLaTeX](https://tex.stackexchange.com/a/366200/226).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://overleaf-pro.ayaka.space/latex/sv/fragor-och-svar/39-how-do-i-use-the-frontespizio-package.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
