caption

xtable caption alignment left aligned with table or centered (using knitr)

怎甘沉沦 提交于 2019-12-10 18:34:39
问题 I'd like to align an xtable figure caption left adjusted with the table, or if that doesn't work, at least centered, because I think it looks kind of stupid a small table being centered and the corresponding caption being left aligned. Also, left aligning both table and caption is not optimal. It should be possible using latex.environments = "left" , but I get an error message, just like in this post. I don't think the problem lies in the referencing, because I get the same error message with

delphi group box caption color change

时光怂恿深爱的人放手 提交于 2019-12-10 15:33:33
问题 I m using BDS 2006 and would like to know if u can change the color of Group-box and radio group captions with XPmanifest present in the Project(because it is Always blue in color). 回答1: The only way to this is overriding the Paint method of the TGroupBox. Check this sample which uses a Interposer class type TGroupBox = class(StdCtrls.TGroupBox) //declare this before of your form definition public procedure Paint; override; end; uses Themes; { TGroupBox } procedure TGroupBox.Paint; var H:

Change LaTeX caption language

三世轮回 提交于 2019-12-10 13:45:35
问题 How could I change the default language so that I get something else instead of "Table" or "Figure" before my captions? 回答1: \usepackage[francais]{babel} 回答2: You can also redefine \tablename and \figurename . 回答3: You can change your document's language using babel package. The captions will be updated automatically. As a bonus, you'll get the correct hyphenation for the chosen language. 回答4: You can redefine \figurename and \tablename by using \renewcommand . For example, you can do this

Prevent paragraph from increasing the width of a floated parent

…衆ロ難τιáo~ 提交于 2019-12-10 10:58:49
问题 I often find myself using code blocks for inline article images like the following: ...article text. <div class="article-image right" style="width: 250px;"> <img src="..." width="250" alt="" /> <p class="caption">Potentially long image caption</p> </div> More article text... Or, the more succinct HTML5 version: ...article text. <figure class="right" style="width: 250px;"> <img src="..." width="250" alt="" /> <figcaption>Potentially long image caption</figcaption> </figure> More article text..

Repeating table caption after page break

喜你入骨 提交于 2019-12-10 10:56:41
问题 When printing an HTML table, you can use CSS to force the table's header row to display again after the page break. This style: @media print { thead { display: table-header-group; } } Results in: Caption ------------- Col1 | Col2 ------------- Data1 | Data2 Data3 | Data4 --Page Break-- Col1 | Col2 ------------- Data5 | Data6 Is there a way to also repeat the table caption after the page break? I would think you could do something like caption { display: table-caption-group; } , but this doesn

add caption to image on new whatsapp ver 2.11.399 (android)

丶灬走出姿态 提交于 2019-12-09 16:58:00
问题 Friends, On android "whatsapp messenger" version 2.11.399 (Sep 30, 2014) it is possible to add a caption (textual decription) to a shared image. I share image via intent as follows: Intent share = new Intent(android.content.Intent.ACTION_SEND); share.setType("image/jpeg"); Uri imageUri = Uri.fromFile(file); share.putExtra(Intent.EXTRA_STREAM, imageUri); //share.putExtra(Intent.EXTRA_TEXT, "This is my text to send."); // NOT WORKING startActivity(share); How can I add the text to the image

Borders with captions in WPF

左心房为你撑大大i 提交于 2019-12-09 16:32:07
问题 Does anybody know how to get a border in WPF with a caption, i.e. the way web browsers display <fieldset> tags ? Is there an easy way, like setting a property, or am I going to have to make a ControlTemplate ? 回答1: Perhaps a GroupBox? <GroupBox> <GroupBox.Header> <Label>Hello</Label> </GroupBox.Header> <TextBlock Text="World!" /> </GroupBox> 来源: https://stackoverflow.com/questions/1889979/borders-with-captions-in-wpf

How to show HLS embedded captions on Exoplayer

时光怂恿深爱的人放手 提交于 2019-12-09 14:03:46
问题 how do I enable and also select different subtitles that are embedded in a Vimeo video in HLS format using Exoplayer, ExoMedia or another player? In iOS this same video already presents the option of subtitles natively but in Android I cannot find means to implement it. 回答1: This works well! TrackGroupArray trackGroups = mappedTrackInfo.getTrackGroups(rendererIndex); TrackSelectionArray currentTrackGroups = player.getCurrentTrackSelections(); TrackSelection currentTrackSelection =

Latex - Inserting a reference in a figure's caption

99封情书 提交于 2019-12-09 04:32:42
问题 In Latex, I want to add a reference in the legend of a figure, like: \begin{figure} ... \caption{This is the legend of this figure (reprinted from \cite{something}).} ... \end{figure} but the citation is not allowed to be placed in the the caption, only in the text. My bibliography is working on any other places of the text. Any suggestions how to do this? Thanks 回答1: Solution found: write \protect\cite{ref} instead of just \cite{ref} Or even shorter: '{\cite{ref}}' 回答2: As the accepted

VBA: Multiple Userforms Referencing Same Code

不打扰是莪最后的温柔 提交于 2019-12-08 13:09:01
问题 I have a VBA code that takes user inputs (criteria) via a userform, creates a list of items that meet said criteria, and randomly outputs one of the list items via message box. I want to create a second userform that will open after the above code completes, and have the userform display the random output. I have a few questions regarding how this can be done. I want to the second userform to contain a label, whose caption will reflect the random output. I want the second userform to allow