2

I'm working in LaTeX and R and I am using UTF-8 encoding, but when I use \textbf{dataset}, the resulting text is not bold.

Can someone tell me why this happens?

Below is part of my code. I am not sure what the reason behind it is.

\documentclass[11pt,table,a4paper]{article}
\usepackage[T1,T2A]{fontenc}
\usepackage{CJKutf8}
\usepackage[english,russian]{babel}
\begin{document}

<<echo=FALSE,results=tex>>=
   cat("dataset","\n")
   cat("\\textbf{dataset}","\n")   # it should be bold  
@
\end{document}linecolor=goldenpoppy

The error is due to \usepackage[english,russian]{babel}. Please help me out in fixing this problem.

4

1 回答 1

0

使用该选项手动添加Sweave包将解决此问题:noae

\usepackage[noae]{Sweave}
于 2013-04-18T19:23:42.543 回答