sample code write myself from learn latex in 90min