Giter Site home page Giter Site logo

mcanouil / quarto-letter Goto Github PK

View Code? Open in Web Editor NEW
59.0 3.0 9.0 3.62 MB

Letter template for Quarto

Home Page: https://m.canouil.dev/quarto-letter/

License: MIT License

TeX 100.00%
letter quarto quarto-extension quarto-pub quarto-template quarto-format quartopub

quarto-letter's Introduction

Letter Format Template

This is a Quarto template that assists you in creating a manuscript using the letter format.

Creating a New Letter

You can use this as a template to create a letter. To do this, use the following command:

quarto use template mcanouil/quarto-letter

This will install the extension and create an example qmd file and bibliography that you can use as a starting place for your article.

Installation For Existing Document

You may also use this format with an existing Quarto project or document. From the quarto project or document directory, run the following command to install this format:

quarto add mcanouil/quarto-letter

Usage

To use the format, you can use the format name letter-pdf1. For example:

quarto render template.qmd --to letter-pdf

or in your document yaml

format: letter-pdf

It's possible to change the subject title and the subject suffix, e.g., for a French letter:

subject-title: Objet
subject-suffix: " :"

You can view a preview of the rendered template at https://m.canouil.dev/quarto-letter/.

Footnotes

  1. Currently only PDF is supported but HTML support will be added as soon as Paged.js is made available in Quarto. โ†ฉ

quarto-letter's People

Contributors

mcanouil avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

quarto-letter's Issues

2 lines for department

Hi!
Thanks for your template!
Is it possible to get 2 lines (with a linebreak:

Institut blabla
Department blabla

for the department section?

Thanks for any tips!

Scrlttr2

I spent this sunday playing around with your extension and very much liked the idea to get letters out of as little as possible markdown files. I adapted this to my own used sclttr2 template latex template. I extended it with a lot of the Komascript builtin Variables to make it look more like a usual current letter .

Before I fork and release just the same again I would rather appreciate if you would be interested in these code snippets.
I still got some minor issues like shortened phone numbers due to yaml features but itts working at least for me pretty well.

Looking forward for your response
compies

Subject language

Hi, thanks for this template. I am writing a letter in Spanish and adding option lang: es to the yaml was sufficient to have the date in Spanish. Nevertheless, prefix "Subject" to the subject of the letter remain in English. I was not able to understand how to improve partials/before-body.tex to make "Subject" word depending on the language. Or, alternatively, to change it directly.

I will really appreciate some guidance.

Adding Letterhead to template

I am wondering if it's possible to add a letterhead (a .jpg file) to the top of a letter template.
Great template, BTW.

Sections

I see that the template does not support sections or subsections. It is really sad, because adding structure to the document is always nice. Please, consider allowing section headers defined by Quarto # signs

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.