von ZTO » Sa 10. Aug 2013, 19:18
Hallo Zusammen,
folgende Herausforderung tut sich gerade bei mir auf:
Ich benötige ein Ebenheitssymbol (Raute/Paralleologramm mit (zwei) horizontalen Seiten.
In der Symbols List habe ich nichts gefunden.
Kurzerhand mit Tikz ein passendes Symbol gemacht, ins Formel(symbol)verzeichnis eingefügt.
Dort wird das richtig angezeigt, im Fließtext und in der Matheumgebung aber nicht wenn ich über das acronym Paket aufrufe.
Hier der Code:
\documentclass{scrreprt}
\usepackage[ngerman]{babel}
\usepackage{acronym}
\usepackage{amsmath} %Mathepaket
\usepackage{tikz}
\usepackage[utf8]{inputenc} % Zeichensatz
%\newcommand{\acrounit}[1]{\acroextra{\makebox[18mm][l]{#1}}}
%
\begin{document}
Die\ac{tol} ist
\begin{equation}
\ac{tol}=0{,}0000001\frac{\mathrm{mm}}{10\,\mathrm{mm}}
\end{equation}
hier folgt das \textbf{Formelzeichenvereichnis}
\begin{acronym}[LONGEST]
\acro{tol}[\ensuremath{T_
{
\begin{tikzpicture}[scale=.17]
\draw (0,0) -- (.5,1);
\draw (.5,1) -- (1.5,1);
\draw (1.5,1) -- (1,0);
\draw (1,0) -- (0,0);
\end{tikzpicture}
}
}
]
{\acroextra{\makebox[18mm][l]{-}} Toleranz für Ebenheit}
\end{acronym}
%
\end{document}
Ideen?
Möglicherweise gehts auch einfacher. Habe versucht das Symbol über
einzubinden , ging aber auch nicht. Ein entsprechendes Symbol habe ich nicht gefunden.
Fehlermeldungen lauten
! Missing control sequence inserted.
<inserted text>
\inaccessible
l.10 Die\ac{tol}
ist
Please don't say `\def cs{...}', say `\def\cs{...}'.
I've inserted an inaccessible control sequence so that your
definition will be completed without mixing me up too badly.
You can recover graciously from this error, if you're
careful; see exercise 27.2 in The TeXbook.
! Missing control sequence inserted.
<inserted text>
\inaccessible
l.12 \ac{tol}
=0{,}0000001\frac{\mathrm{mm}}{10\,\mathrm{mm}}
Please don't say `\def cs{...}', say `\def\cs{...}'.
I've inserted an inaccessible control sequence so that your
definition will be completed without mixing me up too badly.
You can recover graciously from this error, if you're
careful; see exercise 27.2 in The TeXbook.
! Argument of \@imakebox has an extra }.
<inserted text>
\par
l.27 ...kebox[18mm][l]{-}} Toleranz für Ebenheit}
I've run across a `}' that doesn't seem to match anything.
For example, `\def\a#1{...}' and `\a}' would produce
this error. If you simply proceed now, the `\par' that
I've just inserted will cause me to report a runaway
argument that might be the root of the problem. But if
your `}' was spurious, just type `2' and it will go away.
Runaway argument?
18mm]{\def \@currenvir {tikzpicture}\edef \@currenvline {\on@line }\csname \ETC
.
! Paragraph ended before \@imakebox was complete.
<to be read again>
\par
l.27 ...kebox[18mm][l]{-}} Toleranz für Ebenheit}
I suspect you've forgotten a `}', causing me to apply this
control sequence to too much text. How can we recover?
My plan is to forget the whole thing and hope for the best.
Danke im vorraus und Grüße
Hallo Zusammen,
folgende Herausforderung tut sich gerade bei mir auf:
Ich benötige ein Ebenheitssymbol (Raute/Paralleologramm mit (zwei) horizontalen Seiten.
In der Symbols List habe ich nichts gefunden.
Kurzerhand mit Tikz ein passendes Symbol gemacht, ins Formel(symbol)verzeichnis eingefügt.
Dort wird das richtig angezeigt, im Fließtext und in der Matheumgebung aber nicht wenn ich über das acronym Paket aufrufe.
Hier der Code:
[code]
\documentclass{scrreprt}
\usepackage[ngerman]{babel}
\usepackage{acronym}
\usepackage{amsmath} %Mathepaket
\usepackage{tikz}
\usepackage[utf8]{inputenc} % Zeichensatz
%\newcommand{\acrounit}[1]{\acroextra{\makebox[18mm][l]{#1}}}
%
\begin{document}
Die\ac{tol} ist
\begin{equation}
\ac{tol}=0{,}0000001\frac{\mathrm{mm}}{10\,\mathrm{mm}}
\end{equation}
hier folgt das \textbf{Formelzeichenvereichnis}
\begin{acronym}[LONGEST]
\acro{tol}[\ensuremath{T_
{
\begin{tikzpicture}[scale=.17]
\draw (0,0) -- (.5,1);
\draw (.5,1) -- (1.5,1);
\draw (1.5,1) -- (1,0);
\draw (1,0) -- (0,0);
\end{tikzpicture}
}
}
]
{\acroextra{\makebox[18mm][l]{-}} Toleranz für Ebenheit}
\end{acronym}
%
\end{document}
[/code]
Ideen?
Möglicherweise gehts auch einfacher. Habe versucht das Symbol über
[code]
\includegraphics
[/code]
einzubinden , ging aber auch nicht. Ein entsprechendes Symbol habe ich nicht gefunden.
Fehlermeldungen lauten
[code]
! Missing control sequence inserted.
<inserted text>
\inaccessible
l.10 Die\ac{tol}
ist
Please don't say `\def cs{...}', say `\def\cs{...}'.
I've inserted an inaccessible control sequence so that your
definition will be completed without mixing me up too badly.
You can recover graciously from this error, if you're
careful; see exercise 27.2 in The TeXbook.
! Missing control sequence inserted.
<inserted text>
\inaccessible
l.12 \ac{tol}
=0{,}0000001\frac{\mathrm{mm}}{10\,\mathrm{mm}}
Please don't say `\def cs{...}', say `\def\cs{...}'.
I've inserted an inaccessible control sequence so that your
definition will be completed without mixing me up too badly.
You can recover graciously from this error, if you're
careful; see exercise 27.2 in The TeXbook.
! Argument of \@imakebox has an extra }.
<inserted text>
\par
l.27 ...kebox[18mm][l]{-}} Toleranz für Ebenheit}
I've run across a `}' that doesn't seem to match anything.
For example, `\def\a#1{...}' and `\a}' would produce
this error. If you simply proceed now, the `\par' that
I've just inserted will cause me to report a runaway
argument that might be the root of the problem. But if
your `}' was spurious, just type `2' and it will go away.
Runaway argument?
18mm]{\def \@currenvir {tikzpicture}\edef \@currenvline {\on@line }\csname \ETC
.
! Paragraph ended before \@imakebox was complete.
<to be read again>
\par
l.27 ...kebox[18mm][l]{-}} Toleranz für Ebenheit}
I suspect you've forgotten a `}', causing me to apply this
control sequence to too much text. How can we recover?
My plan is to forget the whole thing and hope for the best.
[/code]
Danke im vorraus und Grüße