Space between label and caption in table of figures Overleaf - latex

In table of figures I have a problem where there is no space between figure number and figure caption in table of figures if number is more than 1 digit. The capture below describes the problem.
:

Hi I solved this by adding \hspace to figure's caption
\caption{\hspace{0.1 cm} titleoffigure}

Related

How to adjust text in table in latex

I have table with 5 cells ,
I want to let all cells text in the same adjust
my first cell text from four litters and the second cell text is word from 7 litters so the two cells are not in the same adjust
I attached picture to show you my problem
any help please.
Array columns in a tabular environment must be associated with an alignment qualifier. In your example, you probably used c (center), but you should have used l to have the text in the cells left aligned or r for a right alignment.
But this is very basic LaTeX use and you should absolutely read a tutorial on LaTeX tables.
Note that there are many useful packages that extend the tabular functionality and allows to have centered paragraph, to control their vertical alignment, to align digital numbers and so on. Look at this thread in tex.stackexchange.com to have a good overview on existing packages for table formatting.

Can I make the entire "Table 1" clickable as a reference in Latex?

In my document, I'm using the label function to label tables and figures:
\label{}
Then I use the \ref{} function to refer to the table or figure. in my text.
The problem that I have is that in my text I write this:
As can be seen in Table \ref{table1}.
It will output my text as:
As can be seen in Table 1.
However only the number "1" is clickable and leads up to the table. I want the "Table" part to be clickable as well, so you can click on any part of "Table 1" and get referred up to the table.
I've tried different ways by using \phantomsection\label{} and then \hyperref[]{}, but this doesn't output the table or figure number dynamically.
Use \autoref.
\autoref creates a reference with text depending on the type.
A picture will tell more then thousand words:
Example code:
\documentclass[a4paper]{article}
\usepackage[english]{babel}
\usepackage{graphicx}
\usepackage[colorlinks=true, allcolors=blue]{hyperref}
\begin{document}
\textbackslash ref to the Figure \ref{fig:example}
\textbackslash autoref to the \autoref{fig:example}
\textbackslash nameref to the figure \nameref{fig:example}
\begin{figure}
\centering
\includegraphics[width=0.3\textwidth]{example-image-a}
\caption{\label{fig:example}Example image}
\end{figure}
\end{document}
To change the text inserted by \autoref for e.g. a table:
\renewcommand{\tableautorefname}{bettertablename}
See the hyperref manual for all options.

LaTeX - wrong figure and table numbering in * environment

I have a question related to * environment in LaTeX used for spanning figure/table across two columns. It is well known that in this such figure/table is placed on the top of the page. The problem is that the Fig/Tab numbering is not taken into account so for example the two column figure has caption "Fig.4..." and right below it is one column figure with caption "Fig.3" ... which is the wrong order and in this case the figs and tabs should be automatically renumbered right?problem illutration
I am not sure that I understood the problem, but I would try to put the code for the figure spanning two columns (fig 4 in your image) before the code for the figure that it is called fig 3 in your image. That should fix it.

MS-Word-2010 cross reference of math. equations gap in paragraph

I created a word document in version 2010. The mathematical equations are described by a number and written as follow.
a= b/c Eq.4.5
Now if I use equation number in text to refer towards a= b/c Eq.4.5 with hyperlink then whole
equation is appearing in text (as shown before in mid of sentence).
After reading into several blogs, I redefine number with 'insert bookmark' option by only selecting number 'Eq.4.5'.
Now if I use this bookmark in text to refer towards Eq.4.5 with hyperlink then a gap is
appearing in text (as shown before in mid of sentence).
Please can someone guide me how to remove this gap from text? as manually I can remove it but in print or update of document it appears again and again. If I switch on 'Show/Hide' option, it look like with small arrows as follows.
--> --> --> --> Eq.4.5
It appears the bookmark counts the 'tab's before the number too. (As that is what the small arrows indicate.)
Try remaking the bookmark and making sure you only have the number selected (by for instance using shift + right arrow key)
This can be done by using a table and a caption. The table is needed to separate the equation from the caption.
Make a table with invisible lines that is 3 columns wide and 1 row.
Edit the properties of the table so that the total table width is 100% width, and the columns are each 10%, 80%, and 10% width.
Set the Valign to the cells to be middle.
Add the equation to the center cell of the table.
Click on the right cell of the table and add a caption. Since the equation is in a separate table cell, the equation will not be considered part of the caption. If the caption is added to the table itself instead of appearing in the cell, then just highlight the caption and drag it into the cell.
Center the equation in its cell and it will be centered in the page.
Right-align the equation number and it will be right-aligned to the page

How to display a content in two-column layout in LaTeX?

I am writing an article in LaTeX and I would like to display some content in two column layout. In the left column a matrix and in the right column a list of items. I have tried with tabular environment but it does not work as I want.
My question is how to create a two column area in a LeTeX document (or something similar) and be able to put certain content to left and right column? I do not want to create a two-column layout for whole document, only for part of it.
Load the multicol package, like this \usepackage{multicol}. Then use:
\begin{multicols}{2}
Column 1
\columnbreak
Column 2
\end{multicols}
If you omit the \columnbreak, the columns will balance automatically.
Use two minipages.
\begin{minipage}[position]{width}
text
\end{minipage}

Resources