Tag Info

Hot answers tagged

7

You are missing an awful lot of % at the ends of lines, and \parbox{1.75in}{\textsf{ \hspace{-5pt} } { }} Just always makes an empty parbox. I don't think the tikz code is helping here really it is just complicating things if you just want to draw three lines. \documentclass[final,oneside,11pt]{memoir} \usepackage{wrapfig} ...


6

Several things are going on that are not working for you. First, the new lengths that you're defining should be defined outside of the environment. Secondly, you cannot call \parbox{1.75in}{ in one part of the definition for your new environment and close it in the second part. It's best to use an lrbox for that purpose. Thirdly, wrapfigure needs to be ...


5

The following is taken directly from Knuth's TeXbook (Chapter 3: Controlling TeX, p 8): When a space comes after a control word (an all-letter control sequence), it is ignored by TeX; i.e., it is not considered to be a "real" space belonging to the manuscript that is being typeset. But when a space comes after a control symbol, it's truly a space. ...


5

There are not many uses for it besides after control sequences or to ensure non extended spaces after periods that are not punctuation (but in these cases, a tie ~ would be better). The tie is defined in terms of \ : in Plain TeX it is \def~{\penalty\@M \ } % tie while in LaTeX we see \def~{\nobreakspace{}} ...


4

You need to alter the value of \labelsep for the list. The default is 0.5em. This changes that to 1.5em: \documentclass{article} \usepackage{regexpatch} \usepackage{algpseudocode} \makeatletter \xpatchcmd{\algorithmic}{\labelsep 0.5em}{\labelsep 1.5em}{\typeout{Success!}}{\typeout{Oh dear!}} \makeatother \begin{document} \begin{algorithmic}[1] \State ...


3

Another alternative is the use of newcommand which is similar to newenvironment. For references: Link1 Link2 Code \documentclass[final,oneside,11pt]{memoir} \usepackage{tikz} \usepackage{calc} \usepackage{wrapfig} \usepackage{lipsum} % \usepackage{showframe} \newcommand*{\offset}[1] { \begin{wrapfigure}[19]{r}[1in]{2in} \noindent ...


2

Put align=left after fit = {...}. \documentclass{book} \usepackage{trace} \usepackage{tikz} \usetikzlibrary{calc} \usetikzlibrary{fit} \usepackage{lua-visual-debug} \begin{document} % \tikz\node[fill=red](end marker){}; % same as at(0,0) % \tikz\coordinate(end marker) at (0,0); % must have overlay, remember picture for the fit to work Lorem ipsum dolor ...


2

The use of ragged2e's \justifying is the cause of the problem. One could just add \centering to the start of the center environment via the following preamble addition: \makeatletter \g@addto@macro\center\centering \makeatother


1

You need p columns for fixed width, not X also there is not room for that many columns of 1.5cm so I changed it to 1.1 \documentclass[a4paper,12pt,oneside]{article} \usepackage{amsmath,amssymb,bm,mathtools,amsthm} \usepackage{graphicx} \usepackage{float} \usepackage{wrapfig,booktabs} \usepackage{array} \usepackage{multirow,dcolumn,booktabs} ...



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