latex 裁剪图片

参考资料:  https://tex.stackexchange.com/questions/57418/crop-an-inserted-image

 

 

 1 \documentclass{article}
 2 
 3 \usepackage{graphicx}
 4 
 5 \begin{document}
 6 % trim from left edge
 7 \includegraphics[trim={5cm 0 0 0},clip]{example-image-a}
 8 % trim from right edge
 9 \includegraphics[trim={0 0 5cm 0},clip]{example-image-a}
10 \end{document}

 

使用 trim 选项

1  trim={<left> <lower> <right> <upper>}

 

posted @ 2018-09-11 16:47  cofludy  阅读(1404)  评论(0编辑  收藏  举报