https:\/\/tex.stackexchange.com\/a\/408447<\/a><\/p>\n\u5728\u4e00\u4e2a\u9875\u9762\u7684\u4efb\u4f55\u5730\u65b9\u53e0\u52a0\u56fe\u7247\uff08\u4e0d\u5f71\u54cd\u539f\u59cb\u683c\u5f0f\uff09\u3002 <\/p>\n
\\documentclass{article}.\n\\usepackage{graphicx,tikz}\uff08\u4f7f\u7528\u5305\u88c5\uff09\u3002\n\\pagestyle{empty}}\u3002\n\\begin{document}\uff08\u5f00\u59cb\uff09\u3002\n\\mbox{}\u3002\n\\begin{tikzpicture}[overlay, remember picture]\n \\node[anchor=north west,inner sep=0pt]at ([xshift=1cm,yshift=-1cm]current page.north west) {includegraphics[width=5cm]{example-image-a};\n %only\u6765\u663e\u793a\u6570\u503c\u3002\n \\draw[red,] ([yshift=-1cm]current page.north west) --++ (1,0) node[midway,bove]{1cm};\n \\draw[red,] ([xshift=1cm]current page.north west) --++ (0,-1) node[midway,right] {1cm};\n \\draw[red,] ([xshift=1cm,yshift=-3cm]current page.north west) --++ (5,0) node[midway,bove]{5cm};\n \\end{tikzpicture}.\n\\end{document}.<\/code><\/pre>\n
<\/p>","protected":false},"excerpt":{"rendered":"
\u8f6c\u8f7d\u81eahttps:\/\/tex.stackexchange.com\/a\/408447 \u5728\u9875\u9762\u7684\u4efb\u4f55\u5730\u65b9\u53e0\u52a0\u56fe\u7247\uff08\u4e0d\u5f71\u54cd\u539f\u59cb\u683c\u5f0f\uff09\u3002\\documentclass{article}\uff08\u6587\u4ef6\u7c7b\uff09\u3002\\\u53e0\u52a0\u56fe\u7247\uff1ausepackage{graphicx,tikz}\u3002\\pagestyle{empty}\u3002\\begin{document}\uff08\u5f00\u59cb\uff09\u3002\\mbox{}\u3002\\begin{tikzpicture}[overlay,remember picture] \/node[anchor=north west,inner sep=0pt]at ([xshift=1cm,yshift=-1cm]current page.north west) {includegraphics[width=5cm]{example-image-a}}; %only to show the values:\\\u7ed8\u5236[\u7ea2\u8272,] ([yshift=-1cm]\u5f53\u524d\u9875.\u5317\u897f) -++ (1,0) \u8282\u70b9[midway,bove]{1cm}; \u7ed8\u5236[\u7ea2\u8272,] ([xshift=1cm]\u5f53\u524d\u9875.\u5317\u897f) -++ (0,-1) \u8282\u70b9[midway, right]{1cm}; \u7ed8\u5236[\u7ea2\u8272,] ([xshift=1cm, yshift=-3cm]\u5f53\u524d\u9875.\u5317\u897f) -++ (5,0) ... <\/p>\n
\u9605\u8bfb\u66f4\u591a \"\u5728Latex\u7684\u4efb\u4f55\u5730\u65b9\u53e0\u52a0\u56fe\u7247\"<\/span><\/a><\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[26,27],"tags":[45,46],"featured_media_urls":[],"_links":{"self":[{"href":"https:\/\/www.highsund.com\/zh\/wp-json\/wp\/v2\/posts\/1207"}],"collection":[{"href":"https:\/\/www.highsund.com\/zh\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.highsund.com\/zh\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.highsund.com\/zh\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.highsund.com\/zh\/wp-json\/wp\/v2\/comments?post=1207"}],"version-history":[{"count":0,"href":"https:\/\/www.highsund.com\/zh\/wp-json\/wp\/v2\/posts\/1207\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.highsund.com\/zh\/wp-json\/wp\/v2\/media?parent=1207"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.highsund.com\/zh\/wp-json\/wp\/v2\/categories?post=1207"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.highsund.com\/zh\/wp-json\/wp\/v2\/tags?post=1207"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}