【问题标题】:How to put a tikzpicture shapes in specific positionHow to put a tikzpicture shapes in specific position
【发布时间】:2022-12-02 03:48:36
【问题描述】:

My question is how we can put a tikzpicture shapes in specific position in latex slides? I mean I do not want to change the position of texts in slide but draw a shape in a specific position. (like powerpoint)

【问题讨论】:

    标签: latex beamer


    【解决方案1】:

    If you use the overlay option, your tikz picture won't influence the rest of the text:

    documentclass[aspectratio=169]{beamer}
    
    usepackage{tikzlings}
    
    % trick taken from https://topanswers.xyz/tex?q=1989
    	ikzset{
        use page relative coordinates/.style={
            shift={(current page.south west)},
            x={(current page.south east)},
            y={(current page.north west)}
        },
    }
    
    egin{document}
        
    egin{frame}
      some text, does not change position
      
      egin{tikzpicture}[remember picture, overlay,use page relative coordinates]
        ill[red] (0.7,0.3) circle [radius=0.5cm];
      end{tikzpicture}%
    
    end{frame} 
        
    end{document}
    

    【讨论】:

      猜你喜欢
      • 2022-11-09
      • 2022-08-27
      • 2022-12-26
      • 2022-12-02
      • 2022-12-01
      • 2022-12-01
      • 1970-01-01
      • 2022-12-26
      • 2022-12-02
      相关资源
      最近更新 更多