- #1
PhizKid
- 477
- 1
I just got TeXnic yesterday and I'm trying to use colors, but usepackage{colors} doesn't work and I have xcolor or something installed from MiKTeX. I read that you put the usepackage in the "preamble" but I don't know where in the document that is.
So far I have:
But no color showing yet.
So far I have:
Code:
\documentclass[thmsa, a4paper,11pt, oneside]{book}
\usepackage{color}
\usepackage{amsmath, amsthm, amsfonts, amssymb}
\usepackage{array}
\usepackage[dutch]{babel}
%\usepackage{titlesec} % to define "fancy" section head
%\usepackage{fancyhdr} % to define page headings
%\usepackage{fancybox} % to make title page
%\usepackage[dvipsnames]{color} % colored title page
\usepackage{enumerate}
\setcounter{secnumdepth}{1}
%\renewcommand{\thesection}{\arabic{section}}
%\input{caligraphic}
%\input{greek}
%\input{fraktur}
\newcommand{\R}{\mathbb{R}} \newcommand{\N}{\mathbb{N}}
\newcommand{\Z}{\mathbb{Z}} \newcommand{\Q}{\mathbb{Q}}
\newcommand{\C}{\mathbb{C}}
\newcommand{\adjoint}[1]{{{}^\tau #1}}
\theoremstyle{plain}
\newtheorem{theorem}{Eigenschap}[section]
\newtheorem{lemma}[theorem]{Lemma}
\newtheorem{corollary}[theorem]{Gevolg}
\theoremstyle{definition}
\newtheorem{exercise}{Oefening}[chapter]
\newtheorem{definition}[theorem]{Definitie}
\newtheorem{example}[theorem]{Voorbeeld}
\newtheorem{examples}[theorem]{Voorbeelden}
\newtheorem{remark}[theorem]{Opmerking}
\newtheorem{remarknohead}[theorem]{}
\renewcommand{\baselinestretch}{0.95}
\begin{document}
{\color{Red} test}
\end{document}
But no color showing yet.