0

A normal line within the overpic environment can be placed with:

\put( 122.00,  82.00) {\color{blue} \line(1,0){ 23}}

Is there a way to draw - - dashed/dotted lines with overpic?

Research:

The documentation isn't that good for referencing

3kstc
  • 931
  • 6
  • 22
  • \put(coordinates){\tikz \drawdashed,blue--(end);} – Colo Oct 06 '20 at 08:28
  • Without supplementary packages you could use \multiput: MWE: \documentclass{standalone} \begin{document} \begin{picture}(10,0.1) \multiput(0.25,0)(0.5,0){20}{\line(0,0){0.1}} \end{picture} \end{document} But if there is nothing against it I would also use tikz. – Nico Oct 06 '20 at 09:25
  • @Colo could you give an example with values placed inside the placeholders? – 3kstc Oct 06 '20 at 09:29
  • 2
    @3kstc
     `\begin{overpic}{example-image-c}\put(20,30){\tikz \draw[dashed,red] (0,0)--(5,3);}\end{overpic}`
    
    – Colo Oct 06 '20 at 14:24

0 Answers0