wrap-float を作成しようとしていますが、テキストに何もなくても機能しません。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}
だから、テキストがなくても
}' that doesn't seem to match anything. For example,
\end{wrapfigure} % \def\a#1{...}' と\par'に遭遇しました。\a}' would produce this error. If you simply proceed now, the
これを挿入すると、問題の根本原因である可能性のある暴走引数が報告されます。ただし、}' 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}