Graphics, Figures & Tables ⇒ Can't use graphics packages with [hebrew]{babel}
Can't use graphics packages with [hebrew]{babel}
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
Re: Can't use graphics packages with [hebrew]{babel}
Can't use graphics packages with [hebrew]{babel}
Code: Select all
\documentclass[12pt,a4paper]{article}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\draw (0,0) -- (4,0) -- (4,4) -- (0,4) -- (0,0);
\end{tikzpicture}
\end{document}
Code: Select all
\documentclass[12pt,a4paper]{article}
\usepackage[hebrew]{babel}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\draw (0,0) -- (4,0) -- (4,4) -- (0,4) -- (0,0);
\end{tikzpicture}
\end{document}
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
Can't use graphics packages with [hebrew]{babel}
Code: Select all
\documentclass[english,fleqn]{article}
\usepackage[T1]{fontenc}
\usepackage[latin9,utf8x]{inputenc}
\usepackage{tikz}
\usepackage[english,hebrew]{babel}
\begin{document}
טקסט לפני תמונה
\begin{otherlanguage}{english}
\begin{tikzpicture}[scale=1]
\draw (0,0) -- (1,1);
\end{tikzpicture}
\end{otherlanguage}
טקסט אחרי תמונה
\end{document}
- Stefan Kottwitz
- Site Admin
- Posts: 10324
- Joined: Mon Mar 10, 2008 9:44 pm
Can't use graphics packages with [hebrew]{babel}
Code: Select all
\documentclass[12pt,a4paper]{article}
\usepackage[english,hebrew]{babel}
\usepackage{tikz}
\begin{document}
\begin{otherlanguage}{english}
\begin{tikzpicture}
\draw (0,0) -- (4,0) -- (4,4) -- (0,4) -- (0,0);
\end{tikzpicture}
\end{otherlanguage}
\end{document}