Unterteilung Glossar in lateinische und griechische Symbole

Antwort erstellen


Diese Frage dient dazu, das automatisierte Versenden von Formularen durch Spam-Bots zu verhindern.
Smilies
:D :) :( :o :shock: :? 8) :lol: :-x :P :oops: :cry: :evil: :twisted: :roll: :wink: :!: :?: :idea: :arrow: :| :mrgreen:

BBCode ist eingeschaltet
[img] ist eingeschaltet
[flash] ist ausgeschaltet
[url] ist eingeschaltet
Smilies sind eingeschaltet

Die letzten Beiträge des Themas

Ich habe die Datenschutzerklärung gelesen und bin damit einverstanden.

   

Wenn du eine Datei oder mehrere Dateien anhängen möchtest, gib die Details unten ein.

Ansicht erweitern Die letzten Beiträge des Themas: Unterteilung Glossar in lateinische und griechische Symbole

von jukka » Fr 5. Aug 2011, 17:03

Verwendung vom Style index anstelle von super bringt die Lösung.

Ich hätte nun aber gerne den Tabulatorabstand vom Style super, damit die Symbolbeschreibung immer an der gleiche Stelle beginnt. Meine Überlegung war, dass ich meinen eigenen Glossarystyle (mylist) durch den entsprechenden Code vom Style super ergänze. Dies führt aber nicht zu einer Veränderung. Vermutlich habe ich die falschen Befehle übernommen (siehe Abschnitt \newglossarystyle{mylist}):
\documentclass[listof=flat,a4paper,12pt,headsepline,bibliography=totoc,listof=totoc,index=totoc,cleardoublepage=empty,numbers=noenddot,headings=normal]{scrreprt}

\usepackage{amsfonts}
\usepackage{amsmath}
\usepackage{amssymb}

\usepackage{makeidx}
\usepackage[nonumberlist,toc,acronym]{glossaries}
\newglossary[slg]{symbolslist}{syi}{syg}{Notation}
\renewcommand*{\glspostdescription}{}
\glsdisablehyper
\makeglossaries
\include{Symbols}

\newglossaryentry{latinletters}{name={},description={},sort=a}
\newglossaryentry{greekletters}{name={},description={},sort=b}

\newglossaryentry{symb:N0}{sort=an,
name={\ensuremath{\mathbb N_{0}}},
description={set of natural numbers with 0},
parent=latinletters,
type=symbolslist}

\newglossaryentry{symb:N}{sort=bn,
name={\ensuremath{\mathbb N}},
description={set of natural numbers},
parent=greekletters,
type=symbolslist}

\newglossaryentry{symb:c}{sort=ac,
name={\ensuremath{c}},
description={first-stage objective (e.g. $c^Tx$)},
parent=latinletters,
type=symbolslist}

\newglossaryentry{symb:Omega}{sort=bomega,
name={\ensuremath{\Omega}},
description={set of all random events},
parent=greekletters,
type=symbolslist}

\glsaddall

\begin{document}

\newglossarystyle{mylist}{%
\glossarystyle{index}% base this style on the list style
\renewcommand{\glsgroupskip}{}% make nothing happen between groups
\renewenvironment{index}%
    {\tablehead{}\tabletail{}%
     \begin{supertabular}{lp{\glsdescwidth}}}%
    {\end{supertabular}}%
}
\printglossary[type=symbolslist,style=mylist ,title=Notation]

hallowelt

\end{document}

von jukka » Fr 5. Aug 2011, 12:51

Wird gemacht. Das Problem bleibt bestehen. Hier das Minimalbeispiel etwas verkürzt:
\documentclass[listof=flat,a4paper,12pt,headsepline,bibliography=totoc,listof=totoc,index=totoc,cleardoublepage=empty,numbers=noenddot,headings=normal]{scrreprt}

\usepackage{amsfonts}
\usepackage{amsmath}
\usepackage{amssymb}

\usepackage{makeidx}
\usepackage[nonumberlist,toc,acronym]{glossaries}
\newglossary[slg]{symbolslist}{syi}{syg}{Notation}
\renewcommand*{\glspostdescription}{}
\glsdisablehyper
\makeglossaries
\include{Symbols}

\newglossaryentry{latinletters}{name={},description={},sort=a}
\newglossaryentry{greekletters}{name={},description={},sort=b}

\newglossaryentry{symb:c}{sort=ac,
name={\ensuremath{c}},
description={first-stage objective (e.g. $c^Tx$)},
parent=latinletters,
type=symbolslist}

\newglossaryentry{symb:Omega}{sort=bomega,
name={\ensuremath{\Omega}},
description={set of all random events},
parent=greekletters,
type=symbolslist}

\glsaddall

\begin{document}

\newglossarystyle{mylist}{%
\glossarystyle{super}% base this style on the list style
\renewcommand{\glsgroupskip}{}% make nothing happen between groups
}
\printglossary[type=symbolslist,style=mylist ,title=Notation]

hallowelt

\end{document}

von KOMA » Fr 5. Aug 2011, 12:00

Keine Zeit zum Ausprobieren, da ich weg muss, aber: \ensuremath statt $…$ verwenden!

von jukka » Fr 5. Aug 2011, 10:51

Weiß keiner um Rat oder ist das Minimalbeispiel falsch?

von jukka » Di 2. Aug 2011, 15:33

Hi,

@Sepp99: Danke für den Tipp. Ich weiß nicht, ob untenstehender Code wirklich exakt einem Minimalbeispiel entspricht. Falls nicht, bitte ich um ein wenig Nachsicht und würde mich über Verbesserungsvorschläge freuen.
\documentclass[listof=flat,a4paper,12pt,headsepline,bibliography=totoc,listof=totoc,index=totoc,cleardoublepage=empty,numbers=noenddot,headings=normal]{scrreprt}

% fancy math
\usepackage{amsfonts}
\usepackage{amsmath}
\usepackage{amssymb}

\usepackage{makeidx}
\usepackage[nonumberlist,toc,acronym]{glossaries}
\newglossary[slg]{symbolslist}{syi}{syg}{Notation}
\renewcommand*{\glspostdescription}{} %Punkt am Ende entfernen
\glsdisablehyper
\makeglossaries
\include{Symbols} % all symbols

\newglossaryentry{latinletters}{name={},description={},sort=a}
\newglossaryentry{greekletters}{name={},description={},sort=b}

\newglossaryentry{symb:N0}{sort=an,
name={\ensuremath{\mathbb N_{0}}},
description={set of natural numbers with 0},
parent=latinletters,
type=symbolslist}

\newglossaryentry{symb:N}{sort=bn,
name={{$\mathbb N$}},
description={set of natural numbers},
parent=greekletters,
type=symbolslist}

\newglossaryentry{symb:c}{sort=ac,
name={\ensuremath{c}},
description={first-stage objective (e.g. $c^Tx$)},
parent=latinletters,
type=symbolslist}


\newglossaryentry{symb:Omega}{sort=bomega,
name={\ensuremath{\Omega}},
description={set of all random events},
parent=greekletters,
type=symbolslist}

\glsaddall

\begin{document}

\newglossarystyle{mylist}{%
\glossarystyle{super}% base this style on the list style
\renewcommand{\glsgroupskip}{}% make nothing happen between groups
}
\printglossary[type=symbolslist,style=mylist ,title=Notation] %Symbole ausgeben (vorher style long

hallowelt

\end{document}
@cgnieder: Danke, das Hinzufügen von geschweiften Klammern hat leider keine Veränderung mit sich gebracht (siehe Minimalbeispiel).

von cgnieder » Di 2. Aug 2011, 14:39

So spontan würde ich sagen: den Namen in geschweiften Klammern angeben:
\newglossaryentry{symb:c}{sort=ac,
name={\ensuremath{c}},
description={first-stage objective (e.g. $c^Tx$)},
parent=latinletters,
type=symbolslist}

\newglossaryentry{symb:Omega}{sort=bomega,
name={\ensuremath{\Omega}},
description={set of all random events},
parent=greekletters,
type=symbolslist}
Gruß

von Sepp99 » Di 2. Aug 2011, 13:50

jukka hat geschrieben:ein Tipp wäre wirklich hilfreich.
Ein Tipp: wie wärs mit einem lauffähigem Minimalbeispiel? [3] in meiner Signatur.
Gruß, Sepp.-

von jukka » Di 2. Aug 2011, 11:54

Hallo,

ein Tipp wäre wirklich hilfreich.

Gruß,
jukka

Unterteilung Glossar in lateinische und griechische Symbole

von jukka » Sa 30. Jul 2011, 16:07

Hallo,

mein Symbolverzeichnis enthält sowohl lateinische als auch römische Symbole. Nun sollen zunächst die lateinischen und dann die römischen Symbole alphabetisch erscheinen. Folgenden Code verwende ich:
\newglossaryentry{latinletters}{name={},description={},sort=a}
\newglossaryentry{greekletters}{name={},description={},sort=b}

\newglossaryentry{symb:c}{sort=ac,
name=\ensuremath{c},
description={first-stage objective (e.g. $c^Tx$)},
parent=latinletters,
type=symbolslist}

\newglossaryentry{symb:Omega}{sort=bomega,
name=\ensuremath{\Omega},
description={set of all random events},
parent=greekletters,
type=symbolslist}
\newglossarystyle{mylist}{%
\glossarystyle{super}% base this style on the list style
\renewcommand{\glsgroupskip}{}% make nothing happen between groups
}
\printglossary[type=symbolslist,style=mylist ,title=Notation]
Bis auf eine Sache klappt das auch gut: Die Symbole werden nicht dargestellt (die Beschreibung schon). Was kann ich tun, damit auch die Symbole ansich angezeigt werden?

Danke im voraus.

Nach oben