Hi
I've written an article, but the right margin is remarquably wider than the left. I've tried to exclude the Xyling document class, but that didn't have any effect. What should I do?
Here's my preamble:
\documentclass[12pt,b5paper]{article}
\usepackage[latin1]{inputenc}
\usepackage[cyr]{aeguill}
\usepackage{tipa}
\usepackage {linguex}
\usepackage{xyling}
\usepackage {chicago}
\usepackage{graphicx}
\renewcommand{\baselinestretch}{1.5}
% \strikeout{text}: prints a struck-out version of #1
\newlength{\howlong}
\newcommand{\strikeout}[1]{
\settowidth{\howlong}{#1}%
#1\unitlength0.5ex%
\begin{picture}(0,0)
\put(0,1){\line(-1,0){\howlong\divide\unitlength}}
\end{picture}%
}
Any suggestions?
Christine
General ⇒ Wrong right margin
NEW: TikZ book now 40% off at Amazon.com for a short time.

- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Wrong right margin
Paper and page dimensions can be set with geometry. Have a look at its documentation.
Best regards
Thorsten¹
Best regards
Thorsten¹
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
-
- Posts: 18
- Joined: Tue Mar 20, 2007 7:42 pm
Re: Wrong right margin
A very good tip, but it didn't work. I tried the centering command as well as defining the margins, but with no luck.
C
C
- Stefan Kottwitz
- Site Admin
- Posts: 10345
- Joined: Mon Mar 10, 2008 9:44 pm
Wrong right margin
Hi Christine,
perhaps provide a minimal working example (compilable) showing the margin problem. I've tested this preamble and got equal left and right margins, the problem could be caused by other code that you didn't post or by external tools used like driver or converter.
Stefan
perhaps provide a minimal working example (compilable) showing the margin problem. I've tested this preamble and got equal left and right margins, the problem could be caused by other code that you didn't post or by external tools used like driver or converter.
Stefan
LaTeX.org admin
Wrong right margin
Christine,
Although you don't ask anything about your \strikeout command, perhaps you may find useful the following code:
Add it to the preamble and then compare
Your macro leaves an undesirable space before the struck text.
Although you don't ask anything about your \strikeout command, perhaps you may find useful the following code:
Code: Select all
\newcommand{\Strikeout}[1]{\settowidth{\howlong}{#1}\makebox[0pt][l]{\rule[0.5ex]{\howlong}{0.4pt}}#1}
Code: Select all
Code, edit and compile here:
The \Strikeout{quick brown fox} jumps over the \Strikeout{lazy dog}The \strikeout{quick brown fox} jumps over the \strikeout{lazy dog}
The CTAN lion is an artwork by Duane Bibby. Courtesy of www.ctan.org.