people!
I'm having some trouble to make a thing in LaTeX. I want to use math's font in my document like I show in the next image:
But I want to use DejaVu Sans Mono as my monospace default font (because I like a lot and use it everywhere I can). But when I put this in the preamble:
\usepackage{mathpazo,euler}
\linespread{1.05}
\usepackage{DejaVuSansMono}
It doesn't do anything but put the math font (which is the fist thing) and not DejaVu Sans Mono. Then I looked for at Google and found this:
\usepackage{dejavu}
\usepackage[T1]{fontenc}
But it loads every DejaVu font for the document. I'm trying to use this with the Listings' package.
I have installed DejaVu font (every kind of) in all my computers. Actually I'm doing this document in Windows with TeXMaker+MikTex.
Example:
\documentclass[10pt,a4paper,final]{article}
\usepackage[utf8]{inputenc}
\usepackage[spanish]{babel}
\usepackage{amsmath,mathtools,stackengine,amsfonts,amssymb,geometry,graphicx}
\usepackage{listings}
\usepackage{geometry}
\geometry{
a4paper,
height=24cm,
width=17cm,
top=3cm,
headheight=1.7cm,
headsep=1.5cm,
footskip=1cm,
}
\usepackage{mathpazo,euler}
\linespread{1.05}
\usepackage{DejaVuSansMono}
%\usepackage{dejavu}
%\usepackage[T1]{fontenc}
\newlength\tindent
\setlength{\tindent}{\parindent}
\setlength{\parindent}{0pt}
\renewcommand{\indent}{\hspace*{\tindent}}
\begin{document}
Se utiliza un valor \lstinline!boolean! para poder tener en cuenta uno u otro apartado.
\end{document}