Code: Select all
\documentclass[12pt,a4paper]{memoir}
% just in case it should be two-sided oneside,openright
% command for code
\DeclareFixedFont {\codefont}{OT1}{pcr}{m}{n}{10}
\newcommand{\code}[1]{\codefont#1\normalfont}
% the hyperref config
\usepackage{hyperref}
\hypersetup{colorlinks=true}
\usepackage{color,calc,graphicx,soul,fourier}
% the listings settings
\usepackage{listings}
\definecolor{listingbackground}{gray}{0.9}
\lstset{frameround=tttt}
\lstset{frame=tRBl}
\lstset{backgroundcolor=\color{listingbackground}}
\lstset{captionpos=b}
\lstset{basicstyle=\footnotesize}
\lstset{language=[LaTeX]TeX}
% changes in the font family
\usepackage{bookman}
\usepackage{helvet}
\renewcommand{\rmdefault}{ppl}
\renewcommand{\sfdefault}{phv}
%%%% End latex configuration
\begin{document}
\begin{itemize}
\item File uploading (POST on %\code{THIS IS SAMPLE TEXT}]
\item File downloading (GET on %\code{This is a second example})]
\item[Problem]
\end{itemize}
\end{document}