# Tag Info

3

You have several spaces inserted by newlines... \newcommand{\vs}[2]{% \relax\ifmmode \ifemptyarg{#2}% {#1\text{-vector space}}% {#1\text{-vector space }#2}% \else \ifemptyarg{#2}% {$#1$-vector space}% {$#1$-vector space $#2$}% \fi} works. Notice that the "%" after the \ifemptyarg{#2} is not ...

2

You'll have no problem with the tasks package, if you replace the addmargin environment with `geometry (which will give you more sensible margins if you don't use margin notes). Furthermore the items on different rows will be aligned in columns: \documentclass{article} \usepackage{amsmath} \usepackage[showframe]{geometry} \usepackage{tasks} \begin{document}...

1

You can have a much simpler code using the venndiagram package (based on TikZ): \documentclass{article} \usepackage{tikz} \usetikzlibrary{backgrounds,positioning,calc} \usepackage{venndiagram} \usepackage{float, caption} \usepackage{showframe} \renewcommand{\ShowFrameLinethickness}{0.3pt} \begin{document} {\captionsetup[figure]{skip =-1.5ex} \begin{...

3

The second argument to \lettrine is boxed, so the spaces in it are not flexible. \documentclass[smalldemyvopaper,12pt,twoside,onecolumn,openany,extrafontsizes]{memoir} \usepackage[osf]{Alegreya,AlegreyaSans} \usepackage{lettrine} \newcommand{\longlettrine}[3]{% \lettrine{#1}{#2} {\LettrineTextFont #3}% } \midsloppy \checkandfixthelayout \begin{document}...

0

After Four days of modifying the code, and trying what @David Carliste told me, i found a solution. I just needed to remove \vspace{40pt} and the line \let\oldDOTIS\DOTIS, and everything worked (^_^)

2

It will hyphenate first if it is possible. In the example you cite there there was no possibility (without using emergencystretch) of breaking the paragraph without having an overfull box (which is considered worse than stretching) There is no reason to have a large \emergencystretch: doing so tells tex that there is little penalty for stretching the ...

1

An easy way would be just to use the \vspace command e.g. \documentclass[12pt]{memoir} \usepackage{caption,newfloat} \usepackage{graphicx} \def\listofquadrosname{List of Frames} \DeclareFloatingEnvironment[fileext=loq,placement={!hbtp},name=Frame, within=chapter,listname=\listofquadrosname]{quadro} \setlength{\belowcaptionskip}{-10pt} \begin{document} ...

3

Since fields other than note are acceptable I suggest you use annotation instead. By default that field is not printed by most standard styles, but we can quickly change that. As discussed in https://github.com/plk/biblatex/issues/904 the situation with the citations in the bibliography is a bit tricky. Usually I recommend not to use \cite in the ...

9

It was unrelated to the capital letter other than that changed the widths so affected the possible linebreak points. You had a very large \emergencystretch so tex preferred to stretch the white space than hyphenate the word. \documentclass[10pt,a5paper]{memoir} \usepackage[brazil]{babel} \usepackage{anyfontsize} \usepackage{lmodern} \usepackage{microtype} ...

3


7

You can use \smash{\overset\circ K_{n+1}} to hide the height of that element. \documentclass[a4paper]{article} \usepackage{amsmath,amssymb} \newtheorem{theorem}{Theorem}[section] \begin{document} \begin{theorem} There is a $(K_n)_{n\in\mathbb N}\subseteq E$ with \begin{itemize} \item $K_n$ is compact; \item \$K_n\subseteq\smash{\overset\circ K_{n+1}...

5

\documentclass{article} \usepackage{amsmath,delarray} \newcommand\myub[2]{\begin{array}[t]({@{}c@{}})\underbrace{#1}_{\text{#2}}\end{array}} \begin{document} \label{eq:abe-kokos} \myub{5\myub{5\myub{5\myub{5\myub{5\myub{5\cdot n+1}{alle} +1}{femte sømand} +1}{Nødder til fjerde sømand} +1}{Kokosnødder, som tredje ...

1

Alternatively, you can use array and the commands \arraystretch and \extrarowheight, which give perfect result here: \documentclass{article} \usepackage{float, array} \begin{document} \begin{table}[H] \renewcommand{\arraystretch}{1.3} \setlength{\extrarowheight}{1pt} \centering \begin{tabular}{|c|c|c|} ...

5

If you read the sentence 50 times then provided that \hbadness is less than 100 or that the excess width (after shrinking by the maximum amount) is more than \hfuzz. Means that if (as here) you set \hbadness to be less than 100, then any overfull box will be reported, and \hfuzz has no effect. Given how often I have read that paragraph in the TeXBook ...

2

As already mentioned by user191173 in the comments the vertical space between entries is controlled by \bibitemsp. \setlength{\bibitemsep}{4\itemsep} There are also \bibnamesep and \bibinitsep that are only inserted between works of different authors (\bibnamesep) and works of authors with different initial letter (\bibinitsep), thus allowing for visual ...

5

Try the following: \documentclass{report} \usepackage{geometry} \newcommand{\award}[2]{#1 \dotfill #2\\} \begin{document} \begin{center} \begin{tabular}{p{5.5in}} \award{Text text text text text text text}{2019} \award{Text text text text text text text Text text text text text text text}{2018-19} \award{Text text text text ...

1

You can use fill space there is no need to calculate the space between boxes. Also it is almost always best to leave a blank line before \vspace. The small gap at the bottom is de to the fact that the frame drawn is leaving for the usual case of text on the last line so there is for descenders such as y and g . If you want the bottom of the last box to ...

1

After a little bit of investigation I've found that the lower white space comes from boxsep parameter, therefore if a bottom=-boxesp is fixed, this empty space disappears. If the bottom of subtitle box should lay over the bottom of tcolorbox, bottom=-boxsep-bottomrule should be used. It could be nice to use real values of boxsep and bottomrule in order to ...

0

See if this flies with your university. Note that the LOF is still double spaced (unless you remove setspace), but at least it isn't triple spaced. (And see if you can convince them that double spacing should only apply to typewriters.) \documentclass[12pt]{report} \usepackage{mwe} \usepackage[letterpaper]{geometry} \geometry{verbose, margin = 1in} \...

Top 50 recent answers are included