Search found 17 matches

by vaman
Mon Sep 13, 2021 12:42 pm
Forum: Math & Science
Topic: text in equation
Replies: 4
Views: 7197

text in equation

Code: Select all

\documentclass{article}
\begin{document}	
	\begin{equation}
	I(p)= \frac{1}{p} \left(1- \frac{1-p}{K(1-p)}\right) \;\;\; Or \;\;\;	
	 K(P)=\frac{p}{1-(1-p) \;I(1-p)}
			\end{equation}
			\end{document}
by vaman
Sun Sep 12, 2021 5:13 pm
Forum: Graphics, Figures & Tables
Topic: Different vertical Alignment in Table Columns
Replies: 9
Views: 26845

Different vertical Alignment in Table Columns

\documentclass[a4paper,12pt,BCOR10mm,oneside]{scrartcl}
%\usepackage[ngerman]{babel}
\usepackage[utf8]{inputenc}
\usepackage[babel,german=quotes]{csquotes}
\usepackage[T1]{fontenc}
\usepackage{tabularx}
\usepackage[absolute,overlay]{textpos}
\usepackage{wallpaper}
\usepackage{tabu}
\areaset{17cm ...
by vaman
Mon Sep 06, 2021 6:23 am
Forum: Text Formatting
Topic: Problem compiling a table environment
Replies: 6
Views: 7342

Problem compiling a table environment


\documentclass{article}
\usepackage{amsmath}
\begin{document}
\begin{table}[h]
\caption{Table to test captions and labels}\\
\label{table:1}\\
\vspace{.5cm}
\centering
\begin{tabular}{||c c c c||}
\hline
Col1 & Col2 & Col2 & Col3 \\ [0.5ex]
\hline\hline
1 & 6 & 87837 & 787 \\
2 & 7 & 78 & 5415 ...
by vaman
Mon Aug 23, 2021 12:02 pm
Forum: Math & Science
Topic: Small alignment problem in two equations
Replies: 9
Views: 13886

Small alignment problem in two equations


\begin{align}
ds^2 &= dt^2 - \ell_{\Lambda}^2 \sinh^2 {\omega t} \, \big( \, d\chi^2 + \sinh^2 {\chi} \; (\, d\vartheta^2 + \sin^2 {\vartheta} \; d\varphi^2 ) \big), \\[18pt]
ds^2 &= dt^2 - \ell_{\Lambda}^2 \cosh^2 {\omega t} \, \big( \, d\chi^2 + \;\sin^2 {\chi} \; (\, d\vartheta^2 + \sin^2 ...
by vaman
Mon Aug 23, 2021 11:51 am
Forum: Text Formatting
Topic: Problem compiling a table environment
Replies: 6
Views: 7342

Problem compiling a table environment

\documentclass{article}
\usepackage{amsmath}
\begin{document}
\begin{table}[h]
\caption{Table to test captions and labels}\\
\label{table:1}\\
\vspace{.5cm}
\centering
\begin{tabular}{||c c c c||}
\hline
Col1 & Col2 & Col2 & Col3 \\ [0.5ex]
\hline\hline
1 & 6 & 87837 & 787 \\
2 & 7 ...
by vaman
Mon Aug 23, 2021 11:38 am
Forum: Math & Science
Topic: Problem with {split}
Replies: 9
Views: 16810

Problem with {split}

Can you post a snap of your equation. This is because, you have mathematical symbols which are not to be used in the equation mode.
by vaman
Sun Aug 22, 2021 7:34 am
Forum: General
Topic: Error: automatic jump to error line in source code
Replies: 2
Views: 15088

Error: automatic jump to error line in source code

\documentclass{article}

\begin{document}
This is my answer.
\input{ask1}
\input{ask2}

to get the final answer. Save input file by removing begin and end document end documentclass in the same folder.
\end{document} .

ask1 contains just a line I am asking this question
ask2 contains a ...
by vaman
Sat Aug 21, 2021 12:25 pm
Forum: Page Layout
Topic: ToC Formatting
Replies: 4
Views: 4480

ToC Formatting

Please try this.
CHAPTER \\ for one space and \\ \\ for two space and continue. It worked for me.

CHAPTER
\\
31. Chapter 4
This gives required spacing.
by vaman
Sat Aug 21, 2021 12:10 pm
Forum: Text Formatting
Topic: How to center section titles in article class
Replies: 5
Views: 61058

How to center section titles in article class


\documentclass[12pt,oneside]{article}
\usepackage[letterpaper,margin=1in]{geometry}
\usepackage{blindtext}
\def \bc{\begin{center}}
\def{\ec{\end{center}}
\begin{document}
\bc
\section{First title}
\ec
\blindtext
\bc
\section{Second title}
\ec
\blindtext
\bc
\subsection{A sub-section ...
by vaman
Fri Aug 20, 2021 1:18 pm
Forum: Graphics, Figures & Tables
Topic: Problem with table width
Replies: 4
Views: 5460

Problem with table width

\documentclass[12pt]{article}
\setlength{\textwidth}{15cm}
\setlength{\parindent}{0pt}
\setlength{\textheight}{8in}
\setlength{\voffset}{-1cm}
\setlength{\hoffset}{-0.5cm}
\begin{document}

{\bf USER DATA:}

\vspace{0.5cm}


\begin{tabular}{|p{3cm}|p{4cm}|p{3cm}|p{3cm}|}\hline

\textbf{User e-mail ...