6

There are symbols for a magnifying glass in LaTeX but I want something like this:

enter image description here

How can I achieve this?

  • 1
    See for iinstance the stackinset command (stackengine package). – Bernard Nov 10 '19 at 19:09
8

You can use the tikz machinery.

enter image description here

\documentclass[border=3pt]{standalone}

\usepackage{tikz}
    \usetikzlibrary{calc}

\begin{document}
\begin{tikzpicture}
% \node[draw,line width=2pt,circle,inner sep=2pt] (A) at (0,0) {$-$};
\node[draw,line width=2pt,circle,inner sep=2pt] (A) at (0,0) {$+$};
\draw[line width=2pt] ($(A.225)+(.5\pgflinewidth,.5\pgflinewidth)$) -- ++(-1em,-1em);
\end{tikzpicture}
\end{document}
| improve this answer | |
14

I use instead fontawesome5 package of Marcel Kruger of the June 7, 2019 (the lens grip should be different from fontawesome with the command \reflectbox to obtain the very similar image of the user @Sr. Schneider.

enter image description here

\documentclass[a4paper,12pt]{article}
\usepackage{fontawesome5}
\usepackage{graphicx}
\newcommand{\faSearchPluss}{\reflectbox{\faSearchPlus}}
\newcommand{\faSearchMinuss}{\reflectbox{\faSearchMinus}}
\begin{document}
\faSearchPluss, \faSearchMinuss
\end{document}
| improve this answer | |
11

Finally found it in the fontawesome package: \faSearchPlus and \faSearchMinus.

enter image description here

| improve this answer | |
  • 3
    No no, please. I not want the green check mark. It is correct that the green tick is Marian's, the first one you gave. Just for the honesty. – Sebastiano Nov 11 '19 at 11:51

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.