Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

description style with dotfill #21

Closed
edusantana opened this issue Mar 6, 2020 · 1 comment
Closed

description style with dotfill #21

edusantana opened this issue Mar 6, 2020 · 1 comment
Labels
enhancement request New feature or request

Comments

@edusantana
Copy link

Thanks for the package.
I was wondering, it would be nice to have a description style with dotfill like this:

How can we obtain that without define a new environment like this?

\documentclass[12pt, letter]{article}

\newenvironment{specifications}{%
  \let\olditem\item%
  \renewcommand\item[2][]{\olditem##1\dotfill##2}%
  \begin{description}}{\end{description}% 
}

\begin{document}

\begin{specifications}
    \item[Input Voltage Range] 36-72 V DC
    \item[Input Current] 80 mA
    \item[Power over Ethernet] 802.3af-compliant Powered Device
\end{specifications}

\end{document}

Can you help me?

@jbezos jbezos added the enhancement request New feature or request label Jan 5, 2025
@jbezos
Copy link
Owner

jbezos commented Jan 5, 2025

I’m closing this issue because it’s an enhancement request. This doesn’t mean it’s rejected, just it’s not listed has an issue.

@jbezos jbezos closed this as completed Jan 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement request New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants