Search found 10258 matches

by Stefan Kottwitz
Sun Jul 06, 2025 11:54 am
Forum: Math & Science
Topic: Help: Creating Pascal-esque triangle (different structure and numbers) with TikZ for academic paper
Replies: 11
Views: 10896

Re: Help: Creating Pascal-esque triangle (different structure and numbers) with TikZ for academic paper

Regarding the error in \usepackage{pgfplots,lua-visual-debug}} , with one } too many, that's interesting. Because it's not in the code, where we have \usepackage{pgfplots,luacode} . Could look like a typo or auto-completion-error, but you would see that in the code.

Especially as it appears in line ...
by Stefan Kottwitz
Sun Jul 06, 2025 12:05 am
Forum: Math & Science
Topic: Help: Creating Pascal-esque triangle (different structure and numbers) with TikZ for academic paper
Replies: 11
Views: 10896

Re: Help: Creating Pascal-esque triangle (different structure and numbers) with TikZ for academic paper

Found it:

\documentclass[tikz,border=50pt]{standalone}%
\usepackage{ifthen,amsmath}
\let\result\relax
\makeatletter
\newcommand\binomialCoefficient[2]{%
\c@pgf@counta=#1% n
\c@pgf@countb=#2% k
\c@pgf@countc=\c@pgf@counta%
\advance\c@pgf@countc by-\c@pgf@countb%
\ifnum\c@pgf@countb>\c@pgf ...
by Stefan Kottwitz
Sat Jul 05, 2025 11:08 pm
Forum: Math & Science
Topic: Help: Creating Pascal-esque triangle (different structure and numbers) with TikZ for academic paper
Replies: 11
Views: 10896

Re: Help: Creating Pascal-esque triangle (different structure and numbers) with TikZ for academic paper

The TeXbook and TeX by Topic are great books, for understanding the background and the history. As an author using LaTeX, one may not need it. But it's good reading stuff, and helps with a deeper understanding of macro programming.

LaTeX (and TeX) are primarily for typesetting, nicely presenting ...
by Stefan Kottwitz
Sat Jul 05, 2025 9:17 pm
Forum: General
Topic: Weird space after heading
Replies: 3
Views: 605

Re: Weird space after heading

What does it mean, messing the format?

Like this? Or what is messed up?

cv.jpg

It would be good if you would post complete code. Can you imagine how I can test this with the code snippet in the question? Luckily I researched and found that it's probably that Jake Ryan CV template and I built a ...
by Stefan Kottwitz
Thu Jul 03, 2025 5:53 pm
Forum: Math & Science
Topic: Aligning formulas with both left and right alignment
Replies: 1
Views: 553

Re: Aligning formulas with both left and right alignment

Welcome to the forum!

You yould insert more column separators:

\documentclass[12pt, twoside, a4paper]{article}
\usepackage{mathtools}
\usepackage[italicdiff]{physics}
\numberwithin{equation}{subsection}
\begin{document}
\begin{subequations}
\label{eq:Cartesian}
\noindent
\textbf{Cartesian ...
by Stefan Kottwitz
Thu Jul 03, 2025 5:39 pm
Forum: General
Topic: Command to create and send to directories
Replies: 2
Views: 318

Re: Command to create and send to directories

Hi,

welcome to the forum!

There's no LaTeX command for creating directories. You can choose the output directory though, with the -output-directory option for pdflatex.

Or use a Makefile, latexmk, or shellscript for creating directories and sorting the files, after compilation.

Stefan
by Stefan Kottwitz
Thu Jul 03, 2025 5:35 pm
Forum: Text Formatting
Topic: Issue with spacing within an item when text wrapped
Replies: 1
Views: 383

Re: Issue with spacing within an item when text wrapped

Hi,

welcome to the forum!

I don't have such an issue with spacing of a line. Perhaps post a small compilable example, that shows the situation in your case, so we can verify that and help improving it.

Stefan
by Stefan Kottwitz
Wed Jul 02, 2025 11:27 am
Forum: Text Formatting
Topic: Unsure about hyphen spacing between some words
Replies: 2
Views: 719

Re: Unsure about hyphen spacing between some words

That is not really a LaTeX issue but a kerning issue of the font, which should contains corrections for combinations of characters/glyphs. For example, with kpfonts , it looks a bit better.

You can use a small manual quick fix like Trope-\!Tic:

\documentclass{scrartcl}
\title{Terrible layout ...
by Stefan Kottwitz
Wed Jul 02, 2025 11:15 am
Forum: General
Topic: Weird space after heading
Replies: 3
Views: 605

Re: Weird space after heading

Hi mjane,

welcome to the forum!

Put the \resumeSubHeadingListEnd command at the end of a section, before the next section starts.
resume.jpg
resume.jpg (30.75 KiB) Viewed 590 times
Stefan
by Stefan Kottwitz
Wed Jun 25, 2025 3:38 pm
Forum: Graphics, Figures & Tables
Topic: include table makes whole new page
Replies: 2
Views: 950

Re: include table makes whole new page

Hi Maike,

welcome to the forum!

Use \input instead of \include:

Code: Select all

\input{my_table.tex}
\include is for chapter files and makes a page break, \input is for any TeX code.

Stefan