Answers for "how to insert % in latez"

2

how to put % in latex

The following characters play a special role in LaTeX and are called "special printing characters", or simply "special characters".

                          # $ % & ~ _ ^  { }
Whenever you put one of these special characters into your file, you are doing something special. If you simply want the character to be printed just as any other letter, include a  in front of the character. For example, $ will produce $ in your output.

The exception to the rule is the  itself because \ has its own special meaning. A  is produced by typing $backslash$ in your file.
Posted by: Guest on September-21-2021
0

insert figure latex

%...
begin{figure}[h!]
  centering
  begin{subfigure}[b]{0.2linewidth}
    includegraphics[width=linewidth]{coffee.jpg}
     caption{Coffee.}
  end{subfigure}
  begin{subfigure}[b]{0.2linewidth}
    includegraphics[width=linewidth]{coffee.jpg}
    caption{More coffee.}
  end{subfigure}
  begin{subfigure}[b]{0.2linewidth}
    includegraphics[width=linewidth]{coffee.jpg}
    caption{Tasty coffee.}
  end{subfigure}
  begin{subfigure}[b]{0.5linewidth}
    includegraphics[width=linewidth]{coffee.jpg}
    caption{Too much coffee.}
  end{subfigure}
  caption{The same cup of coffee. Multiple times.}
  label{fig:coffee3}
end{figure}
%...
Posted by: Guest on November-21-2020

Browse Popular Code Answers by Language