単語間の空白に画像を埋め込む方法

単語間の空白に画像を埋め込む方法

文書内のページに画像を「埋め込む」ことを希望していますが、単語間の空白はそのままにしておきたいです。

最終的には、ページをめくると動く画像が見られるようにしたいと思っています。

まったく何も思いつかなかったことに驚いています!! モノクロ画像を使った解決策が理想的です。

熱心なファンの皆さんにちょっとしたプレゼント 8)

答え1

あなたの意図を理解するために少し Q&A をしましたが、他の読者にあなたの質問の意図が何であるかを明確にし、それがうまくできないと思うことを主張するために、この「回答」を投稿します。私の MWE では、テキストの流れの中に単純な円を配置しようとしています。読者にその円を示しやすくするために、空白の流れを赤い破線に置き換えた結果をもう一度示します。では、なぜそれが実現可能だと思わないのでしょうか?

1) 私の MWE では、川は複数のスペースで誇張されていますが、赤い破線で強調されていても、事実上判別不可能です。このような明らかな誇張なしにそれを実現するのは、はるかに困難です。

2) 空白の川は気を散らすものである可能性はありますが、それが観察の焦点になり得ると主張するのを聞いたことはありません。

3) 空白部分の「ピクセル解像度」は非常に粗いため、ページ全体にわたっても、解像度が十分ではなく、空白部分の画像を未解決の塊以外のものとして表現できないと私は考えています。

しかし、ぜひとも、誰かが私の間違いを証明してください。

\documentclass{article}
\usepackage{verbatimbox}
\usepackage{xcolor}
\begin{document}
\let\svdash-
\catcode`-=\active
\def\coloron{\def-{\textcolor{red}{\svdash}}}
\begin{verbnobox}[\rmfamily\coloron]
Here is our goal.  It is a test.  What
we are trying     to see is whether or
if an    image can arise   in
the    rivers of  this text.   That
is   to say,  can one see the    circle
that   is formed  in large    rivers of 
my pic?    Maybe if you    squint, one
can just make        it out. Barely.
Then again, maybe not.
~
Below, the relevant rivers are replaced with dashes
~
Here is our goal.  It is a test.  What
we are trying-----to see is whether or
if an----image can arise---in
the----rivers of  this text.---That
is---to say,  can one see the----circle
that---is formed  in large----rivers of 
my pic?----Maybe if you----squint, one
can just make--------it out. Barely.
Then again, maybe not.
\end{verbnobox}
\end{document}

ここに画像の説明を入力してください


本当に隠し画像を埋め込みたい場合、そして研究室の仲間の「友達」が考えているよりも成熟したメッセージを提案したい場合、もっと簡単な方法があります。

\documentclass{article}
\usepackage{stackengine,xcolor, graphicx}
\begin{document}
Where is the hidden image%
\stackinset{c}{-.2pt}{b}{.3pt}{\scalebox{0.02}{\textcolor{white}{Hi, mom}}}{?}
\end{document}

ここに画像の説明を入力してください

ここに画像の説明を入力してください

答え2

ほとんど実行できます 8) 右マージンを手動で調整するのは面倒で、あまり正確ではありません。そのため、教育目的で、これが実行可能であり、機能することを証明および反証する完成した出力をここに示します 8)

  \documentclass{article}
  \usepackage{verbatimbox}
  \usepackage{xcolor}
  \begin{document}
  \begin{verbnobox}[\rmfamily]
  target  of  a given  family’s toxin.   Many type II  TAs  target  translational  machinery,
  which  is  highly  conserved  across  all domains of life  (Poole  and  Logan 2005;  Noller
  2004).  DNA synthesis machinery, DNA polymerases  and  primases  are  less  conserved
  (Poole  and  Logan  2005;  Leipe, Aravind,  and  Koonin 1999;  Werner  and  Grohmann
  2011;  Aravind and  Koonin 2001).  Amongst type I  TAs, SymE,  which targets  mRNA
  (Kawano,  Aravind,  and Storz  2007),  would  provide  an  interesting comparison to the
  membrane proteins investigated within this thesis.

Clea   rly, neither toxi   n norantitoxin target  accounts  for  all  differences within  TA
  syste   ms, because families w   ith the same target often contain loci that differ inability
  to c   onfer a PSK effect on a    plasmid  (Szekeres et  al . 2007;  Christensen,  Maenhaut   
  Mich   el, et al. 2004; De Bast,    Mine, and  Van  Melderen  2008;  Wilbaux et al.  2007;
  Fiebig    et al. 2010). Similarly, ty   pe I  and  III  RMs  are not  as mobile and have not
  been sho   wn to induce PSK (Nadere   r et al.  2002;  O’Sullivan  et al.  2000;  Mruk and
  Kobayashi 2014),    but have the same tar   get (DNA) as  type  II  RMs.  Other  factors
  are also important for    PSK, including the le   vels at  which  the  toxin  and  antitoxin
  are expressed, and the rate    at which the toxin and    antitoxin are degraded in the cell
  after plasmid loss (Chapter 5).

TA systems rely on differential d   ecay of  the  toxin  and ant   itoxin  to  induce  PSK
  (Chapter 5). Type II  systems  are ti   ghtly  regulated  by  protein     antitoxins,   which
  interact with the toxin and act as transcr   iptional  repressors,  sensitive    to changes  in
  stoichiometry (Mruk and Kobayashi 2014;    J. Zhang,  Y.  Zhang, and M. In   ouye 2003;
  Kedzierska,  Lian,  and F.  Hayes  2007;    Cataudella, Sneppen, et al. 2013; Cata   udella,
  Trusina,  et  al.  2012; Afif  et al. 2001).    I used  equations  of  logarithmic decay    as a
  starting point for analyzing the condit   ions necessary for type  II  TAs to exhibit P   SK.
  In particular, I analyzed the pop   ulation of toxin and antitoxin in the cell necessary    for
  PSK given their respective half   -lives ( Chapter  5 ). Antitoxins  with similar stabil   ities
  as their associated toxins cannot    be  expressed  in  numbers  significantly  higher    than
  the toxin,  or  there  will  not be su   fficient free  toxin  to create a  PSK effect    within a
  given time period.  Given the  inherent    noise of ge   ne  expression (Rase   r and  O’Shea
  2005; C. V. Rao, D. M. Wolf, and Arkin 2002),    system   s relying    on stable antitoxins
  risk  plasmid  suicide from  excess toxin  in  the cell     prior to  loss. Thus, there  is likely
  to be an evolutionary trend toward TA systems with high expression levels of very
  \end{verbnobox}
  \end{document}

ここに画像の説明を入力してください

関連情報