New answers tagged

1

In my experience, readers truly dislike having to crane their necks in order to read rotated material -- especially if it's just a line or two that's rotated. For the table at hand, it doesn't appear to be necessary to rotate the string "Summary of the monthly returns for the portfolios". Typesetting it as a normal, i.e., non-rotated header seems just fine. ...


2

In addition to changing the column type of the first header row (from l to -- in your answer -- >{\hsize=\textwidth}X, you should also avoid producing unsightly overlaps in the Region1/Region2/etc headers that risk making the headers unreadable; and find a way to avoid having the main tabular material in \footnotesize. In the code below, simplifying the ...


0

I changed the required line to \gmc{14}{>{\hsize=\textwidth}X}{Characteristic 1: Cross-sectional overlap in month-over-month regional real estate price changes (Spearman/Pearson correlations below/above the diagonal)} \\\hline and it works!!


4

I don't understand two things. Why do you need explicitly expl3 solution when solution based on TeX primitives is more simple and more straightforward. And why you are using different data in \cutright and \putright. First parameter (4) denotes the number of untouched lines but second (12) -- I don't know what it is. I am able to help you with the second ...


5

If you really want the syntax shown in the question, see my original answer below. This edit revises the user interface and eliminates the need to use \cutright before \putright. This version also produces a tidier result and is, I think, less incorrect than my first attempt. The new version defines only the following commands: \putright[<options>]{...


1

You have to make @ an active character with \Activate and switch off this feature with \Deactivate later on. This can be either done by using the \spobj etc. commands outside of objectives or wrap \Activate\newenvironment{objectives}...\end{objectives}\Deactivate In addition, the @ etc. characters must be followed by a space character (as stated in the ...


2

Did you try aligning the table cells using the p (paragraph) mode? e.g. \documentclass[11pt,letterpaper]{article} \usepackage[showframe]{geometry} \begin{document} I would like to get the following effect without manually using ``\&'' and ``\textbackslash'' to wrap the text (i.e., all the text will be wrapped automatically). ...


1

You could use a tabularx environment and set the required width to \linewidth. The text will wrap automatically in the X-column then. Depending on your use case, a description environment can be more handy. Code: \documentclass[11pt,letterpaper]{article} % Make lists without bullets and compact spacing \newenvironment{myitemize}{ \begin{list}{}{ \...


0

Do you mean something like this: \documentclass[11pt,letterpaper]{article} \usepackage[showframe]{geometry} % Make lists without bullets and compact spacing \renewenvironment{itemize}{ \begin{list}{}{ \setlength{\leftmargin}{1.5em} \setlength{\itemsep}{1pt} \setlength{\parskip}{0em} \setlength{\parsep}{0.25em} } }{ \end{list} } \newcommand{\wrapit}[2]{% \...


5

Here is a solution with wrapfigure. I replaced the items of a description environment (wrapfigure won't work) with a special formatting of \paragraph with the titlesec package, in order to mimick the layoout of a description environment: \documentclass[a4paper]{article} \usepackage[utf8]{inputenc} \usepackage{fourier, erewhon} \usepackage[showframe]{...



Top 50 recent answers are included