danish char in latex
Im running the mactex 2010 distribution with texshop. However I´m unable to get danish characters in the rendered pdf, although the text is OK within the e开发者_如何学Cditor (before rendering). I´ve ensured that the encoding is set to utf-8 in texshop. My preamble is
\documentclass[a4paper,dansk,11pt]{article}
\usepackage[T1]{fontenc,url}
\usepackage{textcomp}
\usepackage[utf8]{inputenc}
\usepackage[dansk]{babel}
\usepackage {graphicx}
\usepackage{relsize}
\usepackage{setspace}
\usepackage{ctable}
\usepackage{Sweave}
\usepackage[section]{placeins}
Any ideas what I should do?
//M
Maybe:
\documentclass[a4paper]{article}
\usepackage[latin1]{inputenc}
\usepackage{t1enc}
\usepackage[danish]{babel}
精彩评论