Skip to main content

All Questions

Tagged with
1 vote
1 answer
135 views

Creating LaTeX Macros to Generate Tables from Predefined Variables

I've been struggling for the past two days to create macros for populating a thesis title page, as I'm planning to share it as a template with my colleagues. As you all know, thesis title pages have ...
Mycroft_47's user avatar
3 votes
1 answer
54 views

Checking if the contents of the \item's of a \list environment are entirely in inline math mode

I have a list \begin{list}{}{} \item[(1)] First things first. \item[(2)] There are \(1 + 1 = 2\) types of "normal" math \[e^{2\pi i} + 1 = 2\] \item[(3)] Third time's \(\...
grepgrok's user avatar
1 vote
2 answers
47 views

Storing comma separated entries in a list and print them using pgfkeys, pgffor, etoolbox

Problem Statement I want to store several keywords in a list, then print all items inside the list separated by commas, but the last item should also be separated by ", and ...". For example,...
acat3's user avatar
  • 111
2 votes
3 answers
607 views

How to create an environment that allows you to bold words before a " : "

(This is my first question, I hope I'm not breaking any rules in how I'm asking it) I would need an environment that basically takes as input a list of words separated by the ":" symbol and ...
Math Attack's user avatar
2 votes
1 answer
172 views

Replace "\def" and "\@ifnextchar" with "expl3" code in list environment

I was trying to answer another question I asked here in the forum (How to modify the horizontal and vertical spacing between "\item" in shortenumerate (shortlst)?) regarding the shortlst ...
Pablo González L's user avatar
0 votes
1 answer
59 views

Customized list environment with horizontal line after each item

I have this LaTeX code: \documentclass[12pt, a4paper]{book} %%% Packages \usepackage[margin = 20mm]{geometry} \usepackage{xcolor} \usepackage[most]{tcolorbox} %%% Macors \newenvironment{aims}{ ...
Emad's user avatar
  • 33
2 votes
1 answer
49 views

A command that would always place text at the beginning of the document

I am keeping something like a diary, that helps me keep track of things that I am working on. Occasionally there are some actions (To do's) that need to be taken, which I would like to keep on the ...
Steve OB's user avatar
0 votes
1 answer
58 views

Stepslist: "Step k of n"

I am trying to come up with a new enumerated list environment "stepslist" such that the items are marked with "Step k of n", where n is the total number of items in one stepslist ...
Alp Uzman's user avatar
  • 284
1 vote
1 answer
74 views

Bracing a list within a list

I have this set up: %%% some keys \pgfkeys{/mystuff/first color/.code=\gdef\myfirstcolor{#1}} \pgfkeys{/mystuff/first color/.default=black} \pgfkeys{/mystuff/last color/.code=\gdef\mylastcolor{#1}} \...
Raoul Kessels's user avatar
6 votes
3 answers
559 views

How to make it so that newcommand takes the rest of my line as argument?

I declared a new command to format list elements in LaTeX as follows: \newcommand{\sitem}[1]{\item \makefirstuc{#1},} \newcommand{\eitem}[1]{\item \makefirstuc{#1}.} This works OK, but now I have to ...
user32882's user avatar
  • 1,594
0 votes
1 answer
53 views

How to customize enumerate list with resuming numbering on second level using customize item command?

I have a customized enumerate list which defines workpackages. Everything works fine even for the first nested level. But at the next lower nested level the numbering is not continuing: I have ...
lukascbossert's user avatar
2 votes
3 answers
251 views

Generating a list with commands

I am quite new to LaTeX and am a software engineer by day, so please bear with me. I am trying to create list of items that can be generated through the use of some commands to add to that list, ...
Maxim Srour's user avatar
3 votes
2 answers
452 views

Default enumerate environment with easylist syntax

With the package easylist, we can create nested lists easily: \documentclass{article} \usepackage[at]{easylist} \begin{document} \begin{easylist} @ First % -> 1. First @@ Second % -&...
B. W.'s user avatar
  • 105
1 vote
1 answer
120 views

Create a sorted, three-column table from a single column in a CSV file

I have a CSV file that has various columns. One of the columns is called summits. This column contains multiple summits in the following form: Summit name (elevation m) For example Mount Everest (...
SCM's user avatar
  • 57
2 votes
2 answers
144 views

Count the number of times a command appears in the enumerate environment

I am trying to create a mechanism to know whether or not the number of times a command is repeated in an enumerate environment is present. As an example, using the \dummy command, this would be a ...
Pablo González L's user avatar

15 30 50 per page
1
2 3 4 5
7