Tag Info

3

Is this what you want? \documentclass[a4paper,12pt]{article} \usepackage{mathtools,amssymb} \usepackage{caption} \begin{document} \bgroup\setlength{\belowdisplayskip}{-2ex} \begin{gather*} \begin{array}{|cc|c|} p & q & p \land q \\ \hline 1 & 1 & 1 \\ 1 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 0 \\ \end{array} \...

0

You probably don't want the image in the list of tables so use \caption[short form]{long form with \includegraphics{...}} The the fragile commands will not be in the "moving argument" used for the table of contents, and the errors will go.

4

With the help of two sidy by side minipages inside of the figure environment you can achieve the following: \documentclass{article} \usepackage{graphicx} \usepackage[export]{adjustbox} \begin{document} \begin{figure} \begin{minipage}{0.725\textwidth} \hfill \includegraphics[height=4cm]{example-image-a} \end{minipage} \hfill \begin{minipage}{0.2\textwidth}...

5

\documentclass{article} \usepackage[export]{adjustbox} \usepackage{tabularx} \begin{document} \begin{figure}[ht] \centering \begin{tabularx}{0.8\linewidth}{XX} \includegraphics[height=4cm, width=\linewidth, keepaspectratio, valign=c]{example-image-duck} & Legend: some long explanation of image \\ \caption{This is my caption ...

0

Combining the answers to questions: Change figure numbering for appendix and How to change Figure 1: to bold Fig.1. in latex: \documentclass{article} \usepackage{graphicx} \usepackage{caption} \usepackage{chngcntr} \captionsetup[figure]{name={Fig.}} \counterwithin{figure}{section} \begin{document} \section{First} \begin{figure}[ht!] \centering \...

1

Use top option for package mcaption. \usepackage[top]{mcaption} I have used example-image-a as a picture and disable font used in your code.

1

Replace the continuation caption (everything including the \multicolumn) \documentclass{report} \usepackage{longtable} %from my uni thisis sty file \usepackage[centerlast,small,sc]{caption} \begin{document} This is a specimen table, note the \texttt{caption} macro sets the table caption in smaller than the body font size. Also the main caption sets `...

0

Here's a (imo) not very ConTeXy version to achieve subfigure numbering based on a suggestion by Henri Menke (see comments). \useMPlibrary[dum] \setupcombinations[alternative=text] \definefloat[subfigure][local=yes] \setupcaption[subfigure][numberconversion=a] \setuplabeltext[subfigure=] \appendvalue{stopplacefigure}{\resetcounter[subfigure]} \starttext \...

2

0

I think you're misunderstanding how newfloat works. \documentclass[12pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage{graphicx} \usepackage{caption} \usepackage{newfloat} \DeclareFloatingEnvironment[ fileext=grf, listname={Lista de gráficos}, name=Gráfico, ]{grafico} \begin{document} \listofgrafico \begin{grafico}[htp] \centering \...

0

A I understood your question, you like to have caption above figure in width of figure and starting at left border of figure. The same for table. One way to obtain this is use minipage in which you enclose figure or table. At figure you can then define its widths with widths of minipages, at table you need to measure width of table. With this approach you ...

5

As mentioned in the documentation of longtable you can suppress the entry by using an empty optional argument in the follow-up captions: \documentclass{article} \usepackage{tabularx} \usepackage{ltablex} \usepackage{blindtext} \usepackage{booktabs} \begin{document} \listoftables \newpage \begin{tabularx}{\textwidth}{l X} \caption{Caption 1}\\ \...

3

I don't think you're using the machinery of the ltablex package correctly. It's important to specify separate chunks of code for \endfirsthead and \endhead -- and not to use a \caption directive in the \endhead chunk. If you believe it's crucial to (more or less) repeat the caption shown on the first page, load the caption package and employ a \caption* ...

1

Since I assume that you want to stay with a non-floating set of images, I have applied the advice given here to your example: \documentclass{article} \usepackage{caption} \usepackage{subcaption} \renewcommand{\thesubfigure}{Figure~\arabic{figure}(\alph{subfigure})} \captionsetup[subfigure]{labelformat=simple} \usepackage[demo]{graphicx} \usepackage{lipsum} ...

1

Maybe the following gives you the desired result: \documentclass{scrartcl} \usepackage{graphicx} \usepackage{subcaption} \begin{document} \begin{figure} \captionsetup[subfigure]{justification=raggedright,font=tt} \centering \begin{subfigure}[t]{0.31\textwidth} \includegraphics[width=\textwidth]{example-image-a} ...

5

Here is a variant with some improvements in the table layout, like a spacing between groups of rows, and using the xltabularenvironment, which brings the functionalities of longtable to tabularx. I also defined a more compact ‘three stars’ symbol (\iiiast). \documentclass[11pt,a4paper]{article} \usepackage{geometry} \usepackage{mathtools} \...

7

Some off-topic refinement of your table ... With correct use of \longtable, S columns type defined in the siunitx package for numbers (and use only 9 columns, not 18 in your MWE), using your new command \sym for designating numbers in table with * (on more consistent way), added "Continue on the next page" at bottom of table parts (except the last one), ......

7

Here is my suggestion using the longtable package: \documentclass[11pt,a4paper]{article} \usepackage{booktabs} \usepackage[singlelinecheck=false, font={large, bf}]{caption} \usepackage{array,lscape,longtable} \begin{document} \begin{landscape} \setlength{\tabcolsep}{5pt} \begin{longtable}{ll*{8}{r@{}>{$}l<{$}}} \caption{The Results of ...

0

It is possible to use \caption{} within tabu, simply add \\ at the end of the line, e.g.: \documentclass{article} \usepackage{longtable} \usepackage{tabu} \begin{document} \begin{longtabu}{l} \caption{This is a caption} \\ This is some table data \\ \end{longtabu} \end{document} Any credits go to @cfr who already explained the solution within ...

1

Depending on the exact output you want to achieve, you could also add the [t] option to the frame environments: \documentclass[demo]{beamer} \usepackage{caption} \begin{document} \begin{frame}[t] \begin{figure} \centering \includegraphics[width=0.7\textwidth]{image1} \caption{xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx ...

Top 50 recent answers are included