阿卡乐谱语法
3 3_5_ (6_1u_) 1u_6_ |
#[0]好一朵美 丽的
5 (5_6_) 5 - |
#[1]茉莉 花
3 3_5_ (6_1u_) 1u_6_ |
#[2]好一朵美 丽的
5 (5_6_) 5 - |
#[3]茉莉 花
5 5 5 (3_5_) |
#[4]芬芳美丽
6 (6_5_) 5 - |
#[5]满枝 桠
3 (2_3_) 5 (3_2_) |
#[6]又香 又白
1 (1_2_) 1 - |
#[7]人人 夸
(3_2_) (1_3_) 2. 3_ |
#[8]让 我 来将
5 (6_1u_) 5 - |
#[9]你摘 下
2 (3_5_) (2_3_) (1_6d_) |
#[10]送给 别 人
5d - 6d (6d_1_) |
#[11]家茉莉
2. 3_ (1_2_) (1_6d_) |
#[12]花呀茉 莉
[1. 5d - - - ] :||
#[13]花
[2. 5d - 6d (6d_1_) |
#[14]花呀茉莉
2. 3_ (1_2_) (1_6d_) |
#[15]花呀茉 莉
5d - - - ] _||
#[16]花
Latex语法
通过阿卡乐谱语法生成的latex语法
需要先安装专用字体akfonts.ttf。
使用重直盒子进行拼装,实现基本的自动排版。
\documentclass{article}
\usepackage[top=2cm, bottom=2cm, left=2cm, right=2cm]{geometry}
\usepackage{ctex}
\usepackage{float}
\usepackage{arydshln}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{fontspec}
\newcommand{\akfonts}{\fontspec{akfonts.ttf}}
\begin{document}
\title{阿卡简谱}
\author{阿卡}
% QQ交流群: 263600549(阿卡乐谱)
\maketitle
\section{简谱}
% ------------------------------------------------
% star of [标题部分]
\begin{center}
\zihao{2}{\textbf{茉莉花}}
\zihao{5}
\begin{tabular}{lp{10em}cp{10em}r}
1= {\rm E} \zihao{3}{$\frac{4}{4}$} & \ & 江苏民歌 & \ & 江苏民歌 词曲 \\
♩=100
\end{tabular}
\end{center}
% end of [标题部分]
% ------------------------------------------------
% ------------------------------------------------
% start of [ 乐谱部分]
\zihao{5}
\begin{flushleft}
\begin{akfonts}
\parbox[t]{1em}{ \Large{l3l} \footnotesize{好} }
\parbox[t]{1em}{ \Large{l3\_l\_} \footnotesize{一} }
\parbox[t]{1em}{ \Large{l\_5\_l} \footnotesize{朵} }
\parbox[t]{1em}{ \Large{l6\_Ul\_} \footnotesize{美} }
\parbox[t]{1em}{ \Large{l\_I1'\_Pl} \footnotesize{\char"3000} }
\parbox[t]{1em}{ \Large{l1'\_l\_} \footnotesize{丽} }
\parbox[t]{1em}{ \Large{l\_6\_l} \footnotesize{的} }
\parbox[t]{1em}{ | } % end of 第【0】小节
\parbox[t]{1em}{ \Large{l5l} \footnotesize{茉} }
\parbox[t]{1em}{ \Large{l5\_Ul\_} \footnotesize{莉} }
\parbox[t]{1em}{ \Large{l\_I6\_Pl} \footnotesize{\char"3000} }
\parbox[t]{1em}{ \Large{l5} \footnotesize{花} }
\parbox[t]{1em}{\Large{l-l} \footnotesize{\char"3000}}
\parbox[t]{1em}{ | } % end of 第【1】小节
\parbox[t]{1em}{ \Large{l3l} \footnotesize{好} }
\parbox[t]{1em}{ \Large{l3\_l\_} \footnotesize{一} }
\parbox[t]{1em}{ \Large{l\_5\_l} \footnotesize{朵} }
\parbox[t]{1em}{ \Large{l6\_Ul\_} \footnotesize{美} }
\parbox[t]{1em}{ \Large{l\_I1'\_Pl} \footnotesize{\char"3000} }
\parbox[t]{1em}{ \Large{l1'\_l\_} \footnotesize{丽} }
\parbox[t]{1em}{ \Large{l\_6\_l} \footnotesize{的} }
\parbox[t]{1em}{ | } % end of 第【2】小节
\parbox[t]{1em}{ \Large{l5l} \footnotesize{茉} }
\parbox[t]{1em}{ \Large{l5\_Ul\_} \footnotesize{莉} }
\parbox[t]{1em}{ \Large{l\_I6\_Pl} \footnotesize{\char"3000} }
\parbox[t]{1em}{ \Large{l5} \footnotesize{花} }
\parbox[t]{1em}{\Large{l-l} \footnotesize{\char"3000}}
\parbox[t]{1em}{ | } % end of 第【3】小节
\parbox[t]{1em}{ \Large{l5l} \footnotesize{芬} }
\parbox[t]{1em}{ \Large{l5l} \footnotesize{芳} }
\parbox[t]{1em}{ \Large{l5l} \footnotesize{美} }
\parbox[t]{1em}{ \Large{l3\_Ul\_} \footnotesize{丽} }
\parbox[t]{1em}{ \Large{l\_I5\_Pl} \footnotesize{\char"3000} }
\parbox[t]{1em}{ | } % end of 第【4】小节
\parbox[t]{1em}{ \Large{l6l} \footnotesize{满} }
\parbox[t]{1em}{ \Large{l6\_Ul\_} \footnotesize{枝} }
\parbox[t]{1em}{ \Large{l\_I5\_Pl} \footnotesize{\char"3000} }
\parbox[t]{1em}{ \Large{l5} \footnotesize{桠} }
\parbox[t]{1em}{\Large{l-l} \footnotesize{\char"3000}}
\parbox[t]{1em}{ | } % end of 第【5】小节
\parbox[t]{1em}{ \Large{l3l} \footnotesize{又} }
\parbox[t]{1em}{ \Large{l2\_Ul\_} \footnotesize{香} }
\parbox[t]{1em}{ \Large{l\_I3\_Pl} \footnotesize{\char"3000} }
\parbox[t]{1em}{ \Large{l5l} \footnotesize{又} }
\parbox[t]{1em}{ \Large{l3\_Ul\_} \footnotesize{白} }
\parbox[t]{1em}{ \Large{l\_I2\_Pl} \footnotesize{\char"3000} }
\parbox[t]{1em}{ | } % end of 第【6】小节
\parbox[t]{1em}{ \Large{l1l} \footnotesize{人} }
\parbox[t]{1em}{ \Large{l1\_Ul\_} \footnotesize{人} }
\parbox[t]{1em}{ \Large{l\_I2\_Pl} \footnotesize{\char"3000} }
\parbox[t]{1em}{ \Large{l1} \footnotesize{夸} }
\parbox[t]{1em}{\Large{l-l} \footnotesize{\char"3000}}
\parbox[t]{1em}{ | } % end of 第【7】小节
\parbox[t]{1em}{ \Large{l3\_Ul\_} \footnotesize{让} }
\parbox[t]{1em}{ \Large{l\_I2\_Pl} \footnotesize{\char"3000} }
\parbox[t]{1em}{ \Large{l1\_Ul\_} \footnotesize{我} }
\parbox[t]{1em}{ \Large{l\_I3\_Pl} \footnotesize{\char"3000} }
\parbox[t]{1em}{ \Large{l2.l} \footnotesize{来 } }
\parbox[t]{1em}{ \Large{l3\_l} \footnotesize{将} }
\parbox[t]{1em}{ | } % end of 第【8】小节
\parbox[t]{1em}{ \Large{l5l} \footnotesize{你} }
\parbox[t]{1em}{ \Large{l6\_Ul\_} \footnotesize{摘} }
\parbox[t]{1em}{ \Large{l\_I1'\_Pl} \footnotesize{\char"3000} }
\parbox[t]{1em}{ \Large{l5} \footnotesize{下} }
\parbox[t]{1em}{\Large{l-l} \footnotesize{\char"3000}}
\parbox[t]{1em}{ | } % end of 第【9】小节
\parbox[t]{1em}{ \Large{l2l} \footnotesize{送} }
\parbox[t]{1em}{ \Large{l3\_Jl\_} \footnotesize{给} }
\parbox[t]{1em}{ \Large{l\_K5\_:l} \footnotesize{\char"3000} }
\parbox[t]{1em}{ \Large{l2\_Jl\_} \footnotesize{别} }
\parbox[t]{1em}{ \Large{l\_K3\_:l} \footnotesize{\char"3000} }
\parbox[t]{1em}{ \Large{l1\_Jl\_} \footnotesize{人} }
\parbox[t]{1em}{ \Large{l\_K6w:l} \footnotesize{\char"3000} }
\parbox[t]{1em}{ | } % end of 第【10】小节
\parbox[t]{1em}{ \Large{l5q} \footnotesize{家} }
\parbox[t]{1em}{\Large{l-l} \footnotesize{\char"3000}}
\parbox[t]{1em}{ \Large{l6ql} \footnotesize{茉} }
\parbox[t]{1em}{ \Large{l6wJl\_} \footnotesize{莉} }
\parbox[t]{1em}{ \Large{l\_K1\_:l} \footnotesize{\char"3000} }
\parbox[t]{1em}{ | } % end of 第【11】小节
\parbox[t]{1em}{ \Large{l2.l} \footnotesize{花 } }
\parbox[t]{1em}{ \Large{l3\_l} \footnotesize{呀} }
\parbox[t]{1em}{ \Large{l1\_Jl\_} \footnotesize{茉} }
\parbox[t]{1em}{ \Large{l\_K2\_:l} \footnotesize{\char"3000} }
\parbox[t]{1em}{ \Large{l1\_Jl\_} \footnotesize{莉} }
\parbox[t]{1em}{ \Large{l\_K6w:l} \footnotesize{\char"3000} }
\parbox[t]{1em}{ |Z! } % end of 第【12】小节
\parbox[t]{1em}{ \Large{l5q} \footnotesize{花} }
\parbox[t]{1em}{\Large{l-l} \footnotesize{\char"3000}}
\parbox[t]{1em}{\Large{l-l} \footnotesize{\char"3000}}
\parbox[t]{1em}{\Large{l-l} \footnotesize{\char"3000}}
\parbox[t]{1em}{ C]Z@ } % end of 第【13】小节
\parbox[t]{1em}{ \Large{l5q} \footnotesize{花} }
\parbox[t]{1em}{\Large{l-l} \footnotesize{\char"3000}}
\parbox[t]{1em}{ \Large{l6ql} \footnotesize{呀} }
\parbox[t]{1em}{ \Large{l6wJl\_} \footnotesize{茉} }
\parbox[t]{1em}{ \Large{l\_K1\_:l} \footnotesize{莉} }
\parbox[t]{1em}{ | } % end of 第【14】小节
\parbox[t]{1em}{ \Large{l2.l} \footnotesize{花 } }
\parbox[t]{1em}{ \Large{l3\_l} \footnotesize{呀} }
\parbox[t]{1em}{ \Large{l1\_Jl\_} \footnotesize{茉} }
\parbox[t]{1em}{ \Large{l\_K2\_:l} \footnotesize{\char"3000} }
\parbox[t]{1em}{ \Large{l1\_Jl\_} \footnotesize{莉} }
\parbox[t]{1em}{ \Large{l\_K6w:l} \footnotesize{\char"3000} }
\parbox[t]{1em}{ | } % end of 第【15】小节
\parbox[t]{1em}{ \Large{l5q} \footnotesize{花} }
\parbox[t]{1em}{\Large{l-l} \footnotesize{\char"3000}}
\parbox[t]{1em}{\Large{l-l} \footnotesize{\char"3000}}
\parbox[t]{1em}{\Large{l-l} \footnotesize{\char"3000}}
\parbox[t]{1em}{ C+ } % end of 第【16】小节
\
\end{akfonts}
% end of [乐谱部分]
% ------------------------------------------------
\end{flushleft}
\end{document}