tctcab https://stackoverflow.com/questions/54100806/r-markdown-how-do-i-make-text-float-around-figures 有办法 html的话 chunk option加个 out.extra='style="float:right; padding:10px"' pdf的话看上面的答案