# Tag Info

5

See edited answer at the end, with a cleaner and adaptative solution Quick, dirty, and very explicit, but it works : \documentclass{article} \usepackage{fourier} \usepackage{graphicx} \begin{document} \raisebox{0.325ex}{\resizebox{!}{1.2ex}{\danger}} dasdfcsdasda \end{document} of course, it need to be adapted according to the font you ...

5

Yes, the syntax is \begin{tabularx}{<width>}[<pos>]{<col spec>} % tabular content \end{tabularx} Here is you example: \documentclass{article} \usepackage{tabularx} \newenvironment{cheeselist} {\begin{enumerate}} {\end{enumerate}} \newenvironment{cheese} {\item \tabularx{\linewidth}[t]{l X}} {\endtabularx} \newcommand{\...

4

Beware that for resized X cells, the coefficients are like barycentric coordinates and their sum has to be equal to the columns number. Also, I managed horizontal rules meet vertical rules, and set all rules (vertical as well as horizontal rules but one) to have the width of \midrules, and I simplified your code. \documentclass[12pt]{article} \usepackage{...

4

Here's a solution that use an array environment, no TikZ. \documentclass{article} \usepackage{amsmath,graphicx,array} \begin{document} \label{eqn:designRule} \renewcommand\arraystretch{1.33} \begin{array}{@{}c@{\hspace{\arraycolsep}}c|c@{}} & \text{$N$ Vars} & G \\[0.5ex] \rotatebox[origin=c]{90}{$M$ Rules} & \begin{...

4

Here a solution with tikz matrix library Code \documentclass{article} \usepackage{tikz} \usetikzlibrary{matrix,calc} \begin{document} \begin{tikzpicture}[baseline=(current bounding box.center)] \matrix(M) [matrix of math nodes,left delimiter={[},right delimiter={]},nodes={minimum width=1cm}] { a_{11} & a_{12} & \cdots & a_{...

3


3

A quick solution based on the package documentation for algorithm2e \documentclass{standalone} \usepackage{algorithm2e} \begin{document} \begin{algorithm}[H] \SetStartEndCondition{ }{}{}% \SetKwProg{Fn}{def}{\string:}{} \SetKwIF{If}{ElseIf}{Else}{if}{:}{elif}{else:}{}% \SetKwFunction{FnFoo}{foo} \DontPrintSemicolon \SetAlgoLined \Fn{\FnFoo{}}...

3

Here is a minimal example which compares your approach (the vertical fills, which are ok IMHO) with the approach I proposed in a comment (to put it all inside a tikz node which is drawn at the absolute center of the page). \documentclass{article} %\usepackage[showframe]{geometry} % uncomment to see the margins \usepackage{mwe} \usepackage{float} \usepackage{...

2


1

The basic error is that the \headheight length is too small, this leads to an overlapping at the top of the page header and the regular text. fancyhdr will issue a warning and some recommendation about correct values on the console and in the log file. Use \setlength{\headheight}{2cm} (or whatever appropiate value is reported by fancyhdr) or use \...

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