Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

not able to write bold characters using textbf

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.

like image 340
Manish Avatar asked Aug 31 '26 11:08

Manish


1 Answers

Manually adding Sweave package with the noae option would fix this:

\usepackage[noae]{Sweave}
like image 98
m0nhawk Avatar answered Sep 02 '26 23:09

m0nhawk



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!