I write some choice questions into beamer frame, after some research, here is my code:
\documentclass[aspectratio=169]{beamer}
\usetheme{Berkeley}
\usepackage{tasks,CJK}
\begin{document}
\begin{CJK*}{utf8}{bsmi}
\begin{frame}
\transwipe
1.Which one you want to choose?
\begin{tasks}[counter-format=tsk[A].,debug=true](4)
\task A
\task B
\task C
\task D
\end{tasks}
\end{frame}
\end{CJK*}
\end{document}
output with pdflatex:
But I don't want the D choice goto the second line, I want them stay in one line, what should I do?

\end{document}at the end. Most likely your TeX installation needs an update. You can compile your code using online compilers to test the result against your installation -- for example on papeeria.com. – alwaysask Oct 19 '16 at 12:12aspectratiosetting is what leads to two lines, you can remove theCJKrelated code. Any aspect ratio different from 43 (4:3 -- I think it's the default) breaks thetasksline in two. Now you can see the importance of posting a full MWE rather than just code fragments. (your TeX installation is fine). – alwaysask Oct 19 '16 at 12:59CJKin your document. It's just that to demonstrate the issue you have in this question,CJKhas no [bad] influence. The issue (tasks breaks in two lines) is present without CJK as well. So, according to the MWE guiding rules in the link I gave you, it can be removed. – alwaysask Oct 19 '16 at 13:12taskscannot compute the right width for the tasks with beamer whenaspectratio=169is in effect. – egreg Oct 19 '16 at 14:05