Search found 219 matches

by mas
Sun Jun 02, 2019 3:14 am
Forum: New Members
Topic: template book
Replies: 1
Views: 166

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: 168

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 158 times
by mas
Wed May 22, 2019 3:21 pm
Forum: LyX
Topic: move symbol to the left Topic is solved
Replies: 9
Views: 406

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: 406

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: 809

how to avoid first line indented?

If you want to avoid the first line indent throughout the document, set it in the preamble as
  1. \setlength{\parindent}{0pt}


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

  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: 692

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: 426

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 > ...
by mas
Sat Nov 03, 2018 2:57 am
Forum: TeXworks
Topic: how to make more space between table caption and table?
Replies: 3
Views: 1975

how to make more space between table caption and table?

[code The table formatting is perfect expect but too narrowed between caption and table. How to adjust? You can add the required space by using the vspace . \begin{table} \centering \caption{First Generation in UW-Madison} \vspace*{5mm} \scalebox{0.7}{ \begin{tabular}{l*{1}{cc}} \hline\hline &\...
by mas
Thu Nov 01, 2018 3:40 am
Forum: TeX Live and MacTeX
Topic: Problem Installing TeX Live 2018
Replies: 9
Views: 1736

Problem Installing TeX Live 2018

Open a terminal and type this :
  1. dpkg -l | awk '{print $2}' | grep texlive

See if any texlive packages are installed. If the output does not return anything, then TL2017 is not installed.
by mas
Wed Oct 31, 2018 2:52 pm
Forum: TeX Live and MacTeX
Topic: Problem Installing TeX Live 2018
Replies: 9
Views: 1736

Problem Installing TeX Live 2018

Removing TL2017 that was installed via your system's package manager will not remove TL2018 installed independently. Go ahead and remove the packages using the software manager / package manager.

I suggest you first go through Mint intro docs to familiarise yourself with the system.

Go to advanced search