我有两个字符串序列。我想得到一个序列,该序列减少了那些项,这些项也在序列2中。或者比较这两个序列并获得信息(如果序列1的至少一项也位于序列2中)。一个简单的比较($ seq1 = $ seq2)仅对一个数字序列有效,或者我在做什么错误?
很高兴提供任何帮助!:)
我有这个问题:我需要一个FO表,它与内容(单元格)的宽度一样宽.但是当我在我的FO标记中添加一个表时,它总是像块级元素一样,并使用wohle行的宽度.
让我感到困惑:如果我将它包装成内联元素(具有预期的行为),则表格不具有内联元素的行为,而是再次成为块元素.
有人知道如何解决这个问题吗?
在这里我的标记:
<inline width="auto">
<table table-layout="fixed">
<table-column column-width="6.36mm"/>
<table-column/>
<table-column column-width="6.36mm"/>
<table-column/>
<table-column column-width="6.36mm"/>
<table-column/>
<table-column column-width="6.36mm"/>
<table-column/>
<table-body>
<table-row>
<table-cell padding-right="1.6mm">
<block-container height="3mm" width="4.76mm" overflow="hidden">
<block>
<external-graphic content-height="3mm" src="image1.jpg"/>
</block>
</block-container>
</table-cell>
<table-cell>
<block>
Image name 1
</block>
</table-cell>
<table-cell padding-right="1.6mm">
<block-container height="3mm" width="4.76mm" overflow="hidden">
<block>
<external-graphic content-height="3mm" src="image2.jpg"/>
</block>
</block-container>
</table-cell>
<table-cell>
<block>
Image name 2
</block>
</table-cell>
<table-cell padding-right="1.6mm">
<block-container height="3mm" width="4.76mm" overflow="hidden">
<block>
<external-graphic content-height="3mm" src="image3.jpg"/>
</block>
</block-container>
</table-cell>
<table-cell>
<block>
Image name 3 …Run Code Online (Sandbox Code Playgroud)