In the Records of the Grand Historian, Liu Bang, the founder of the Han dynasty, speaks of his strategist. “In devising strategy within the tent and deciding victory a thousand li away, I am not the equal of Zifang,” he says. Zifang was Zhang Liang.
The idiom yunchou weiwo, to devise strategy in the tent, now means to plan and direct.