Search found 394 matches

by rais
Mon Nov 20, 2023 12:35 am
Forum: Graphics, Figures & Tables
Topic: Dotfill in cases environment
Replies: 2
Views: 815

Dotfill in cases environment

You could use \settowidth to get the natural width of everything that's left of the tabularx environment. The tricky thing is the width of the opening brace, because the higher the brace becomes, the wider it will be. For compensation you now can use an optional argument, e.g., \begin{DotCases}[x\\x...
by rais
Thu Nov 16, 2023 3:16 pm
Forum: Graphics, Figures & Tables
Topic: Create table with variable content
Replies: 1
Views: 758

Create table with variable content

You can split your project in as many files as you want, but I wouldn't make anything depending on that. Here's an idea using a TOC-like approach: \documentclass{article} \usepackage{blindtext} \newlength\activitywidth % the width for activity within the list of activities (LOA) \newlength\categorys...
by rais
Thu Nov 02, 2023 11:33 pm
Forum: BibTeX, biblatex and biber
Topic: Citation Issues
Replies: 1
Views: 720

Citation Issues

I doubt entry RN125 is the same as entry [125] in the bibliography, not even their years match. To figure out what's going on you could try something like \documentclass{article} \bibliographystyle{unsrt} \begin{document} \nocite{*} \bibliography{name-of-your-bib-file} \end{document} After processin...
by rais
Sat Oct 21, 2023 9:09 pm
Forum: Graphics, Figures & Tables
Topic: tikzlings from 'LaTeX Graphics with TikZ' Topic is solved
Replies: 4
Views: 1531

tikzlings from 'LaTeX Graphics with TikZ' Topic is solved

According to tikzlings (see page 3), all you need to do is turn
\usepackage{tikzlings}

into
\usetikzlibrary{tikzlings}

KR
Rainer
by rais
Mon Sep 18, 2023 2:02 am
Forum: Graphics, Figures & Tables
Topic: Is there a way to "trace" a path and define a coordinate?
Replies: 8
Views: 2248

Is there a way to "trace" a path and define a coordinate?

Hi Dan, I tried \coordinate[at end] (A) (0,0) arc(0:90:2); well, \coordinate is basically a node without a size of its own, hence the arc will be put into nothing, so to speak. For getting points along the arc (or whatever curve you have), you can use options like `at start', `near end', etc, or its...
by rais
Sun Sep 10, 2023 10:12 pm
Forum: Text Formatting
Topic: Text Formatting in a table
Replies: 2
Views: 1357

Text Formatting in a table

An alternate way may be to use array 's m column. Just don't mix m with p columns within the same tabular environment, that may have the opposite effect: if, say, you specify m for the shorter text (that ended up at the top) but p for the longer text, the shorter text gets vertically centered to the...
by rais
Sun Sep 10, 2023 9:54 pm
Forum: Page Layout
Topic: Questions about page numbering and footers with memoir Topic is solved
Replies: 3
Views: 1768

Questions about page numbering and footers with memoir Topic is solved

Turn \aliaspagestyle{chapter}{standard} to \aliaspagestyle{chapter}{plain} % We want all initial chapter pages on the right page not the left \cleartoverso That would clear to the next even numbered page, which in a twosided layout is on the left---unless you're typesetting something that's read fro...
by rais
Sat Sep 02, 2023 9:10 pm
Forum: Graphics, Figures & Tables
Topic: foreach loop vs. no foreach loop
Replies: 4
Views: 9656

foreach loop vs. no foreach loop

I can do that simply with \global\let\r=\r without any iterative definition problems? Yes. Unlike \def (or \[re]newcommand), \let creates a copy of what's on the right side of the (optional) equal sign. Come to think of it, you might as well use \xdef\r{\r} which expands {\r} before it gets globall...
by rais
Sat Sep 02, 2023 2:07 pm
Forum: Math & Science
Topic: Bad math environment error
Replies: 1
Views: 10217

Bad math environment error

Hello and Welcome aboard :) Your \[ (just after the equal sign) tries to start a new (displayed) math environment, but you're already in math mode. The last closing brace has no partner, either. BTW: you're defining \Rho, but you're using \rho. Since (La)TeX is case-sensitive, the definition of \Rho...
by rais
Sat Sep 02, 2023 11:14 am
Forum: Graphics, Figures & Tables
Topic: foreach loop vs. no foreach loop
Replies: 4
Views: 9656

foreach loop vs. no foreach loop

Hi Dan, that's because the loop's, hmm, body is executed in a TeX group, so when \s is incremented, \ang and \r revert to their contents they had before the inner \foreach started (r=8, ang=0). \documentclass{article} \usepackage{tikz} \usepackage{pgfmath} \usetikzlibrary{intersections} \begin{docum...

Go to advanced search