# Tag Info

7

Below I show two possibilities: one using some customized theorem styles and the other one redefining the counters. Using some customized theorem styles plainboxed and definitionboxed which basically place the number inside a \fbox; a new command \thref was also defined so the cross-references are also boxed (\swapnumbers shouldn't be used anymore): ...

5

A solution that optionally does conversion of the input given in decimal form; I can think to other improvements. \documentclass{article} \usepackage{xparse} \ExplSyntaxOn \NewDocumentCommand{\printnumber}{O{}m} { \group_begin: \keys_set:nn { lauhub/printnumber } { #1 } \lauhub_print_number:n { #2 } \group_end: } \tl_new:N \l_lauhub_number_tl ...

5

Here is a suggestion without titlesec. Note, that the code needs KOMA-Script version 3.15 or newer. \documentclass[a4paper,chapterprefix]{scrbook} \usepackage[english]{babel} \usepackage[utf8]{inputenc} \usepackage{graphicx} \usepackage{xcolor} \colorlet{chaptercolor}{blue!80!black} \setkomafont{chapter}{\normalfont\color{chaptercolor}\Huge} ...

3

You could load the chngcntr package and insert the instruction \counterwithout{equation}{section} in the preamble.

3

It requires the output to be set in a fixed-width font (which some would consider preferable). I do it by successively trimming the output of \padzeroes, using \chop{number}{string}. \documentclass{article} %\usepackage[utf8]{inputenc} %\usepackage[T1]{fontenc} \usepackage{fmtcount} \usepackage{trimclip,ifthen} \newsavebox\numberbox \newlength\boxoffset ...

3

I wasn't able to replicate the cascading indentation with the MWE you provided, but I've identified some problems with your MWE and provided a working version. Watch out for these: You can't put a . after a length, so I changed \usepackage[margin=1in.]{geometry} to \usepackage[margin=1in]{geometry}. linguex doesn't use \begin{exe} (that's from gb4e), but ...

3

Something like this? I've defined a new glossary style myaltlistgroup based on altlistgroup: \newglossarystyle{myaltlistgroup}{% \setglossarystyle{altlistgroup}% \renewcommand*{\glsgroupheading}[1]{% \pagebreak% \item\makebox[\linewidth]{\Large\textbf{\glsgetgrouptitle{##1}}}% \vspace*{-\baselineskip}% ...

3

Here are some steps you can take to alleviate this problem. You can combine them as you wish to meet your needs: Reduce the margins. You are already using geometry to set your margins to 1 inch. You can reduce this for all the margins using the margin key you're already using, but geometry also provides keys for setting the horizontal and vertical margins ...

2

Here's one possibility (I took care of two levels of nesting but the same idea will also apply to the third level): \documentclass{beamer} \usepackage{tikz} \usepackage{etoolbox} \definecolor{enumitem}{RGB}{31,51,87} \makeatletter \AtBeginEnvironment{enumerate}{% \apptocmd{\@item}{% \tikz[overlay]\draw[gray!60] ([yshift=-0.5ex]0,0) -- ...

2

Use longtable \documentclass{article} \usepackage{lipsum} \usepackage{mathrsfs,amsmath} \usepackage{longtable} \begin{document} \lipsum[1-2] \begin{longtable}{ | l |l | l | l |l|} \hline $D$ & $\text{C}$ & $\text{ A }$ & $\text{ B } \mathscr{E}_{n_2(i)}$ & $\text{ E }$\\ \hline \endfirsthead % \multicolumn{5}{l}% {{\bfseries ...

2

This solution is based on one of egreg's answers: http://tex.stackexchange.com/a/136133/46716 and uses xparse from the LaTeX3 Project. It defines a command \spell which takes as optional arguments the examples separated by a semi-colon. \documentclass{article} \usepackage{xparse} \usepackage[T2A]{fontenc} \usepackage[utf8]{inputenc} \ExplSyntaxOn ...

1

% arara: pdflatex \documentclass{article} \usepackage[english]{babel} \usepackage{microtype} \usepackage{caption} \usepackage{booktabs} \usepackage{array} \usepackage{longtable} \usepackage{ragged2e} \usepackage{calc} \begin{document} ...

1

Use an array environment, like this. (Edit: like Manuel suggested too.) \documentclass{article} \begin{document} $\begin{array}{lcccr} \l \cdot e \cdot f \cdot t & = & c+e+n+t+e+r & + & 2\pi \\ foo & = & bar & + & 1 \end{array}$ \end{document}

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