Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I am currently using the isov2 document class. I would like to create a list of symbols. I currently have the following output (style)

Current Symbols List Formatting

using the code:

\begin{symbols}
\symboldef{ACSE}{association control service element}
\end{symbols}

However, I'd like instead for the abbreviation and "definition" to be on one line, no extra line break in between the lines and without an indent similar to the image below:

Ideal Symbols List Formatting

share|improve this question
    
Please help us to help you and add a minimal working example (MWE) that illustrates your problem. It will be much easier for us to reproduce your situation and find out what the issue is when we see compilable code, starting with \documentclass{...} and ending with \end{document}. –  Christian Hupfer Aug 3 at 22:15

1 Answer 1

up vote 3 down vote accepted

A simple redefinition of the symbols environment (a list) will do:

\documentclass{isov2}

\renewenvironment{symbols}{\list{}%
    {\itemsep 0pt \parsep 0pt \itemindent 0em \leftmargin 5em
     \labelsep 1em \labelwidth 4em
     \let\makelabel\symbollabel}}%
    {\endlist}

\begin{document}

Some text here
\begin{symbols}
\symboldef{ACSE}{association control service element}
\symboldef{ADSE}{association domination service element}
\end{symbols}

\end{document}

enter image description here

Just for the record, here's the original definition from isov2.cls:

\newenvironment{symbols}{\list{}%
    {\itemindent 0em \leftmargin 8em
     \labelsep 1em \labelwidth 5em
     \let\makelabel\symbollabel}}%
    {\endlist}
share|improve this answer
    
Thank you! I have the PDF of the iso class, "LaTeX for ISO standards" however, I'm still fairly new to LaTeX and I haven't found a resource for redefining environments or learning more of the "programmer" part of LaTeX. –  Khori Wood Aug 3 at 23:33
    
@KhoriWood You're welcome! I was wondering if you are still interested in an answer to this other question of yours: tex.stackexchange.com/q/192324/3954 (I provided a way to suppress the word "Page", but there's still some issue unsolved). –  Gonzalo Medina Aug 4 at 1:41
    
Thank you I definitely still needed that answer and wasn't sure how to make the post noticeable that I added information. Thank you again for another great resolution. –  Khori Wood Aug 5 at 16:40

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.