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 using the glossaries package in my dissertation. I am trying to apply the superragged3col to my acronym list, which requires an extra package glossary-superragged.

The thing is that while using this in XeTeX the acronym list comes out all out place and overlaps the margins.

If I remove the style option it works fine, but I would like to use that style if possible.

Example
Acronym definitions

What happens 1

What happens 2

I have narrowed it down to one of two packages. Its either a problem in hyperref or glossary-superragged. If both are defined the margins are violated.

share|improve this question
    
Can you provide a mimmal example that shows the problem? (It should be compilable, load just the packages needed to comipile (e.g. just fontspec and the relevant glossaries packages) and have just as many acronyms as needed to show the problem.) –  Alan Munn Feb 3 '11 at 14:49
    
I have uploaded pictures, a sample compiling file (i don't know how to force print the acronyms) and the complete list of acronyms and glossary entries. I am using this in my dissertation report, I don't feel comfortable uploading the whole project. –  Tiago Veloso Feb 3 '11 at 15:09
    
That's the point of constructing the example. You shouldn't upload the whole project, and in fact you can create dummy acronyms if you like. But without something to work with that shows the problem it may be hard to diagnose. –  Alan Munn Feb 3 '11 at 16:35
    
Added a complete example, the complete preamble and a trash section to add the acronyms. Although I now think that the problem might be unrelated to the glossaries packages. Is there an easy way to debug this? –  Tiago Veloso Feb 3 '11 at 17:57
1  
@Tiago, ok, so then the source of your problem may be that you are using things in the XeLaTeX version that are incompatible with it, but which work with pdfLaTeX. This is especially true of font selection things (any xelatex document should load fontspec for example.) You should also never use e.g. inputenc with xelatex. So the beginning of the debugging is to reduce the document to the smallest possible document that works in pdflatex and fails with xelatex. This might help you find out where the problem lies. –  Alan Munn Feb 3 '11 at 19:09
show 5 more comments

1 Answer

up vote 4 down vote accepted

do not use the style superragged3col, because your list of acronyms are too large to fit in three columns. Use instead:

\twocolumn
\printglossary[type=\acronymtype,style=superragged,%
               title={List of Acronyms},toctitle={List of Acronyms}]

\onecolumn
\cleardoublepage

then you'll get this output: enter image description here

share|improve this answer
    
From my understanding the superragged3col merely aligns the page numbers, and since those can grow to the sides I don't think your solution will work when I have an acronym in 10 or so pages. –  Tiago Veloso Feb 3 '11 at 20:48
    
@Tiago: you maybe right, I didn't read the documentation, looked only for a solution. You do not need the \twocolumn macro here, if you didn't like it. –  Herbert Feb 3 '11 at 20:51
    
Well I have decided to change the style. Not to this one but It will do. –  Tiago Veloso Feb 10 '11 at 8:29
add comment

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.