Search found 9 matches

by latex_fun
Mon Sep 29, 2025 2:59 am
Forum: General
Topic: Undefined control sequence - ?? os error or hadware issue
Replies: 0
Views: 1383

Undefined control sequence - ?? os error or hadware issue

Got the above error message trying to pdflatex a file:
! Undefined control sequence.
l.278 \cit

Couldn't see anywhere I had \cit{reference} instead of \cite{reference} etc.

So I cut out the recently added text, saved to a new file, then added text paragraph by paragraph - the error has just gone ...
by latex_fun
Thu Sep 18, 2025 7:39 am
Forum: Math & Science
Topic: citation in maths mode
Replies: 2
Views: 7044

Re: citation in maths mode

Thanks Stefan
by latex_fun
Tue Aug 05, 2025 1:39 am
Forum: Math & Science
Topic: citation in maths mode
Replies: 2
Views: 7044

citation in maths mode

Hi Stefan,
If I try to put a citation in maths mode I get an error:
! LaTeX Error: Command \upshape invalid in math mode

How can I do this correctly?
Kind regards

MWE:


\documentclass{amsart}
\usepackage{amsfonts}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{amsthm}
\usepackage{soul ...
by latex_fun
Wed Jul 02, 2025 1:07 pm
Forum: Text Formatting
Topic: Unsure about hyphen spacing between some words
Replies: 2
Views: 6880

Re: Unsure about hyphen spacing between some words

Hi Stefan,
Thanks, that's perfect, you're awesome!
Kind regards
by latex_fun
Tue Jul 01, 2025 1:02 am
Forum: Text Formatting
Topic: Unsure about hyphen spacing between some words
Replies: 2
Views: 6880

Unsure about hyphen spacing between some words

Hi again Stefan,
I'm unsure about the spacing latex allocates between hyphenated words for some cases.
For some letter combinations, the space following the hyphen up to the start of the next letter seems excessive, e.g. Trope-Tic (not a real phrase, just made it up).
Questions:
1. Has latex got it ...
by latex_fun
Wed Jun 18, 2025 3:14 pm
Forum: General
Topic: single smart quotes
Replies: 2
Views: 7950

Re: single smart quotes

Thanks!
by latex_fun
Wed Jun 18, 2025 2:30 am
Forum: General
Topic: single smart quotes
Replies: 2
Views: 7950

single smart quotes

Hi again Stefan!
Is there an easy way to do single smart quotes?
I'm currently trying \usepackage[autostyle]{csquotes} but:
1. Doesn't give smart quotes, just straight lines;
2. Words immediately following the right quote don't seem to get a leading space (so the code below renders like; like ...
by latex_fun
Tue Jun 17, 2025 10:16 am
Forum: Text Formatting
Topic: text from body getting dragged into a footnote
Replies: 2
Views: 12470

Re: text from body getting dragged into a footnote

Hi Stefan,
Okay, thanks
by latex_fun
Mon Jun 16, 2025 11:08 am
Forum: Text Formatting
Topic: text from body getting dragged into a footnote
Replies: 2
Views: 12470

text from body getting dragged into a footnote

Hi,
Probably sort itself out by final copy, but with the current draft I have text from the body of the page overlapping with a footnote.
The footnote is from the first line of the page currently.
With edits (new text getting added earlier in the document) that line will probably get pushed down ...