2
votes
1answer
33 views

Need to represent information about a matrix, attached image showing what is needed [duplicate]

The following matrix is of size $10 \times 10$, however it is representing an $m \times m$ matrix. Hence I need to signify that the first five columns represent terms $0$ to $\frac{m}{2} - 1$ and the ...
5
votes
1answer
85 views

Break in square root line

I'm having a problem where the line that runs the top length of my square root sign is discontinuous. \begin{equation} N_t(\text{V})=\sqrt{\sum_{i=0}^{n}N_i^2} \end{equation} Yields this... ...
5
votes
2answers
295 views

Prettying up this equation from Mathematica

I like to type in 2d maths into Mathematica and then generate latex code for it. It has been working fine so far until I attempted this expression: TeXForm[HoldForm[ S (k*L) = (4*l + 1)/ 2 ...
1
vote
0answers
41 views

How can I make text inside set notation look like normal text?

I'm very new to LaTeX, and have never been very good with computers, so apologies for not knowing how to post questions on here properly or missing out anything important. I have this: ...
2
votes
2answers
116 views

Problem with the \mathbf command

In this MWE, I want to obtain bold letter for the letter "H" (compare the two "H") : \documentclass[10 pt]{beamer} \usetheme{default} \usepackage{lmodern} % load a font with all the characters ...
2
votes
2answers
93 views

reducing space taken by big math equation

i hve few big equation in my file and they take lot of space. plase help me in reducing their size.i have already tried using \declaremathsizes but it only reduces math font size nt the space it ...
8
votes
2answers
71 views

How do I vary the height of braces without varying the width?

I am trying to highlight pieces of a formula with some text on the side, but one of those pieces is multiple lines. The solution that I came up with was to use braces in an array to highlight the ...
2
votes
0answers
68 views

Automatic line and page breaking - how to turn it off?

I am using MiKTeX 2.9 , I want to turn off automatic line and page breaking , I was trying to use {verbatim} , {alltt} and \verb+...+ , it works , but doesn't keep original font (I am using ...
1
vote
0answers
84 views

\to or \longrightarrow and \mapsto or \longrightarrow in functions? [closed]

I'm typing up a research project and I am not sure which ones I should use when I'm defining functions. I personally prefer \longrightarrow and \longmapsto but I see a lot of people use \to and ...
3
votes
0answers
71 views

Should points in geometry be italic? [closed]

Variables should be italic, that's where we all agree (I think). So, a length of a segment could be marked with a. What about using |AB| for length of line segment? What about notation for a triangle? ...
4
votes
1answer
81 views

Equation number placement

\documentclass[12pt,a4paper]{article} \usepackage{amsmath}\usepackage{amssymb} \begin{equation} R_{jt,L} = \left\{ \begin{array}{ccl} R_{jt} & ; & \mbox{if $P_{jt-1} > P_{jt-1,L}$; } \\ ...
1
vote
3answers
100 views

How to outputs 'C\C++'

I just try output C\C++ in LaTeX as following below: \textit{C\backslashC\+\+} But im getting this issue: ! Undefined control sequence. <argument> C\backslashC \+\+ ...
2
votes
2answers
209 views

Two questions: Math mode and tree diagrams for probability in LaTeX

I am trying to print a worksheet for the math class I'm teaching and I was wondering if anyone can specifically help me out in two areas. a) How do I get the output BAL1L2 without the slant? ...
4
votes
1answer
60 views

Split long text in a formula

I need to insert a formula containing text within. My problem is this text is long and it goes way over the margins, so I am trying to split the line so it could nicely fit in the page. Nothing I have ...
7
votes
3answers
656 views

Write more beautiful math equations, like a professional book

I want to write math equations more "beautiful". My equations are shown as follows: The vector looks ugly and disproportionate. And I like that they look it this way: The vector looks ...
7
votes
2answers
140 views

Typsetting binary arithmetic

I'm stuck trying to typset the following in math mode. I cannot get the spacing correct. 0100 [4 in decimal] x 1100 [12 in decimal] ------ + 0000 [0100 x 0] + 0000 ...
8
votes
4answers
155 views

How to define mathematical functions by the action on an element?

I would like to define a mathematical function by its action. Something like \documentclass{article} \begin{document} \[ \begin{array}{cccc} f\colon & R\times R ...
0
votes
1answer
104 views

Straight bar Latex [duplicate]

How to write the straight bar with subscript as I have attached in the picture?
3
votes
3answers
192 views

Equations in normal LaTeX to MathJax formatting

To use the align environment in a document one does something like: \begin{align*} x &= \sqrt{4^2-1^2} \\ &= \sqrt{15}. \end{align*}put However, to achieve the same desired output on a ...
1
vote
1answer
90 views

Assigning different colors to numerical values below a certain parameter?

I'm relatively new to Latex so apologies for any stupidity upcoming. I'm trying to read a Matlab vector into a latex table with values ranging between 0 and 1. For the values less than 0.1, I want ...
6
votes
1answer
225 views

The size of roots

I can't get to the root of this problem: I need the second root to be the same height as the first one $\sqrt{F} \: \sqrt{F_{x_x}}$ I know I can use \vphantom, but I don't know how.
3
votes
2answers
306 views

How to improve this code to obtain more compact equation?

I have been trying to obtain more compact output for the following code. Any help will really be appreciated! \Pr(s_i^2)= ...
0
votes
1answer
137 views

Formatting of other special functions

There are special macros for stuff like exp, sin, cos, etc... but not for the non-elementary special functions like F, J, I, K, E etc... although their symbold are quite standard throughout ...
2
votes
1answer
286 views

Compound fractions (i.e., “mixed numbers”) look bad in displaystyle

I find that in display mode, fractions that represent simple rational numbers look way too big. For instance, consider this case: $$ a = \frac12(b+c) $$ The fraction gets inordinately large ...
1
vote
3answers
131 views

Equation line break up

\documentclass[12pt,a4paper]{article} \usepackage{amsmath}\usepackage{amssymb} \textwidth=16.5cm \oddsidemargin=-0.10cm \evensidemargin=-0.10cm \topmargin=-1.0cm \textheight=24.5cm ...
2
votes
3answers
119 views

Formatting an equation

\begin{align} \frac{1}{2} (1-\varepsilon^2)\left(\partial_\tau \phi\right)^2 = \frac{1}{2} \left(1-\epsilon ^2\right) \left( -\frac{S \epsilon \sin\tau }{\sqrt{\lambda }} -\frac{\text{g2} S^2 ...
11
votes
3answers
195 views

How to draw a border around character in a formula?

So far everything I found on the matter of borders only applies to the text mode. I want to be able to do something like $x_i = y$ so the result will be like the ordinary "xi = z" formula with the ...
6
votes
2answers
175 views

Vectorization operator

How can I represent the vectorization of a matrix A (i.e, vec(A))? I am talking about this simple operator:
4
votes
1answer
64 views

Smaller font for < sign

I have a table where i report times. Some elements are very small and I would like to write $<1\mathrm{ms}$. However, if I do so, the < 1ms will occupy even more space than a three digit number ...
2
votes
0answers
144 views

radical of polynomial A rad A [closed]

Do we have something like \rad for the radical of a polynomial in LaTeX? I am writing in the equation mode within the theorem environment and everything is in italics. If I use \text{rad}, then I get ...
12
votes
2answers
251 views

How to have a number directly under a decimal point?

I am trying to write a number in quaternary form and would ideally like to show this by having a four underneath the decimal point. I've searched around, but can't figure out how to do this so any ...
2
votes
1answer
135 views

Formatting a conditional table of coefficients in LaTeX

I'm totally blanking on how to format this, or even what to use as a search term to see if anyone has asked about it before. I would like to make a conditional table of coefficients (ie. two tables ...
2
votes
1answer
283 views

Formatting capital letters in math mode

This is perhaps a simple question, but I would like to print a capital I in my LaTeX document (beamer specifically) inside a $...$ construct. I would like my I to appear more substantial by having ...
3
votes
1answer
221 views

In “math-mode line” non-math type

I'd like to type non-math text inside of the bracket math text lines, or know of a better way to do what I'm trying to do. In the following, I don't literally type \nomath. I don't know what I need ...
20
votes
1answer
337 views

Sloppy \left and \right?

The \left and \right commands often produce improvidently large delimiters. It almost always looks better to use delimiters that are just slightly too small than delimiters that are too large. With ...
1
vote
0answers
44 views

Space between a|b in math mode? [duplicate]

For a context free grammar I need to write: A -> a | b My code for this is $ A \rightarrow a | b $ however this gives me something like A -> a|b // wanted: a | b, note the space before ...
3
votes
1answer
720 views

Typeset a number in hexdecimal format (preferably math mode)

Is there a macro for formatting numbers in programming style 0x hex notation, e.g. instead of -1155484576 have 0xbb20b460. I would like to embed these numbers in a math mode context. E.g. if I just ...
2
votes
2answers
154 views

Can anyone solve my error and make the long multiline equation multiline please?

In case it matters, I'm using win edit as editor. \documentclass[12pt,a4paper]{article} \usepackage{amsmath}\usepackage{amssymb} \textwidth=16.5cm \oddsidemargin=-0.10cm \evensidemargin=-0.10cm ...
3
votes
2answers
275 views

LaTeX Capabilities: Complicated and Important Equations

As I am introducing LaTeX to an audience, I'd like to show how it can render equations beautifully. As such, I'd like one equation (math/physics) that combines many different formatting requirements, ...
2
votes
0answers
52 views

Difference between \mathrm, \operatorname and \text? [duplicate]

Possible Duplicate: What’s the difference between \mathrm and \operatorname? I am a beginner of latex, and am always having a hard time differentiate these commands since they seem always ...
6
votes
1answer
228 views

Simple way to place an array of symbols above a letter?

I would like to typset something similar to the symbol used for the "generalized spherical harmonics". This involves placing an array of dots above a letter. The array will have two columns, and the ...
9
votes
1answer
178 views

Correct the size of < > in math mode?

I am using \left< and \right> to indicate the average in an equation. Unfortunately it looks quite strange in the following example, as the automatic size estimation is different for both sides ...
5
votes
2answers
311 views

Converting all numbers in document to set number of decimal places

I have a table which I need to automatically format all numbers to two decimal places. Is this possible? Or do I need to format the entire document? EDIT: I have applied the code suggested in an ...
5
votes
2answers
172 views

Break after arrow

The length of formula in attached code is getting too long, I would wish to break it short. I try to insert a break after the \rightsquigarrow by failed. How should I insert a break? ...
1
vote
0answers
50 views

How to typeset a math function from and to a domain [duplicate]

Possible Duplicate: Using \colon or : in formulas? Currently I use f\colon A \to B to define a function map. I do not know whether this is better than f:A \to B What's the best way? ...
0
votes
0answers
48 views

Problem with the subscript of the summation sign written in the text [duplicate]

Possible Duplicate: How to stack limits for maths operators? The following is the text having summation sign $\sum_{a,b}$ replacing $\sum_{a=1}^n\sum_{a=1,~b\neq a}^{n}$ that is within ...
2
votes
1answer
408 views

Bringing the (square) brackets to the same height

Consider the .tex extract from below: \begin{equation*} A=U\Lambda U^T=\left[\begin{array}{ccc} & & \\ u_1 & \cdots & u_n \\ & & ...
9
votes
5answers
1k views

How do I get function argument parenthesis to position correctly?

I'm having trouble with the appearance of parentheses representing function arguments. They appear to far away from the function name. For example the code ...
15
votes
2answers
10k views

Math inside tables and formatting

I'm trying to make a little summary of mathematic analysis, useful for my university, in LaTeX. I'm stuck in the problem of creating nice table, with alternate colouring containing equations with ...
3
votes
0answers
118 views

sansmath and boldmath--mutually exclusive? [duplicate]

Possible Duplicate: Make mathfont respect the surrounding family This question is similar to the Bold, italic math (\bm) and sansmath question, but with a few more requirements. I am ...