| 894 | /************************************ UnderOverAtom implementation *******************************/ |
| 895 | |
| 896 | sptr<Box> UnderOverAtom::changeWidth(const sptr<Box>& b, float maxW) { |
| 897 | if (b != nullptr && abs(maxW - b->_width) > PREC) |
| 898 | return sptr<Box>(new HorizontalBox(b, maxW, ALIGN_CENTER)); |
| 899 | return b; |
| 900 | } |
| 901 | |
| 902 | sptr<Box> UnderOverAtom::createBox(_out_ TeXEnvironment& env) { |
| 903 | // create boxes in right style and calculate maximum width |
nothing calls this directly
no outgoing calls
no test coverage detected