Posts

Showing posts from January, 2022

Using Vim to write scores in LilyPond

Image
About LilyPond LilyPond is a language for producing elegant musical scores, structurally similar to LaTeX with which it can integrate to generate documents containing text and music (for the integration between LilyPond and LaTeX you can read to this article of mine .) Also in LilyPond, as in LaTeX, you can write the content with various editors. Very useful, especially to learn the syntax, is the editor called Frescobaldi . For those who have already learned the syntax, it may be useful to use the infinite potential of Emacs and Vim , In the LilyPond user manual (2.22 release) , are reported some synthetic indications for Emacs mode as well as for Vim mode . In this article I only add some technical and practical data with regard to Vim (I will dedicate a following article to Emacs). Every step have been tested on two Linux distributions: Ubuntu 21.10 and Arch. “Vim mode” item from the official LilyPond User’s Guide Here are the indications from the User’s Manual, ...

Variables in LaTeX documents exported from Emacs Org Mode

Image
The usual introduction to Emacs, Org Mode and LaTeX This is the usual introduction to Emacs, Org Mode and LaTeX: if you already know everything you can skip it. Org Mode under GNU Emacs is a very powerful tool for organizing ideas. An excellent features of this tool is its ability to directly export documents from Org Mode to LaTeX , the absolute excellence for pagination, as well as to other languages such as Markdown and HTML. When exporting to LaTeX, you can add commands in the preliminary part of the documento in Org Mode, to customize the output in the final PDF document. Variables are useful commands that allow LaTeX to automatically replace placeholders fields with names, numerical strings or any other combination of text and numbers. You can find information on this topic in my previous article . In the actual article I suggest some solutions for generating variables when exporting documents from Org Mode to LaTeX. Preamble section in Org Mode for essential...