WrapFigure 및 중괄호

WrapFigure 및 중괄호
\documentclass{article}
\usepackage{wrapfig}


\begin{document}

    \begin{wrapfigure}{r}{3cm}
        \centering
        \rule{3cm}{3cm}
    \end{wrapfigure}
 g,sd; agmgts bsgfs shgsnhg  {\bf snhbfx} fdbhsmn jnnsndg ndsngas gngdfznagk dfhbf
gsgfsh shgfs

{Here is the problem!} "Observe that after using the wrapfigure command, when I am writing something which has to be kept inside the curly braces something unsusal happening." How to resolve this?

\end{document} 

답변1

실제로 문제가 예상됩니다.

이미지 주위에 여러 단락을 흐르게 하려면 텍스트에 이미지를 넘기는 데 필요한 것보다 더 많은 줄이 있다는 것이 확실해질 때까지 실행할 일부 코드를 새 단락에 전달하는 데 wrapfig사용해야 합니다 .\everypar

귀하의 경우에는 어떻게 되나요? 두 번째 단락은 그룹 내에서 시작하므로 그룹이 끝나면 단락 모양에 대한 설정이 손실됩니다.

문제를 해결하는 방법? 아마 당신이 그런 걸 원했기 때문에 그런 일이 일어난 것 같아요

{\bf Here is the problem!}

하지만 당신이 문제의 원인이에요. 두 글자 글꼴 변경 명령은 20년 넘게 더 이상 사용되지 않습니다.

절대로\bf또는 유사한 명령을 사용하십시오 \it. 이 기능은 20년 넘게 더 이상 사용되지 않습니다. 20년 넘게 더 이상 사용되지 않는 명령을 사용하면 예기치 않은 문제가 나타날 수 있습니다.

이 호언장담을 계속할 수도 있지만 세 번이면 충분할 것 같습니다. ;-)

\documentclass{article}
\usepackage{wrapfig}

\begin{document}

\begin{wrapfigure}{r}{3cm}
\centering
\rule{3cm}{3cm}
\end{wrapfigure}

g,sd; agmgts bsgfs shgsnhg  \textbf{snhbfx} fdbhsmn jnnsndg ndsngas gngdfznagk dfhbf
gsgfsh shgfs

\textbf{Here is the problem!} "Observe that after using the wrapfigure command, when I am writing
something which has to be kept inside the curly braces something unsusal happening." How to resolve
this?

\end{document}

여기에 이미지 설명을 입력하세요

{...}다른 목적으로 꼭 필요한 경우 , \mbox{}와 관련된 단락 시작 부분에 발생하는 경우 여는 중괄호 앞에 추가하면 됩니다 wrapfigure.

관련 정보