0

I am trying to include note inside the text as shown in the attached imageenter image description here I tried with the following command

\begin{quote}
\begin{minipage}{\linewidth}
\textbf{Note} Sometimes hypotheses term is used to refer to both algorithms and hypotheses.
\end{minipage}
\end{quote}

It is working but I am unable to get as exact as shown in the image. How can I resolve the issue.

1

You may want to use the framed package. I modified this and got with something similar to what you want as below:

enter image description here

\documentclass{article}
\usepackage[dvipsnames]{xcolor} %frame color
\usepackage{framed} % for defining framed environment
\newenvironment{formal}{
    \def\FrameCommand{{\color{YellowOrange}\vrule width 2pt}\hspace{2pt}}
    \MakeFramed{\advance\hsize-\width}
    \vspace{2pt}\noindent\hspace{-7pt}\vspace{3pt}
    }{\vspace{3pt}\endMakeFramed}
\begin{document}
\begin{formal}
{\bf Note}

Sometimes hypotheses term is used to refer to both algorithms and 
hypotheses.
\end{formal}
\end{document}

I have no ideas if there's already a package producing the quotation style you want.

  • Thank you for your help, Yes it is working now. – sunil patil Jun 12 '17 at 15:46

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.