Search found 222 matches

by mas
Fri Dec 20, 2019 4:16 am
Forum: Texmaker and TeXstudio
Topic: TeXmaker. Regular expression. Question.
Replies: 7
Views: 458

TeXmaker. Regular expression. Question.

Thanks :-)

I tried texdoc l3regex and it came up empty. No documentation seems to be bundled with TeXLive. CTAN page also was not helpful (for me). Where can I find info about how to use this package?
by mas
Thu Dec 19, 2019 4:06 am
Forum: Texmaker and TeXstudio
Topic: TeXmaker. Regular expression. Question.
Replies: 7
Views: 458

TeXmaker. Regular expression. Question.

Stefan Kottwitz wrote:But I use regular expressions often. Nowadays LaTeX supports it.

Hi Stefan,

Can you elaborate what you mean by that? I am under the impression that regex is a function provided by editors/programs/etc. I do not understand "LaTeX supports it".
by mas
Tue Sep 24, 2019 4:47 am
Forum: Graphics, Figures & Tables
Topic: How to make my table prettier?
Replies: 2
Views: 767

How to make my table prettier?

The 'c' column specifier will not wrap long lines of text. You have to break it manually and put the extra text on the next row. Alternately, you can use the 'p' column specifier and get better results. Since your question is bout getting a 'prettier table, as is commonly suggested, avoid using both...
by mas
Sun Jun 02, 2019 3:14 am
Forum: New Members
Topic: template book
Replies: 1
Views: 1130

template book

Take a look at the package `listings' package. If you want to go fancy, then use `tcolorbox'. \documentclass{article} \usepackage{listings} \begin{document} \noindent This is a piece of octave code: \lstset{language=octave} \begin{lstlisting} octave:2> a * 10.5 ans = 105 octave:3> (a * 34.5)...
by mas
Sat May 25, 2019 3:30 am
Forum: Text Formatting
Topic: Latex Beamer error
Replies: 1
Views: 376

Latex Beamer error

Please use the code tags to enclose your code.

It compiles, and $D$ comes out as expected. Are you getting any error messages?

x.png
x.png (35.54 KiB) Viewed 366 times
by mas
Wed May 22, 2019 3:21 pm
Forum: LyX
Topic: move symbol to the left Topic is solved
Replies: 9
Views: 1508

move symbol to the left Topic is solved

What do the \[ \] do? And what about the \pqty ? How do I write the fat symbols for my vectors? The `\[' and '\]' is the shorthand for the environment [env]equation*[/env]. The pqty is for typesetting quantities within parentheses. As pointed out to you by Johannes, you should *really* read up basi...
by mas
Wed May 22, 2019 3:51 am
Forum: LyX
Topic: move symbol to the left Topic is solved
Replies: 9
Views: 1508

move symbol to the left Topic is solved

This is not a direct answer about the LyX issue. Have you tried using negative space before 'dt' to push it closer? \documentclass{article} % \usepackage{mathtools} \usepackage[arrowdel]{physics} \begin{document} \[ \pqty{\pdv{g}{t}}_{\!\!\text{scatter}} \!\!\! \dd{t} \] \end{document} x.png
by mas
Sun Jan 27, 2019 3:57 am
Forum: TeXworks
Topic: how to avoid first line indented?
Replies: 4
Views: 1527

how to avoid first line indented?

If you want to avoid the first line indent throughout the document, set it in the preamble as
Code: [Select all] [Expand/Collapse] [Download] ({untitled.tex})
  1. \setlength{\parindent}{0pt}


If you want it for a specific line/para, use

Code: [Select all] [Expand/Collapse] [Download] ({untitled.tex})
  1. \noindent


A suggestion: Avoid using \\ to end the paragraphs in your text.
by mas
Mon Nov 19, 2018 1:25 am
Forum: Graphics, Figures & Tables
Topic: Problem with rotating an image. Topic is solved
Replies: 2
Views: 1482

Problem with rotating an image. Topic is solved

Please give the complete code so that compiling will be easier. The image should also be included/attached. You can use the lscape package to get the desired result. \documentclass{article} % \usepackage{graphicx} \usepackage{lscape} \begin{document} \begin{landscape} \begin{figure}[h] \centering \i...
by mas
Mon Nov 05, 2018 4:00 am
Forum: Math & Science
Topic: adding tabular in equation/math enviroment
Replies: 2
Views: 644

adding tabular in equation/math enviroment

Just a small change to Stefan's answer. I suggest the use of cases for typesetting the equation. Here is the code: \documentclass{article} \usepackage{amsmath} \DeclareMathOperator\app{app} \begin{document} \begin{equation} F = \begin{cases} F_{\app} \, \mu_{k} \sin(v) & \text{ if } v > ...

Go to advanced search