[ < ] [ > ]   [ << ] [ 上 ] [ >> ]         [首页] [目录] [索引] [ ? ]

小例子

@translationof Tiny examples

什么是 “小例子”?

一个小例子 (tiny example) is an example from which nothing can be removed.

为什么要创建小例子?

如何创建小例子?

How tiny should they be?

Is the code below a minimal example?

 
\version "2.14.1"
\include "english.ly"

\score {
  \new Staff {
    \key d \major
    \numericTimeSignature
    \time 2/4
    <cs' d'' b''>16 <cs' d'' b''>8.
    %% Here: the tie on the D's looks funny
    %% Too tall? Left-hand endpoint is not aligned with the B tie?
    ~
    <cs' d'' b''>8 [ <b d'' a''> ]
  }
}

Well, it is not very big, but a truly minimal example is here:

 
\version "2.14.1"
{
  % middle tie looks funny here:
  <c' d'' b''>8. ~ <c' d'' b''>8
}

Very few tiny examples exceed 10 lines of code - quite often 4 lines are enough to demonstrate the problem!


[ < ] [ > ]   [ << ] [ 上 ] [ >> ]

This document was generated by gub on 7 月 13, 2020 using texi2html 1.82.

其他语言:English, català, česky, deutsch, español, français, magyar, italiano, 日本語, nederlands, Português。
关于 自动语言选择