可以通过lilypond-book命令将LilyPond注释雕刻机与LaTeX一起使用。首先,我们创建一个LaTeX文档(文件扩展名为.lytex),将我们的音乐嵌入到:
\documentclass[letterpaper,12pt]{article} \begin{document} \begin{center} {\fontsize{24pt}{24pt}\textbf{Twa Corbies}}\\ \end{center} \begin{flushright} \textsc{Your Name} \end{flushright} % We don't need to require anything for this because lilypond-book will process it. \lilypondfile{TwaCorbies.ly} \end{document}
然后,我们创建我们的LilyPond文件(.ly),包括lilypond-book-preamble.ly文件(LilyPond将知道如何查找):
\version "2.16.2" \include "lilypond-book-preamble.ly" voice = << \relative c' { \tempo "con affetto" \clef bass \key e \minor \time 3/4 a a b | c a a | g a2 | a4 a b | c2 ~ c8 a8 | a8 g a2 | \bar "|." } \addlyrics{ As I was wal -- king all a -- lane I heard twa cor -- bies make a mane. } >> \score { << \new Staff = "voice" { \voice } >> \layout { } \midi { \context { \Score tempoWholesPerMinute = #(ly:make-moment 90 4) } } }
要构建,我们然后运行lilypond-book命令:
lilypond-book --include=mymusicsourcedirectory/ --pdf TwaCorbies.lytex
它将输出包含您的LilyPond雕刻音乐的PDF:
部署 LaTeX 安装 texlive-core 新建 a.tex 文件,内容如下: \documentclass[11pt,a4paper]{article} %加入了一些针对XeTeX的改进并且加入了 \XeTeX 命令来输入漂亮的XeTeX logo \usepackage{xltxtra} %启用一些LaTeX中的功能 \usepackage{xunicode} %%%% fontspe
LaTeX(LATEX,音译“拉泰赫”)是一种基于TeX的排版系统。 LaTeX通过CTAN服务器发布,或作为TeX用户组(TUG)或第三方提供的许多易于安装和可用的TeX发布版本的一部分。如果您遇到问题,请访问帮助部分。 LaTeX本身并不是一个独立的排版程序,而是运行在Donald E. Knuth的TeX排版系统之上的文档准备软件。TeX发行版通常会将工作中的TeX系统所需的所有部件捆绑在一
Vim + LaTeX snippets setup How I'm able to take notes in mathematics lectures using LaTeX and Vim Vim configuration Copy tex.snippets to ~/.vim/UltiSnips/ and assuming you're using Vim Plug, add the f
latex-action GitHub Action to compile LaTeX documents. This actions runs on docker using a maximal TeXLive environment installed. Inputs root_file The root LaTeX file to be compiled. This input is req
PDF 下载: 放映版 阅读版 Copyright (C) 2018–2021 by Xiangdong Zeng.
Warning — looking for a maintainer This extension is no longer maintained. I'm sorry, it's not you, it's me. I still love this functionality, I've just moved to a different editor to get it.I don't wa