Imran
  • Member for 1 year, 6 months
  • Last seen this week
How do I put the remarks and footers of a long table made with the tabularray package on all pages?
Accepted answer
8 votes

You may define a new theme with the note in the continuation text in the foot by defining a new template for the continuation text. \documentclass[12pt,a4paper]{book} \usepackage[utf8]{inputenc} \...

View answer
\sum in text mode when inserted in math mode
Accepted answer
5 votes

Use \textstyle. And use \[\] instead of $$ $$ for display style math. Improved Answer (modification according to Zarko's and egreg's comments): \documentclass{article} \usepackage{mathtools} \begin{...

View answer
Giving subset of equations big accolade
5 votes

You may use the IEEEeqnarraybox environment. See Appendix F of this article for more information about the environment. \documentclass{article} \usepackage{amsmath} \usepackage{IEEEtrantools} \begin{...

View answer
How to create a table with row properties
5 votes

You can do it with the tabularray package. MWE: \documentclass{article} \usepackage{xcolor} \usepackage{tabularray} \begin{document} \begin{tblr}{hlines,vlines, rows = {2.5cm, c}, row{1} = {bg=...

View answer
Aligning large Equation with &
Accepted answer
5 votes

You can use the split environment within the align* environment along with ampersand(&). \documentclass{article} \usepackage{amsmath} \usepackage{amsfonts} \DeclareMathOperator*{\argmax}{arg\,max}...

View answer
left aligning \[ \] $$ $$ formulas
4 votes

You may use the \IEEEeqnarray environment along with the * type glue to align the equations to the left. The related manual is available here. Appendix F of this manual describes the usage of the ...

View answer
How can I carry over my equation?
4 votes

You may use the IEEEeqnarray environment from the IEEEtrantools package. \documentclass{article} \usepackage{amsmath} \usepackage{IEEEtrantools} \usepackage{showframe} \begin{document} \begin{...

View answer
How to make sections number look like book chapters
Accepted answer
4 votes

You can use the titlesec package. MWE: \documentclass{article} \usepackage{titlesec} \titleformat{\section}{\bfseries\LARGE}{\hspace{1ex}\Huge\thesection}{2ex}{} \begin{document} \section{Intro} \...

View answer
How do I create such a table in latex?
4 votes

As I mentioned in a comment, you may use the nicematrix to make such tables. \documentclass{article} \usepackage{geometry} \usepackage[table]{xcolor} \usepackage{nicematrix} \begin{document} \begin{...

View answer
Mimic Microsoft Word Tables
4 votes

With the nicematrix package. MWE: \documentclass{article} \usepackage{nicematrix} \begin{document} \begin{table}[htbp] \sffamily %\caption{Caption} \label{tab:my_label} \centering ...

View answer
Formatting Problems with my table in LateX
4 votes

@leandriis has already mentioned some errors in your code. Also, if you have many identical type of columns, you may define all of them at once using the *{num}{str} syntax. This increases the ...

View answer
Tabular like options in align environment
3 votes

One may also use the IEEEeqnarraybox environment from the IEEEtrantools package. In the code t is for centered "text" column (s and u for left and right aligned text respectively), l is for ...

View answer
Problem with spaces
3 votes

One solution can be using the IEEEeqnarray* environment from the IEEEtrantools package. \documentclass{article} \usepackage{IEEEtrantools} \begin{document} \begin{IEEEeqnarray*}{rClL} [\delta(x)...

View answer
Vertical and horizontal alignment of text in multicolumn table
Accepted answer
3 votes

Here is a solution to your problem using the tabularray package. The SetCell macro is the equivalent of both the multicolumn and the multirow, in the optional argument r is for the no of rows to be ...

View answer
error in exponential of an equation
3 votes

\documentclass{article} \usepackage{amsmath} \usepackage{IEEEtrantools} \begin{document} OP's code after correcting the exponential and inequality symbols. \begin{equation} p(r)= (r/\upsilon^2)e^...

View answer
Centering table caption not working
3 votes

I think the "Automatica" journal wants the table caption to be like this (left-aligned rather than centered) and it doesn't look awful to me when there is some text around it. An example: ...

View answer
draw a rectangular train with separate cars in latex
3 votes

Using chains library. The idea is to use two nested \foreach commands (which are basically loop), the outer one for "cars" and the inner one for "trainsets". In the code, i ...

View answer
How can I add margins to a single subfigure so it is all on the same height at its center
3 votes

As Zarko mentioned in the comment, you can use the subfigure environment from the subcaption package. The optional argument [c] in the subfigure environment aligns all the images in the center. \...

View answer
How to position a "right-aligned" text also in the center without relative position?
Accepted answer
3 votes

Using the \align environment from the amsmath package. \documentclass{article} \usepackage{amsmath} \usepackage{lipsum} \begin{document} \lipsum[1] \begin{align*} (z_1-z_2)/(e_1-e_2)\; mod\; q&...

View answer
Fixed top margin on normal text
3 votes

If I have understood the question correctly, the requirement is to put the chapter number and title in the top margin. This can be done using the geometry and titlesec packages. Using the geometry ...

View answer
Hyperref Package Doesn't Make Colored Borders
Accepted answer
3 votes

It fully depends on the PDF viewer you are using. Some viewers show this border while some others don't. This is when your document was viewed using Adobe Acrobat Reader and the box was visible. And ...

View answer
How to get IEEE conference template to show conference name in header?
Accepted answer
3 votes

In conference mode, some of the commands are intentionally disabled and \markboth{}{} is one of those. So, using \IEEEoverridecommandlockouts should have worked for it but unfortunately, it doesn't (I ...

View answer
how to align left 2 very long expressions
2 votes

There are many solutions possible. One can be to use the IEEEeqnarray* (* for suppressing equation no) environment from the IEEEtrantools package. Its usage has similarities with the tabular ...

View answer
Text overflows in multirow table
Accepted answer
2 votes

From your desired table, I think you may want something like this. \documentclass{article} \usepackage{tabularray} \usepackage{lipsum} \UseTblrLibrary{booktabs} \begin{document} \begin{table} \...

View answer
Fig 1a into Fig 1a (but with "a" is in \textit)
Accepted answer
2 votes

(Comment changed into answer.) \documentclass[conference]{IEEEtran} \usepackage{graphicx} \usepackage{subcaption} \renewcommand\thesubfigure{{\itshape\alph{subfigure}}} %<--- added \begin{...

View answer
How to center column names in a table
Accepted answer
2 votes

Do you want something like this? It is produced using the makecell and the booktabs package. The thead macro from the makecell package allows to insert manual linebreak in the table header and it ...

View answer
Fitting large tables
2 votes

You may use the tabularray package to create any type of table. Here two tables are added. One is by using tblr environment (counterpart of tabular), another one using longtblr environment (...

View answer
Break a long table into 2 pages
Accepted answer
2 votes

\documentclass[12pt,twoside]{report} \usepackage{tabularx, booktabs,multirow,adjustbox,caption,float,subcaption, longtable} \begin{document} { \def\sym#1{\ifmmode^{#1}\else\(^{#1}\)\fi} %\begin{...

View answer
how to make chapter and section titles at the beginning of pages be on the same line?
Accepted answer
2 votes

If you use Gonzalo Medina's or Danie Els' answer, the vertical space above the chapter title is 'almost' removed. According to Gonzalo Medina's answer: The internal command \ttl@mkchap@i adds some ...

View answer
\newcolumntype is messing my other columns
2 votes

You may use the tabularray package which makes handling rows and columns very easy. %To make the code compilable with bibliography file without any warning %Should be omitted in the original document %...

View answer