ข้ามไปเนื้อหา

แม่แบบ:Disp right/doc

จาก วิกิตำรา

This template may be used to display equations with a label to their right.

 {{disp_right|eq|label}}

The template has two unnamed arguments, the first of which is mandatory.

  • The first argument is the equation to be displayed.
  • The second argument is the equation's label.

The first argument, the equation, is displayed centred at full width. The second argument, the label, is displayed flushed-right.

 {{disp_right|2+2<5|(''a'')}}

produces:

2+2<5 (a)


If the total length of equation plus label is too great, unintended line-breaking or overlapping may occur.