logo

LaTeXでテキスト、数式、画像を透明にレンダリングする方法 📂論文作成

LaTeXでテキスト、数式、画像を透明にレンダリングする方法

コード

\phantom{}で囲まれた部分は透明にレンダリングされます。元の位置はそのまま保持しつつ、透明になるだけです。原文が次のようであるとします。

\phantomを使用すると、次のようになります。

コード全文は次の通りです。

\documentclass{article}
\usepackage{graphicx} 
\usepackage{amsmath}
\usepackage{kotex}

\begin{document}

Let $f$ be defined \phantom{(and real-valued) on $[a, b ]$}. For any $x \in [a, b]$ form the quotient
$$
\phi(t) = \dfrac{f(t) - f(x)}{t - x} \qquad  (a < t < b, t \ne x)
$$
and define
$$
\phantom{f'(x) = \lim\limits_{t \to x} \phi(t).}
$$
If $f'$ is defined at a point $x$, we say that $f$ is differentiable at $x$.

\begin{figure}[h]
    \centering
    \phantom{\includegraphics[width = 0.5\textwidth]{27115bd78040156f6c7d92f41e036a0d28567ec9.jpg}}
\end{figure}
햇살이 창문을 통해 방 안으로 부드럽게 스며들었다. \phantom{커피 향이 공기 중에 퍼지며 일상에 작은 위안을 주었다.} 밖에서는 가벼운 바람이 나뭇잎을 스치며 속삭이는 소리를 남겼다.

\end{document}