Skip to main content

New answers tagged

2 votes

Automating drawing horizontal lines until the end of the page

This is the current version of the fillwith package. See Vertical fill with horizontal line and/or How can I fill vertical spaces with dotted horizontal lines? for history. This requires a single ...
cfr's user avatar
  • 204k
2 votes
Accepted

Automating drawing horizontal lines until the end of the page

You can use the grid operation with xstep=0 to draw only horizontal lines. Then start a \newline and draw a grid to the bottom right of the text area. The node current page text area is useful here, ...
Sandy G's user avatar
  • 46.1k
2 votes
Accepted

Polynomial long division with macro command in a for loop (to get different coefficients)

Thanks to the other answer, I came up with the following code, which completely solves my problem! \documentclass[11pt, a4paper]{article} \usepackage{polynom} \usepackage[margin = 2cm]{geometry} \...
Watson's user avatar
  • 972
3 votes

Polynomial long division with macro command in a for loop (to get different coefficients)

The problem is, that \a doesn't expand correctly in this context. How to make it to do so, I have no idea ... but this answer uses a different approach via xinttools: \documentclass{article} \...
MS-SPO's user avatar
  • 13.2k
2 votes

how to put uppercase text into a variable

As far as I can tell you want something like this that loops over a token list grabbing each word up to the next space and then seeing if it is uppercase. It would be much better to fix the input to ...
David Carlisle's user avatar
1 vote
Accepted

Creating LaTeX Macros to Generate Tables from Predefined Variables

\documentclass{report} \ExplSyntaxOn % Define the variables \clist_new:N \g_authors_clist \clist_new:N \g_supervisors_clist \clist_new:N \g_thesis_committee_clist % Define the macros \...
NBur's user avatar
  • 4,896

Top 50 recent answers are included