![包裹人物漂浮物和希伯來語](https://rvso.com/image/281569/%E5%8C%85%E8%A3%B9%E4%BA%BA%E7%89%A9%E6%BC%82%E6%B5%AE%E7%89%A9%E5%92%8C%E5%B8%8C%E4%BC%AF%E4%BE%86%E8%AA%9E.png)
我正在嘗試創建一個換行浮動,但即使文字中沒有任何內容,它也無法運作。我正在使用 LyX 2.0.5.1。這是我的 MWE:
% Preview source code
%% LyX 2.0.5.1 created this file. For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[english,hebrew]{article}
\usepackage[T1]{fontenc}
\usepackage[latin9,cp1255]{inputenc}
\usepackage{float}
\usepackage{wrapfig}
\makeatletter
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Textclass specific LaTeX commands.
\usepackage{theorem}
\theorembodyfont{\upshape}
\newtheorem{theorem}{\R{משפט}}[section]
\AtBeginDocument{\make@lr\thetheorem}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands.
\usepackage{fullpage}
\usepackage{adjustbox}
\makeatother
\usepackage{babel}
\begin{document}
\begin{wrapfigure}{o}{0.5\columnwidth}%
\caption{}
\end{wrapfigure}%
שלום שלום
שלום שלום
\end{document}
所以即使沒有任何文字它說
\end{wrapfigure} % 我遇到了我剛剛插入的
}' that doesn't seem to match anything. For example,
\def\a#1{...}' 和\a}' would produce this error. If you simply proceed now, the
\par' 會導致我報告一個失控的參數,這可能是問題的根源。但如果你的}' was spurious, just type
2' 它就會消失。
答案1
您需要在以下段落中添加一些文本,wrapfigure
否則它將無法工作:
\begin{wrapfigure}{o}{0.5\columnwidth}%
\caption{}
\end{wrapfigure}%
Here we need some text so that this will be wrap around the image ...
我的工作範例需要xelatex
:
\documentclass{article}
\usepackage{fontspec}
\usepackage{libertine}
\usepackage{wrapfig}
\usepackage{polyglossia}
\setmainlanguage{hebrew}
\usepackage{theorem}
\theorembodyfont{\upshape}
\newtheorem{theorem}{\R{משפט}}[section]
\usepackage{adjustbox}
\begin{document}
\begin{wrapfigure}{o}{0.5\columnwidth}%
\caption{}
\end{wrapfigure}
הבסיס לכל הצורות המתקדמות יותר של פיתוח עברית הוא השפה של ספרי הקודש של היהודים, התנ"ך עברית, שמקורו בכתבי העת הראשונה אלף לפנה"ס נוצרו ונערך ברציפות והתרחב ולבסוף עוגן על ידי זמנו של ישו. (הישנה) עברית ולכן לעתים קרובות מזוהה עם המונח "עברית מקראית", אפילו אם זה מוצדק בלשנות פחות היסטורית, כמו היסטוריה של ספרות: עברית העתיקה כמו השפה התנ"ך. בתנ"ך, השפה שְׂפַת כְּנַעַן הוא השפת כנען ("שפת כנען, ישעיהו 19:18") נקראת. לאחר חורבן בית המקדש בירושלים על ידי נבוכדנצר השני ב586 לפנה"ס והגלות בבל שלאחר מכן, השפה הרשמית המקומית של ארמי הגיעה למחזור בקרב היהודים, ולכן מעתה ואילך עברית להתחרות על עמדה ארמי ונרשמה הרבה השפעות של זה.
\end{document}