# Tag Info

6

\documentclass{article} \usepackage{nicematrix} \usepackage{makecell} \begin{document} \begin{table} \caption{The Caption} \centering \begin{NiceTabular}{*{7}{c}}[vlines,cell-space-limits=3pt] \Hline &\Block{1-2}{D1} & &\Block{1-2}{D2} ...

6

You have too many empty lines: remove them. No \resizebox. \documentclass[12pt]{article}%{nmsuth01} \usepackage{eurosym} \usepackage{float} \usepackage{makeidx} \usepackage{amssymb} \usepackage{latexsym} \usepackage{amsmath,amsthm} \usepackage{graphicx} \usepackage{natbib} \usepackage[version=4]{mhchem} \usepackage{caption} \usepackage{booktabs} \usepackage{...

5

As written in the documentation multicol has its own controls for ragged and aligned columns called \raggedcolumns and \flushcolumns, the default is the latter. They are applied if a multicols spans several pages, regardless of what the document uses elsewhere (i.e., \raggedbottom does not apply then). It also has controls for handling the last column ...

4


4

MWE \documentclass[12pt]{article} \usepackage{color} \usepackage{array} \usepackage{float} \usepackage{multirow} \providecommand{\tabularnewline}{\\} \begin{document} \begin{tabular}{|c|c|c|c|c|} \hline \multirow{2}{*}{Dataset} & \multicolumn{2}{c|}{M1} & \multicolumn{2}{c|}{M2}\tabularnewline \cline{2-5} \cline{3-5} \cline{4-5} \cline{5-5} &...

4

Edit: In the first attempt I misread captions of your tables: they are not the same. You actually have two similar, narrow tables with a lot of empty rows. I assume, that they are in your example not populated with data yet. Since your tables are long and narrow I suggest to merge both tables in one long table, for example using longtblr defined in the ...

4

It is done using the package nicematrix and defining a new environment. It has the advantage that it mainly keeps the content of the array separate from the style that will be applied to it. Thus allowing, as in this case, to have the raw matrix as the only input of an environment, and on the other hand, to adjust the style without interfering with the ...

3


3

You could use the hooks provided by the class, see its documentation, Section 4.10. \documentclass[french,a4paper,addpoints,11pt]{exam} \usepackage[a4paper, total={165mm,250mm}]{geometry} \usepackage{lipsum} \qformat{\textbf{Exercise \thequestion}\hfill} % code added vvv \renewcommand{\questionshook}{% \setlength{\leftmargin}{0pt}% \setlength{\...

3

You've identified one of the big issues posed by creating a bibliography by hand (via the thebibliography mechanism): the time-consuming, deeply meaningless, and rather error-prone nature of the work. I'd say that another, and possibly even more serious, issue is the following: if you provide URL strings in the formatted entry, the hand-crafted nature of ...

2

\documentclass[11pt]{book} %\usepackage[bf]{caption} %\usepackage{subcaption} %\usepackage{amssymb} %\usepackage[fleqn]{amsmath,mathtools} %\usepackage{fancyhdr} \usepackage[Lenny]{fncychap} %\usepackage{hyperref} \ChTitleVar{\Huge\bfseries} \begin{document} \mainmatter \chapter{Your Title } \end{document}

1

The main two packages to draw all sorts of frames in LaTeX are mdframed and tcolorbox. Here's an example using tcolorbox. \documentclass{article} \usepackage{lipsum} \usepackage{tcolorbox} \tcbuselibrary{breakable} \newtcolorbox{textbox}{ sharp corners, colback=white, colframe=black, boxrule=.5pt, breakable, } \begin{document} \lipsum[1][...

1

Class resume.cls you are using is outdated and should not be used any longer. For example you can use class moderncv with style banking with an resulting layout similar to the layout of class resume. Please see the following two PDFs (results of class resume and moderncv): This is the MWE for class moderncv: \documentclass[11pt,a4paper,sans]{moderncv} % ...

1

One can do TABstacks to specify the vertical baselineskip of rows. I just did it on the second equation, to match approximately the gap of the first equation. While things will need to change if you want more than one horizontal field, the TABstack can handle tabbed fields. What it cannot do is number individual cases with their own equation number. \...

1

Here is an environment {MyMatrix} which does the job. You have to end the rows with the command \ER. \documentclass{article} \usepackage{nicematrix} \ExplSyntaxOn \NewDocumentCommand { \PreValue } { m } { \int_eval:n { \int_use:c { c@#1 } - 1 } } \newcounter{NbColumns} \NewDocumentEnvironment { MyMatrix } { } { \cs_set_protected:Npn \ER { \\ & } ...

1

Another solution with nicematrix. \documentclass{article} \usepackage{nicematrix,tikz} \ExplSyntaxOn \NewDocumentCommand { \PreValue } { m } { \int_eval:n { \int_use:c { c@#1 } - 1 } } \NewDocumentEnvironment { MyMatrix } { } { \begin { VNiceMatrix }% [ first-row, code-for-first-row = \PreValue{jCol} , first-col, code-for-first-col = \...

1

A variant solution which use the tcolorbox package: \documentclass{article} \usepackage{lipsum} \usepackage[theorems,skins]{tcolorbox} \newtcbtheorem{postulate}{Postulate}{ description delimiters parenthesis, separator sign ={.}, coltitle=black, colback=white, fontupper=\itshape, fonttitle=\upshape\bfseries, attach title to upper={\ }, empty, left*=0pt, ...

1

It works also with \captionof: \documentclass{book} \usepackage[skip=1ex, font=small, labelfont=bf] {caption} \renewcommand{\tablename}{Model} \begin{document} \begin{table}[ht] \centering \begin{tabular}{|c|} \hline table I \\ \hline \end{tabular} \captionof{table}{A caption II} \end{table} \begin{...

1

\ganttbar takes three arguments, not four. Remove the first, empty one. \documentclass{article} \usepackage{pgfgantt} \begin{document} \begin{ganttchart}[ x unit = 1.5cm, y unit title = .5 cm, y unit chart = .5 cm, vgrid ]{1}{4} \gantttitle{Possible year of school exit}{4}\\ \gantttitle{2009}{1} \gantttitle{2010}{1} \gantttitle{2011}{1} \gantttitle{2012}{1}...

Only top voted, non community-wiki answers of a minimum length are eligible