2

I would like to Customizing lists itemize and title of theorem to looks like that :

enter image description here

as usual in order to Switch chip, size and color for itemize i use

  • \usepackage{pifont} or we can use Math mode

Hhere is an example of changing item bullet using pifont :

 \documentclass{article}
\usepackage[utf8]{inputenc}
 \usepackage[T1]{fontenc}
\usepackage[upright]{fourier}
\usepackage{amsthm,amsmath,amssymb}
\usepackage{xcolor}
\usepackage{enumitem}
\usepackage{pifont}
\usepackage{lipsum}
 \usepackage{ntheorem}
\theoremstyle{break}

\newtheorem{focus}{{\Large \ding{46}}\ \textbf{Focus}}

\begin{document}

\begin{focus}
On donne ici les deux méthodes les plus courantes pour définir une suite.
\begin{description}
\item[(1)] \underline{Suite définie par une formule explicite qui dépend de $n: n=f(n)$}
\end{description}
On considère la suite de terme général $u_n=\dfrac{1}{n^2+1}$
\begin{itemize}[font=\color{blue} \Large, label=\ding{46}]
\item glasses in the leftside of the First item ;
\item glasses in the leftside of the second item ;
\item glasses in the leftside of the third item.
\end{itemize}
\end{focus}

\end{document}

Output: enter image description here but what i really want is something like that :

enter image description here

  • Does someone know any font that has this symbol. if not could you help me to draw it with tikz
  • I am not quite sure what you are asking here. It seems you are surprised that you get a picture of a pencil, when you think you are asking for a pair of glasses. The table clearly doesn't list a pair of glasses. How are the math symbols relevant? are you looking for a pair of glasses as a font-symbol? Might have a look at this post: tex.stackexchange.com/questions/250511/… – Runar Dec 29 '15 at 20:21
  • i'm not surprised i know that s pencil. btw if possible i would like to have Pair of glasses as a symbol like the picture that i posted – Educ Dec 29 '15 at 20:30
  • @Educ: If the unicode character in the link by runartrollet does not work: I don't know any font that has this symbol. You have to use an image, most likely or draw it with tikz – user31729 Dec 29 '15 at 20:32
  • 2
    The package bclogo has an eye. – Thérèse Dec 29 '15 at 22:17
  • 1
    @Thérèse: I saw that too, but I find that eye-symbol quite scary ;-) – user31729 Dec 29 '15 at 22:32
5

Here's a version with \includegraphics, using the glasses image of HeYo, but of course, this will not change the colour!

\documentclass{article}
\usepackage{graphicx}
\usepackage{enumitem}

\newcommand{\myfile}{%
\includegraphics[scale=0.05]{gozluk1-2400px}
}
\begin{document}
\begin{itemize}[label={\myfile}]
  \item A one
    \item A two
      \item A three
\end{itemize}
\end{document}

enter image description here

Update

\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[upright]{fourier}
\usepackage{microtype}
\DisableLigatures{}

%\usepackage{amsthm}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{xcolor}
\usepackage{enumitem}
\usepackage{pifont}
\usepackage{lipsum}
\usepackage{graphicx}
\usepackage{ntheorem}

\theoremstyle{break}

\newcommand{\myfile}[1][0.05]{%
  \includegraphics[scale=#1]{gozluk1-2400px}%
}


\newtheorem{focus}{\Large \raisebox{-0.2\baselineskip}{\mbox{\myfile[0.1]}} \textbf{Focus}}

\begin{document}

\begin{focus}
On donne ici les deux méthodes les plus courantes pour définir une suite.
\begin{description}
\item[(1)] \underline{Suite définie par une formule explicite qui dépend de $n: n=f(n)$}
\end{description}
On considère la suite de terme général $u_n=\dfrac{1}{n^2+1}$
\begin{itemize}[font=\color{blue} \Large, label={\raisebox{-0.15\baselineskip}{\myfile[0.06]}}]
\item glasses in the leftside of the First item ;
\item glasses in the leftside of the second item ;
\item glasses in the leftside of the third item.
\end{itemize}
\end{focus}

\end{document}

enter image description here

Next update

Use the \faBinokulars symbol from fontawesome -- it's not eyeglasses, but 'similar'

\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[upright]{fourier}
\usepackage{microtype}
\DisableLigatures{}

\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{xcolor}
\usepackage{enumitem}
\usepackage{lipsum}
\usepackage{graphicx}
\usepackage{fontawesome}
\usepackage{ntheorem}

\theoremstyle{break}


\newtheorem{focus}{\raisebox{0.2ex}{\faBinoculars}\ \Large\textbf{Focus}}

\begin{document}

\begin{focus}
On donne ici les deux méthodes les plus courantes pour définir une suite.
\begin{description}
\item[(1)] \underline{Suite définie par une formule explicite qui dépend de $n: n=f(n)$}
\end{description}
On considère la suite de terme général $u_n=\dfrac{1}{n^2+1}$
\begin{itemize}[font=\color{blue}, label={\faBinoculars}]
\item glasses in the leftside of the First item ;
\item glasses in the leftside of the second item ;
\item glasses in the leftside of the third item.
\end{itemize}
\end{focus}

\end{document}

enter image description here

  • @Educ: See the update please. – user31729 Dec 29 '15 at 20:56
  • 1
    The glasses image should be shifted down for the item bullets too, in my point of view – user31729 Dec 29 '15 at 20:58
  • 1
    @Educ: I've updated with a glasses - like symbol – user31729 Dec 29 '15 at 21:30
  • 1
    @Educ: It's always possible to add an answer as an alternative (unless the question isn't closed for whatever reasons) – user31729 Dec 29 '15 at 22:23
  • 1
    Ich bin Ihnen sehr dankbar für what you did . – Educ Dec 29 '15 at 22:24

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.