Skip to main content

All Questions

Tagged with
0 votes
0 answers
21 views

How can I adjust the spacing between the number and the title of each level in TOC to create automatically a nested list?

In this code, I have defined custom sectioning formats using the titlesec package. However, I'm having trouble adjusting the spacing between the section numbers and titles, especially when the section ...
Antonio Maria Di Mauro's user avatar
3 votes
2 answers
120 views

Best Practices for Integrating Computer Algebra Systems (CAS) into LaTeX Documents

I am currently working on enhancing my LaTeX documents to involve complex mathematical equations. Managing these equations manually often leads to errors, especially when changing dependent equations ...
Foad's user avatar
  • 983
5 votes
2 answers
116 views

Writing a tex package for better auto brackets

The automatic brackets sizing provided by \left ... \right really often produces too large brackets. I want some package that for a given formula finds the right bracket size selected from \big, \Big, ...
Nicolas's user avatar
  • 161
1 vote
0 answers
36 views

Is there a program that automates the use of a standardized Tex document?

I have a standardized LaTex document that contains two letters and several pages of documentation. This is to be sent to each and every customer we have, for every order we deliver. The document stays ...
Fridtjof85's user avatar
0 votes
2 answers
671 views

automating recursive file hierarchy (directory tree) diagrams with tikz

So, I've been trying to write a python script that will produce the TikZ/LaTeX source code for one of these filesystem tree / directory structure diagrams: Preview Code LaTeX: TikZ \...
voices's user avatar
  • 2,059
1 vote
1 answer
157 views

LaTeX code with input dependent on some integer parameters

Suppose that I have a large number of .tex files with names 1.tex, 2.tex, ..., N.tex (with N = some integer). I would like to write a LaTeX document, where I set some parameters for example: howMany ...
azonips's user avatar
  • 13
4 votes
1 answer
3k views

An Automatic Way to Produce "Author Contribution" Section

Background Academic journals and other scholarly publications are beginning to adopt a standardized requirement for Author Contribution sections. This is a section in which authors are labeled based ...
WesH's user avatar
  • 427
2 votes
1 answer
184 views

How to automatically change the pagemargin after page 1?

is there a way to let pdflatex automatically change the margin by changing from page1 to 2? I thought about something like: ifpagenum>1: \newgeometry. \documentclass{scrartcl} \usepackage[left=2.5cm, ...
Shalec's user avatar
  • 295
4 votes
1 answer
98 views

Summing up values in an automatic generated table based on a meta tag

I am generating a table automated with a macro based on my other question (Time calculation with spreadtab). There will be three (maybe four, maybe n - don’t know if the answer to this question can ...
user69453's user avatar
  • 956
2 votes
0 answers
270 views

search for and highlight words/numbers in pdfpages while only printing highlighted pages

I have a project where it would be very helpful to be able to include pdf pages with certain text and or number highlighted, and in addition limit the pages output to those which have the highlighted ...
A Feldman's user avatar
  • 3,955
9 votes
2 answers
16k views

LaTeX for automatic report generation

I accept that this question might be a bit outside the scope of this page, but please bear with me! At work I'm going to set up a framework for generating some pretty basic reports, which could be on ...
Holene's user avatar
  • 6,940
8 votes
2 answers
2k views

Expand command read from file

I have a file, that contains a list of latex commands each command per line. Now I want to read this file line per line and execute/expand the macros automatically. I tried the following but this only ...
student's user avatar
  • 29.2k
5 votes
2 answers
755 views

Solutions to problem sheets

For writing problem sheets I have a customized theorem environment called pr for the problem and a specialcomment called solution for the solution. See example below. Now my question is, if it is ...
student's user avatar
  • 29.2k
2 votes
1 answer
6k views

How to generate LaTeX documents with Perl

I have to generate Software Requirement Specification documents in LaTeX. I have to use Perl to accomplish this. The documents consist of tables, lists, pictures, TOC, table of figures, headings and ...
AlexTheBird's user avatar
25 votes
3 answers
1k views

How to compute the remaining space on the current page

Is there a way to compute the remaining space on the current page and issue an optional command?
yannisl's user avatar
  • 118k