Text FormattingEquation small letters

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
seba7207
Posts: 7
Joined: Thu Oct 06, 2011 10:47 am

Equation small letters

Post by seba7207 »

Hi, I have problem with equation. After compilating

Code: Select all

\be \begin{array}{l}
\frac{d\mathbf{V}_f}{dt}= - \frac{C_{Daf} S_f \rho \mathbf{V}_f^2}{2 m_f}-g\sin\gamma_f\\
\frac{d \gamma_f}{dt}=\frac{1}{\mathbf{V}_f} \left( \frac{C_{Laf}S_f\rho\mathbf{V}_{f}^2}{2m_f} -g\cos\gamma_f \right) \\
\frac{dx}{dt}=V_f\cos\gamma_f \\
\frac{dz}{dt}=V_f\sin\gamma_f\\
\frac{d x_1}{dt}=V_s-V_f\cos\gamma_f\\
\frac{d\theta_f}{dt}=\omega_{yf}\\
\frac{d\omega_{yf}}{dt}=\frac{C_{mf}S_f l_f \rho \mathbf{V}_f^2}{2I_{yf}}\\
\alpha_f=\theta_f-\gamma_f
\end{array} \label{eq:rownruchsym}
\ee \nsz
I have document pdf. All equations in this chapter are incorrect (all numbers are 5.0). The next problem is that some of symbols are very small in pdf document and spaces interlines are very small. My class document is
\documentclass[11pt,onecolumn,twoside,openright,b5paper]{mwbk}
Last edited by seba7207 on Mon Oct 10, 2011 8:36 pm, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

svend_tveskaeg
Posts: 478
Joined: Sun Jul 12, 2009 5:31 am

Equation small letters

Post by svend_tveskaeg »

A MWE is required.
``In the game of chess, you can never let your adversary see your pieces.''
-- Zapp Brannigan, Futurama (season 1, episode 4)
seba7207
Posts: 7
Joined: Thu Oct 06, 2011 10:47 am

Equation small letters

Post by seba7207 »

Code: Select all

\documentclass[11pt,onecolumn,twoside,openright,b5paper]{mwbk}
\linespread{1}

\sloppy
\setlength{\parindent}{5mm}
\setlength{\parskip}{2mm}

\textwidth 12.5cm
\textheight 18.6cm
\usepackage{polski}
\usepackage[cp1250]{inputenc}
\usepackage{pgf}
\usepackage[T1]{fontenc}
\usepackage{graphics,epsfig,subfigure,figsize}
\usepackage{amsmath,wasysym,amssymb,amsthm, multirow}
\usepackage{booktabs}
\usepackage{url}
\usepackage{longtable}
\usepackage[figuresright]{rotating}
\usepackage{overpic}
\usepackage{textcomp}
\usepackage{hyperref,url}
\usepackage[all,ps,cmtip]{xy}
\usepackage{caption}
\usepackage{srcltx}
\usepackage{epstopdf}
\usepackage{here}
\usepackage{booktabs}
\sloppy
\newcommand\be{\begin{equation}\footnotesize}
\newcommand\ee{\end{equation}}
%\newcommand{\Bold}[1]{\boldsymbol{#1}}
% Bold math symbol, use as \Bold{\alpha}
\newcommand\bef{\begin{figure}}
\newcommand\eef{\end{figure}}
\newcommand\nsz{\normalsize}
\newcommand\fsz{\footnotesize}
\newcommand\ssz{\scriptsize}
\renewcommand*{\figurename}{\bf Rys.}
\renewcommand*{\tablename}{\bf Tab.}
\newcommand*{\tablerefname}{Tabela}
\renewcommand{\appendixname}{Dodatek}
\renewcommand{\bibname}{Bibliografia}
\renewcommand{\indexname}{Indeks}
\mathversion{normal}

%\renewcommand{\bibname}{Literatura}
%\setcounter{secnumdepth}{4}
%\setcounter{tocdepth}{4}
\newcommand{\topcaption}{%
\setlength{\abovecaptionskip}{0pt}%
\setlength{\belowcaptionskip}{0pt}%
\caption}


\title{\textbf{Podstawy dynamiki lotu samolotu\\ i modelowanie procesu katapultowania}}
\author{Sebastian GŁOWIŃSKI}
\date{2013}

\begin{document}
\maketitle
\tableofcontents
\include{Nomenclature/nomenclature}
\include{rozdz1/rozdz1}
\include{rozdz2/rozdz2}
\include{rozdz3/rozdz3}
\include{rozdz4/rozdz4}
\include{rozdz5/rozdz5}
\include{tabele/tabele}
\include{bibliografia/lit_mon}

\renewcommand{\bibname}{Literatura}
\renewcommand{\baselinestretch}{1.26}
\normalsize
\bibliography{bibliografia/lit_mon}{10}
\bibliographystyle{plain}

\listoffigures
\listoftables

\end{document} 
Thanks for help
maxmax
Posts: 29
Joined: Sat Sep 03, 2011 11:19 am

Re: Equation small letters

Post by maxmax »

I cant really see the problem. In your MWE the includes are missing, so nothings in the document. Any specific reason you are using array instead of align?

EDIT:
Ah, okay, i see the problem. What is \be,\ee and \nsz?
Why are you not using just the align environment? I have never seen this way of displaying equations, so i dont know...
User avatar
Stefan Kottwitz
Site Admin
Posts: 10329
Joined: Mon Mar 10, 2008 9:44 pm

Equation small letters

Post by Stefan Kottwitz »

Hi,

I would not use abbreviations such as \be and \ee for beginning and ending equations: you hide the real meaning, you use commands instead environment syntax. Who should understand in the first post, what those abbreviations mean? Your second post at least shows the definitions.

Back to your equation: you wrote one equation, so you get one number only. Within the equation you used an array, LaTeX cannot know that you would like to number rows of an array. Smaller size is a result of your \newcommand\be{\begin{equation}\footnotesize}.

Here's how you could do it, using align:

Code: Select all

\begin{align}
    \frac{d\mathbf{V}_f}{dt}&= - \frac{C_{Daf} S_f \rho \mathbf{V}_f^2}{2 m_f}-g\sin\gamma_f\\
    \frac{d \gamma_f}{dt}&=\frac{1}{\mathbf{V}_f} \left( \frac{C_{Laf}S_f\rho\mathbf{V}_{f}^2}{2m_f} -g\cos\gamma_f \right) \\
    \frac{dx}{dt}&=V_f\cos\gamma_f \\
    \frac{dz}{dt}&=V_f\sin\gamma_f\\
    \frac{d x_1}{dt}&=V_s-V_f\cos\gamma_f\\
    \frac{d\theta_f}{dt}&=\omega_{yf}\\
    \frac{d\omega_{yf}}{dt}&=\frac{C_{mf}S_f l_f \rho \mathbf{V}_f^2}{2I_{yf}}\\
    \alpha_f&=\theta_f-\gamma_f
\end{align}
Note, & marks the equal signs for alignment.

Have a look at mathmode.pdf for learning about writing maths with LaTeX. Since you write a scientific document, I guess reading this is easy for you.

Stefan
LaTeX.org admin
seba7207
Posts: 7
Joined: Thu Oct 06, 2011 10:47 am

Re: Equation small letters

Post by seba7207 »

Thank,s for your help.
Post Reply