2

I am trying to use the soul package to strike out Cyrillic letters. Instead of the letters being stroked out weird characters are shown.

\documentclass[12pt]{article}
\special{papersize=3in,5in}
\usepackage[T2A]{fontenc}
\usepackage{amssymb,amsmath}
\usepackage{soul}
\usepackage[russian,english,german]{babel}
\pagestyle{empty}
\setlength{\parindent}{0in}
\begin{document}
тезт \st{ва}
\end{document}

Output: output of latex + dvipng

As I am using the tex code within Anki and the program uses the toolchain latex + dvipng I would be keen on a solution that works with exactly that toolchain.

1 Answer 1

2

Works for me after I load inputenc and soulutf8:

\documentclass[12pt]{article}
\special{papersize=3in,5in}
\usepackage[T2A]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{amssymb,amsmath}
\usepackage{soulutf8}
\usepackage[russian,english,german]{babel}
\pagestyle{empty}
\setlength{\parindent}{0in}
\begin{document}
тезт \st{ва}
\end{document}

enter image description here

1
  • yes now it works - great. I still got the problem that (if only the \st{} is used) only a dot is displayed in anki. This can be solved adding a space in front of it (for other users of anki).
    – Sim
    Dec 10, 2015 at 15:55

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .