Document Classes ⇒ problems with amssymb
-
- Posts: 4
- Joined: Sat Nov 17, 2007 3:11 pm
problems with amssymb
i tryed $_\O$, but \O not available in mathmode, so ich searched an found \diamter or \varnothing.
but this requires the amssymb-package. but if i load this package following error ocuured:
- command \square already defined
- commad \ggg already defined
my header:
-------------------------------------------------------------------------------------------
\documentclass[titlepage, a4paper, 12pt]{article}
%Schrift
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage{ngerman}
\usepackage{arial}
%Seite
\textheight=22cm
\setlength{\oddsidemargin}{0cm}
\setlength{\textwidth}{16cm}
\setlength{\topmargin}{-0.5cm}
\setlength{\headheight}{1cm}
\setlength{\headsep}{1cm}
%\setlength{\footmargin}{-0.5cm}
%\setlength{\footheight}{1cm}
\setlength{\footskip}{2cm}
%\setlength{\parindent}{0pt}
%packages
\usepackage{ltablex, longtable, tabularx, array, multirow}
\usepackage[pdftex]{graphicx}
\usepackage{setspace}
\usepackage{xymtex, amsmath, units}
\usepackage{amssymb}
\usepackage[version=3]{mhchem}
\usepackage{fancyhdr}
%\usepackage{lastpage}
\graphicspath{{C:/_Dateien/Amadeus/Studium/PC/Oberflächenpraktikum/img/}}
%\includeonly{title}
\usepackage[bf, hang, nooneline]{caption}
%\renewcommand{\captionfont}{\small\itshape}
\setlength{\captionmargin}{20pt}
\renewcommand{\figurename}{Abb.}
\renewcommand{\tablename}{Tab.}
%Seite
\textwidth=16cm \textheight=22cm
\setlength{\oddsidemargin}{0cm}
\setlength{\parindent}{0pt}
\pagestyle{fancy}
\fancypagestyle{plain}{}
\rhead[\leftmark]{\protect\slshape Seite \textbf{\thepage}\ }
\lhead[\righthead]{Rose, Schneider}
%\chead{\includegraphics[scale=0.15]{TU.png}}
\chead{Praktikum Grenzflächenchemie}
\fancyfoot{}%fussnote entfernen
\cfoot{\includegraphics[scale=0.15]{TU.png}}
\hyphenation{}
-------------------------------------------------------------------------------------------
don´t know what to do...
need help!!!
thx amathebest
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
problems with amssymb
Code: Select all
\usepackage{amsmath,amssymb}
\usepackage{xymtex}
\usepackage{units}
Code: Select all
\usepackage{amsmath,amssymb,xymtex,units}
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
problems with amssymb
Code: Select all
\addto{\captionsngerman}{
\renewcommand{\figurename}{Abb.}
\renewcommand{\tablename}{Tab.}
}
The best for German users is to use the KOMA-Script classes and packages. For future projects you should refer to this. Usage is strongly recommended and makes nearly all hints above obsolete.
[1] Downloading and installing xymtex
Best regards
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
-
- Posts: 4
- Joined: Sat Nov 17, 2007 3:11 pm
Re: problems with amssymb
what a stupid mistake... amssymb before xymtex...
and to localghost: i changed my script to koma, i mean, it looks really better.
"For future projects you should refer to this. Usage is strongly recommended and makes nearly all hints above obsolete."
what did you mean? Do i need the \usepackage[ngerman]{babel} or xymtex (and so on) no more? Is this someway included in koma?
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
problems with amssymb
amathebest wrote: […] what did you mean? Do i need the \usepackage[ngerman]{babel} or xymtex (and so on) no more? Is this someway included in koma?
No, that was a bad mode of expression from me. Sorry for that. You will need babel always. It offers many interesting features like typesetting multilingual documents with correct hyphenation. And you will have to load other packages like xymtex by yourself furthermore. But with KOMA-Script you will get rid of many other problems like setting the type area. And you will get many additional options. Just refer to its documentation. Again sorry for this misunderstanding.
Best regards
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
-
- Posts: 4
- Joined: Sat Nov 17, 2007 3:11 pm
Re: problems with amssymb
Thanks for your help, no more questions.
Think this thread can be closed.
-
- Posts: 4
- Joined: Sat Nov 17, 2007 3:11 pm
Re: problems with amssymb
my code:
-----------------------------------------
\bibliographystyle{plain}
%\bibliography{lit}
\begin{thebibliography}{99}
\bibitem{1} www.römpp.de
\bibitem{2} http://www.wikipedia.de
\end{thebibliography}
------------------------------------------
one error occured: I found no \bibdata command --- while reading C:\....
-> as afar as i understand this there are 2 possibilities for a bibliography:
1.) \bibliography{lit} : to load the bibliography from a file
2.) \begin{thebibliography}{99} : bibliography without loading from a file
but if i don´t use an extern file, why this error message???
(Although of this error i can create a complete pdf file, the error message occured while compiling, at the end of compiling there are no errors/warnings))
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
problems with amssymb
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10