Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Writing Text at the left margin in itemize environment

133 views
Skip to first unread message

schehr...@gmail.com

unread,
Jan 16, 2008, 2:10:04 PM1/16/08
to
Hi,

I have an itemized list which has quite a distance from the left
margine of the page. Now, I want to write a text (like a date) at the
left margine of the page before the bullet of a specific \item.

Is there a command that does this? I am looking for something like
below, I am COMMAND is the command I am looking for:


\begin{itemize}
\item Worked at company X
\item Designed System Y
\item COMMAND{9/2/2007} Went on vacation
\item Lived in NYC
\end{itemize}

which produces:

(Bullet) Worked at company X
(Bullet) Designed System Y
9/2/2007 (Bullet) Went on vacation
(Bullet) Lived in NYC

Thank you

vvvv

unread,
Jan 16, 2008, 2:34:56 PM1/16/08
to
The first thing would be to goolge:

latex resume class

and use a class that somebody already built. You would normally
supply values in their custom macros to produce the output.

Another way for very simple notes in the left margin wold be this:

\documentclass{memoir}
\begin{document}
\def\a{This is example text so you can see the margins. }%
\def\b{\a\a\a\a\a}%
\def\c{\b\b\b\b\b}%
\c
\begin{itemize}
\item{\hskip-.25in\llap{1997}\hskip.25in{}worked here}
\item{\hskip-.25in\llap{\parbox[b]{1in}{This is a longer note that
might wrap}}\hskip.25in{}worked there}
\item{worked everywhere}
\end{itemize}

\end{document}


If you want to get more complicated, you could experiment with "margin
notes" using options to force it to the left side. If you want to
waste a lot of time, you could use the \vadjust command to place boxes
in the margin after the line has been set (but that would require lots
of tweaking).

I gotta run, but you the notes above should help.

vvvv

unread,
Jan 16, 2008, 2:40:45 PM1/16/08
to

> The first thing would be to goolge:
>
> latex resume class
>
That would be "Google," not goolge!! There are some decent .cls files
that might save you lots of work if you are writing a resumé.

schehr...@gmail.com

unread,
Jan 16, 2008, 5:25:22 PM1/16/08
to
Thank you. It worked.

Donald Arseneau

unread,
Jan 16, 2008, 5:28:37 PM1/16/08
to
> \item{\hskip-.25in\llap{1997}\hskip.25in{}worked here}

Yuck.

\makeatletter
\newcommand\taggeditem[1]{\item\leavevmode
\rlap{\hspace{-\@totalleftmargin}#1}\ignorespaces}

\item hello to
\taggeditem{2008} the new year

You need \makeatletter to use \@totalleftmargin.

I included the \item in \taggeditem, but you could choose to
leave it out, and type

\item\itag{2007} This is last year

Donald Arseneau as...@triumf.ca

0 new messages