Comments (7)
aha, solved! Thanks, now I grok your reply!
It was this SO that provided a nice example:
https://stackoverflow.com/questions/75780685/how-can-i-add-multiple-lines-in-the-title-of-a-pdf-output-in-quarto-using-rstudi
from quarto-letter.
Sorry but I don't understand what you want and/or how it is not already possible.
Did you look at the example?
from quarto-letter.
Not sure if this works, but have you tried putting a Latex linebreak \\
after the Institute?
Really not sure if this works and it is rather hacky and might break the layout, but I would try something like this
affiliation:
- name: Dummy org
department: Cool Institute \\ Cool Dep
from quarto-letter.
It won't.
The YAML specification has:
key: |
Multiline
value
from quarto-letter.
Does this break the „backaddress“ line?
from quarto-letter.
The easiest and fastest way to answer is to actually try it, using the example document: https://github.com/mcanouil/quarto-letter/blob/main/template.qmd
If you don't manage to get what you want please provide a small self contained and reproducible document.
You can share a self-contained "working" (reproducible) Quarto document using the following syntax, i.e., using more backticks than you have in your document (usually four ````
).
See https://quarto.org/bug-reports.html#small-is-beautiful-aim-for-a-single-document-with-10-lines.
If you have multiple files (and if it is absolutely required to have multiple files), please share as a Git repository.
R | Python |
---|---|
````qmd
---
title: "Reproducible Quarto Document"
format: html
engine: knitr
---
This is a reproducible Quarto document.
```{r}
x <- c(1, 2, 3, 4, 5)
y <- c(1, 4, 9, 16, 25)
plot(x, y)
```
![An image](https://placehold.co/600x400.png)
The end.
```` |
````qmd
---
title: "Reproducible Quarto Document"
format: html
engine: jupyter
---
This is a reproducible Quarto document.
```{python}
import matplotlib.pyplot as plt
x = [1, 2, 3, 4, 5]
y = [1, 4, 9, 16, 25]
plt.plot(x, y)
plt.show()
```
![An image](https://placehold.co/600x400.png)
The end.
```` |
Additionally and if not already given, please share the output of quarto check
within a code blocks (i.e., using three backticks ```txt
), see https://quarto.org/bug-reports.html#check.
from quarto-letter.
It won't.
The YAML specification has:
key: | Multiline value
Sorry, could you elaborate on this response? How is this interfering with a multiline for one key, I am not versed in the required syntax.
It, enticingly, says "multiline", so I was hoping it can be used to solve this, but the \\
linebreak for sure doesn't work:
from quarto-letter.
Related Issues (8)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from quarto-letter.