Text Formattingmemoir | Itemized List misaligned

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
spartanguy07
Posts: 10
Joined: Wed Feb 08, 2012 7:29 pm

memoir | Itemized List misaligned

Post by spartanguy07 »

I can reproduce the Metric (TFM) error with the following:

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}
If you could explain what is causing the error in this section I would appreciate it, so I can avoid it in the future.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Re: memoir | Itemized List misaligned

Post by localghost »

Not me. And I'm out of ideas now.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10320
Joined: Mon Mar 10, 2008 9:44 pm

Re: memoir | Itemized List misaligned

Post by Stefan Kottwitz »

I tried this code as well, it doesn't give that error.
Could you post the .log file as attachment here?

Stefan
LaTeX.org admin
spartanguy07
Posts: 10
Joined: Wed Feb 08, 2012 7:29 pm

Re: memoir | Itemized List misaligned

Post by spartanguy07 »

Sure. The log is attached.
Attachments
T2.log
(38.25 KiB) Downloaded 301 times
User avatar
Stefan Kottwitz
Site Admin
Posts: 10320
Joined: Mon Mar 10, 2008 9:44 pm

Re: memoir | Itemized List misaligned

Post by Stefan Kottwitz »

Did you try deinstalling and reinstalling the mathpazo package, using the MiKTeX package manager which you can find in the start menu?

Stefan
LaTeX.org admin
spartanguy07
Posts: 10
Joined: Wed Feb 08, 2012 7:29 pm

Re: memoir | Itemized List misaligned

Post by spartanguy07 »

Well I figured out through trying to uninstall and reinstall the package, that the download settings on this computer were not configured properly and the proxy was blocking package downloads. So once I was able to configure the setting correctly everything worked. Thank you for your help!
Post Reply