Start next paragraph on this line
TL;DR: Can I convince LaTeX to start the next paragraph on the same line as the current one?
The format I’ve chosen for my résumé looks something like this:
EXPERIENCE
Doctor Midos, Inc. January–June 1988
Midos Machine Operator : Connected the sanafratz to the grepsling and hypercharged the whizding.
Checked for loose wires in the kugelator.
K'fitsas Haderech Machine Pilot : Blew a giant bubble-gum bubble by ingenious use of a laser gun.
Staged daring rescue on Space Station Doomstein.
The code I’ve developed looks like this:
\documentclass{article}
% Short (i.e., one- to two-line) items
\newcommand*{\ritem}{\par}
% Short item with inline header
\newcommand*{\rnote}[1]{\par\textit{#1}:}
% Job title, to be followed by an \ritem-list of accomplishments, responsibilities, etc.
\newcommand*{\rposition}[1]{%
\renewcommand*{\ritem}{\relax\renewcommand*{\ritem}{\par}}%
\rnote{#1}%
}
\setlength{\parindent}{0in}
\begin{document}
\section{Experience}
\textbf{Doctor Midos, Inc.} \hfill \textbf{January--June 1988}
\rposition{Midos Machine Operator}
\ritem Connected the sanafratz to the grepsling and
hypercharged the whizding.
\ritem Checked for loose wires in the kugelator.
\rposition{K'fitsas Haderech Machine Pilot}
\ritem Blew a giant bubble-gum bubble
by ingenious use of a laser gun.
\ritem Staged rescue on Space Station Doomstein.
\end{document}
The part where \ritem is redefined to redefine itself feels kinda icky, and I’m hoping to be able to get rid of it.
TL;DR: Can I convince LaTeX to start the next paragraph on the same line as the current one?
The format I’ve chosen for my résumé looks something like this:
EXPERIENCE
Doctor Midos, Inc. January–June 1988
Midos Machine Operator : Connected the sanafratz to the grepsling and hypercharged the whizding.
Checked for loose wires in the kugelator.
K'fitsas Haderech Machine Pilot : Blew a giant bubble-gum bubble by ingenious use of a laser gun.
Staged daring rescue on Space Station Doomstein.
The code I’ve developed looks like this:
\documentclass{article}
% Short (i.e., one- to two-line) items
\newcommand*{\ritem}{\par}
% Short item with inline header
\newcommand*{\rnote}[1]{\par\textit{#1}:}
% Job title, to be followed by an \ritem-list of accomplishments, responsibilities, etc.
\newcommand*{\rposition}[1]{%
\renewcommand*{\ritem}{\relax\renewcommand*{\ritem}{\par}}%
\rnote{#1}%
}
\setlength{\parindent}{0in}
\begin{document}
\section{Experience}
\textbf{Doctor Midos, Inc.} \hfill \textbf{January--June 1988}
\rposition{Midos Machine Operator}
\ritem Connected the sanafratz to the grepsling and
hypercharged the whizding.
\ritem Checked for loose wires in the kugelator.
\rposition{K'fitsas Haderech Machine Pilot}
\ritem Blew a giant bubble-gum bubble
by ingenious use of a laser gun.
\ritem Staged rescue on Space Station Doomstein.
\end{document}
The part where \ritem is redefined to redefine itself feels kinda icky, and I’m hoping to be able to get rid of it.
No comments:
Post a Comment