2014-10-02 19 views
2

圖像對齊的圖像標題我有一個塊圖像插入,如下所示:與asciidoc

[[myimage]] 
image::fig1.png[align="center", title="My caption"] 

不幸的是,圖像居中,但標題爲左對齊。我也試過這樣做:

[[myimage]] 
.My caption 
image::fig1.png[align="center"] 

但結果並沒有改變。我怎樣才能讓圖像標題也是中心對齊的?

我生成與此命令HTML輸出(使用xhtml11作爲後端沒有區別):

asciidoc -v -a asciimath -d文章-b HTML5 -o file.html file.txt的

回答

1

更改CSS樣式表爲您做對齊。