All Questions
Tagged with automation spacing
11
questions
3
votes
3
answers
707
views
Automatically give correct spacing for superscripts *before* a symbol
For a paper I am writing, I frequently need to use a superscript * before certain symbols (in math mode). I am currently using the command {}^* to do this. The spacing between the * and the symbol is ...
0
votes
0
answers
75
views
Easiest way to make long passages of glosses
What's the easiest way to do a long passage (like a full page or 2) of glosses? Would be great if I can convert directly from a spreadsheet like a CSV or something. If I can make a 2 column ...
4
votes
2
answers
227
views
Align list ignoring negative sign of the first number in items
I am currently using enumitem and made an environment for my lists in a document. It is the following:
\newenvironment{alternativas}[1][0]
{
\begin{enumerate}[label={\Alph*)}, itemsep=#1cm, ...
2
votes
2
answers
232
views
Auto adjust item separation for equal spacing
I am currently using enumitem and made an environment for my lists in a document. It is the following:
\newenvironment{alternativas}[1][0]
{
\begin{enumerate}[label={\Alph*)}, itemsep=#1cm, topsep ...
1
vote
0
answers
307
views
mathpartir: ottalt puts mathpartir premises each on their own line
I'm using the Ott tool to generate LaTeX for some inference rules in a Programming Language paper. To make the output look good, I'm using the OttAlt library.
OttAlt is based on mathpartir, and one ...
1
vote
1
answer
35
views
Splitting a table cell and using automatic spacings
Consider the following MWE
\documentclass{article}
\usepackage{colortbl}
\usepackage{tabularx}
\begin{document}
\begin{table}
\begin{tabularx}{\textwidth}{rX}
Things & Lorem ipsum dolor sit amet, ...
1
vote
2
answers
75
views
Lay out a list of very short phrases in an automatically-varying number of columns
Suppose as part of my text I want to have a list of words or short phrases, where they have no relative order, and are short enough so that several may fit on the same line (but not all combinations ...
3
votes
1
answer
184
views
Automatically calculate width
This is a question to Werner's answer to the question "How to draw arrows between parts of an equation to show the Math Distributive Property (Multiplication)?".
Consider the following code:
\...
5
votes
2
answers
1k
views
How to automate adding spaces around an ampersand in math mode
Suppose, we are writing a logical expression in math mode:
\documentclass{article}
\usepackage[a4paper]{geometry}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\begin{document}
$a\&b$
\...
10
votes
2
answers
2k
views
Appending an empty row after every 5 or 10 rows in LaTeX table
I wonder how to append an empty row after every 5 or 10 rows in LaTeX table. Here is my MWE in .Rnw format. Any help will be highly appreciated. Thanks!
\documentclass{article}
\usepackage{longtable}...
2
votes
0
answers
585
views
Cancel the use of \baselineskip when at the top of page
I've defined a macro \myaddress which prints my address at the end of a document, cf. Simplify how I write my address in documents. That macro includes the use of \vspace{\baselineskip} to separate it ...