Liang Tingnan (Chinese: 梁廷枏; pinyin: Liáng Tíngnán; 1796–1861), courtesy name Zhangran (Chinese: 章冉; pinyin: Zhāngrǎn),[1] was a Chinese scholar and writer. A native of Guangdong, he compiled an index on coastal defence in the region and advised numerous state officials. He later led a number of schools and academies. In addition to being a prolific playwright and poet, Liang also wrote extensively on foreign affairs and Chinese history.