文章预览
本文目的是整理一些有趣的 LaTeX 技巧,大部分是从tex.stackexchange或者其他地方摘抄下来的,希望以后要用到的时候会方便一些。 一、Spy-Picture \ documentclass [tikz,margin=0.5cm] {standalone} \ usetikzlibrary {3d,spy} \ begin {document} \ begin {tikzpicture} [y={(1cm,-0.5cm)},x={(1cm,0.5cm)}, z={(0cm,1cm)},spy using outlines={rectangle, magnification=4, size=2cm, connect spies}] \ coordinate (O) at (1, -1 -0.5); \ draw [->] (O) -- +(0.5, 0, 0) node [right] { $x$ }; \ draw [->] (O) -- +(0, 0.5, 0) node [below] { $y$ }; \ draw [->] (O) -- +(0, 0, 0.5) node [above] { $z$ }; \ draw [fill=blue!20] (0,0,0) -- (3,0,0) -- (3,2,0) -- (0,2,0) -- cycle; \ begin {scope} [canvas is yx plane at z=0,transform shape,every node/.style={scale=0.2}] \ node [align=center] (Text) at (1,1.5) {Make me \ \ big!}; \ end {scope} \ spy [lens={xslant=-1,yslant=.5,scale=3}] on (Text) in node a
………………………………