Search found 10254 matches

by Stefan Kottwitz
Fri May 09, 2025 5:39 pm
Forum: Graphics, Figures & Tables
Topic: Spreadtab Package - Autoround Key
Replies: 4
Views: 12577

Re: Spreadtab Package - Autoround Key

With STset;

%!TEX lualatex
\documentclass{article}
\usepackage{spreadtab}
\begin{document}
\STset{autoround=2}
\begin{spreadtab}{{tabular}{|lrcr|}}
\hline
@Materials & & & (0.00*4)+0+750.0234 \\ %CCLLC=$50/D*4D %CT=$750
\hline
\end{spreadtab}
\end{document}

Try the "Run LaTeX here" button ...
by Stefan Kottwitz
Fri May 09, 2025 4:41 pm
Forum: Graphics, Figures & Tables
Topic: Spreadtab Package - Autoround Key
Replies: 4
Views: 12577

Re: Spreadtab Package - Autoround Key

Hi Kurt,

the code is not compilable, so it cannot be tested or improved. Perhaps edit the post and complete it, so readers can test it.

Stefan
by Stefan Kottwitz
Thu Apr 03, 2025 10:41 am
Forum: General
Topic: Change Page order
Replies: 2
Views: 11450

Re: Change Page order

Hi Mimiett,

welcome to the forum!

You could build your document in the regular way so page numbering and cross-references are fine, and you can use the pdfpages packages to make a new PDF with a different page order. Like building a new small document, load the package, and use \includepdf[pages ...
by Stefan Kottwitz
Wed Apr 02, 2025 10:54 pm
Forum: Graphics, Figures & Tables
Topic: Fill Between Again (I know.. I am trying)
Replies: 1
Views: 14161

Re: Fill Between Again (I know.. I am trying)

Just use the option "axis on top" for the axis environment, so the axis lines are drawn over the plot.

Stefan
by Stefan Kottwitz
Tue Apr 01, 2025 3:33 pm
Forum: Graphics, Figures & Tables
Topic: More Fill Between Questions
Replies: 3
Views: 12652

Re: More Fill Between Questions

I think that's because you still have a second \fill command; as you had two \fill before, I do only one \fill. It adds with opacity/transparency.

Stefan
by Stefan Kottwitz
Tue Apr 01, 2025 1:29 pm
Forum: Graphics, Figures & Tables
Topic: More Fill Between Questions
Replies: 3
Views: 12652

Re: More Fill Between Questions

Hi Nick,

you can fill the path between A and the axis, and clip with the circle:

\begin{scope}[on background layer]
\clip (axis cs:0,0) circle (4);
\fill[blue!30, opacity=0.5, intersection segments={
of= A and axis, sequence = {R*--L*}
}] -- cycle;
\end{scope}

fill-intersection.png

Stefan
by Stefan Kottwitz
Sun Mar 30, 2025 11:36 pm
Forum: General
Topic: LaTeX books at 15% discount
Replies: 1
Views: 87545

LaTeX books at 15% discount

Packt Publishing offers all three of their LaTeX books at a 15% discount. From Packt at LinkedIn :
🎉 Special Offer Alert!
For a limited time, get your print copy on Packt with an exclusive discount! Use code: <strong>LEARNLATEX15</strong> at checkout and enjoy a 15% discount, valid until April 22 ...
by Stefan Kottwitz
Thu Mar 20, 2025 12:23 am
Forum: General
Topic: 'flowfram' text position in columns
Replies: 2
Views: 16108

Re: 'flowfram' text position in columns

Hi Zachary,

it's great that you posted a compilable example! So I could test it, and I see that the text is positioned as desired when you move the \marginpar positioning in the code:

Code: Select all

\verseone\marginpar{\centering\vspace{.08em}1:1}
output.jpg
output.jpg (44.74 KiB) Viewed 16067 times
Does this help?

Stefan
by Stefan Kottwitz
Tue Mar 18, 2025 9:59 am
Forum: LyX
Topic: Environment that enumerate and start with a word
Replies: 4
Views: 19195

Re: Environment that enumerate and start with a word

I don't use the LyX UI myself, I prefer LaTeX. As I also see in the link you provided, it get's difficult with LyX if a document is not standard.

With LaTeX, I would use the exam class (looks easy to work with), such a template, or the xsim package (looks difficult to learn).

Stefan
by Stefan Kottwitz
Mon Mar 17, 2025 6:17 pm
Forum: LyX
Topic: Environment that enumerate and start with a word
Replies: 4
Views: 19195

Re: Environment that enumerate and start with a word

It depends on how you are doing that environment. But you can redefine how the counter is printed, like \renewcommand*{\theexercice}{exercice \arabic{exercice}}.

Stefan