ผลต่างระหว่างรุ่นของ "แม่แบบ:Disp right/doc"
เนื้อหาที่ลบ เนื้อหาที่เพิ่ม
Tiemianwusi (คุย | ส่วนร่วม) หน้าที่ถูกสร้างด้วย '__NOTOC__ This template may be used to display equations with a label to their right. ==Usage== <nowiki>{{disp_right|eq|label}}</no...' |
ลไม่มีความย่อการแก้ไข |
||
บรรทัดที่ 30: | บรรทัดที่ 30: | ||
* [[Template:textdisp_right]] |
* [[Template:textdisp_right]] |
||
[[หมวดหมู่:แม่แบบ |
[[หมวดหมู่:แม่แบบ]] |
รุ่นแก้ไขปัจจุบันเมื่อ 20:31, 24 มกราคม 2562
This template may be used to display equations with a label to their right.
Usage[แก้ไขต้นฉบับ]
{{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.
Effects[แก้ไขต้นฉบับ]
The first argument, the equation, is displayed centred at full width. The second argument, the label, is displayed flushed-right.
Example[แก้ไขต้นฉบับ]
{{disp_right|2+2<5|(''a'')}}
produces:
2+2<5 | (a) |
Limitations[แก้ไขต้นฉบับ]
If the total length of equation plus label is too great, unintended line-breaking or overlapping may occur.