1

I'm sorry I did not write MWE but I do not know how to do it in any way. I think it will be easy with pgf.

enter image description here

I just want to do the red parts. I am leading this problem to friends who can do this.

My try

\newcommand*\delete[1]{%
\tikz[baseline=(foo.base)] \draw node [append after command={(foo)node [above right=-.1]  {$\sim$}},draw,ellipse,thick,fill=white,inner sep=1pt,] (foo){$\displaystyle#1$};}
  • are you aware of pdfcomment? – user121799 Nov 23 '17 at 15:44
  • @marmot, yes I know. Not a solution to the my problem. – Özgür Nov 23 '17 at 15:58
  • 1
    Using an image editor (e.g. Gimp) will probably be easier. – Torbjørn T. Nov 23 '17 at 16:35
  • related: tex.stackexchange.com/questions/65740/… – David Purton Nov 25 '17 at 6:40
  • What's Turkish got to do with these marks? You can basically ask how to draw those squiggly lines right? – percusse Dec 4 '17 at 16:47
3

Here is a possible solution. You can adjust the delete mark however you see fit by adjusting the coordinates, thickness or looseness in the \draw command.

enter image description here

Here's the code:

\documentclass{article}
\usepackage{tikz}

\newlength{\wordlen}

\newcommand{\delete}[1]{%
    \settowidth{\wordlen}{#1}\hspace{.5\wordlen}\tikz[anchor=base,baseline, overlay]{%
    \node[inner sep=1,circle,very thick,draw=red](word){#1};%
    \draw[very thick,red,overlay](word)to[out=20,in=-90](.5,.4)to[out=90,in=90](.4,.4)to[out=-90,in=-150](.8,.4);}%
    \hspace{.5\wordlen}}

\begin{document}
Here is a sentence with no meaningful content.
Here is another sentence with no meaningful content. 
Here is one more sentence with no \delete{no} meaningful content.
\end{document}
2

With percusse's help (see comments), the left mark is easy.

\documentclass[tikz,border=2mm]{standalone} 
\usetikzlibrary{positioning}

\begin{document}
\begin{tikzpicture}
\node (A) {\includegraphics{hKBg1}};
\fill[white] ([shift={(1.5,0.5)}]A.south west) rectangle ([shift={(4,1.6)}]A.south west);

\draw[red,ultra thick]
([shift={(1.5,0.5)}]A.south west)
..controls +(90pt,65pt) and +(-95pt,-25pt) .. ++(60pt,25pt);
\end{tikzpicture}
\end{document}

enter image description here

  • 1
    I think the OP wants to draw the proofreader's marks on text, not cover them up in a picture... Consider his example syntax: \delete{it} should draw a red circle around it and then draw the delete proofreader's mark. – David Purton Nov 25 '17 at 6:22
  • Actually, maybe I misunderstand too, since he has already asked and received an answer here: tex.stackexchange.com/questions/402937/… – David Purton Nov 25 '17 at 6:46
  • @DavidPurton, just like you wrote. – Özgür Dec 4 '17 at 15:41
  • 1
    @Özgür Are you looking for something like this ? \tikz{ \draw[red, thick] (70pt,20pt) ..controls (250pt,150pt) and (0pt,20pt) .. (190pt,70pt);} – percusse Dec 4 '17 at 16:32
  • @percusse I think I should delete my answer because I compltetly misunderstood the question. Will your comment be affected by this deletion? Could Özgür still read it? – Ignasi Dec 4 '17 at 16:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.